Hello. I am trying to determine the cause of the increasing memory usage that I see on uWSGI workers running a particular application, so I need to signal a specific worker to run a function that uses objgraph to print a reference graph.
I have looked at uWSGI signals and timers, but according to the documentation I cannot specify a certain worker to run the handler code, a random worker will be chosen by the master process. Posix signals USR1 and USR2 are also taken by uWSGI to print stats. Using a Django view to do it also does not work because I can't force a certain worker to take that request. What would be the best way to accomplish this task? Is there a signal that I can register that is called when the worker is about to be recycled due to reload-on-rss, for example? Thanks, André _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
