Hello,

i have a python app that is consuming a lot of resident memory, 4 workers are consuming 600MB of resident memory each and growing so some leaks or very bad fragmentation.

In order to get more clue about what i going on i'd like to try something like 
this:
http://smira.ru/wp-content/uploads/2011/08/heapy.html

So setting the baseline memory on postfork and dump the heap every now and then. Before digging in the source code was wondering if we have some hook before max-requests work reload is called. Do you think this approach makes sense?

thanks

--
Riccardo Magliocchetti
@rmistaken

http://menodizero.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to