unbit / uwsgi

uWSGI application server container
http://projects.unbit.it/uwsgi
Other
3.45k stars 691 forks source link

uwsgi memory leak #445

Closed nicetip closed 10 years ago

nicetip commented 10 years ago

Sometimes, uwsgi parent process leaks memory so much almost 30GB.

And, after restart uwsgi, that process does not be killed.

I'm curious about is there any options for that problem.

Why multiple parent processes remains like this?

root 10127 1 0 Oct14 ? 00:00:00 su - hts -pc /opt/hts/bin/uwsgi --emperor /opt/hts/etc/uwsgi --daemonize /opt/hts/logs/exc/uwsgi.debug --pidfile /opt/hts/var/run/uwsgi.pid --master hts 10128 10127 0 Oct14 ? 00:00:00 -bash -c /opt/hts/bin/uwsgi --emperor /opt/hts/etc/uwsgi --daemonize /opt/hts/logs/exc/uwsgi.debug --pidfile /opt/hts/var/run/uwsgi.pid --master root 14832 1 0 Oct15 ? 00:00:00 su - hts -pc /opt/hts/bin/uwsgi --emperor /opt/hts/etc/uwsgi --daemonize /opt/hts/logs/exc/uwsgi.debug --pidfile /opt/hts/var/run/uwsgi.pid --master hts 14833 14832 0 Oct15 ? 00:00:00 -bash -c /opt/hts/bin/uwsgi --emperor /opt/hts/etc/uwsgi --daemonize /opt/hts/logs/exc/uwsgi.debug --pidfile /opt/hts/var/run/uwsgi.pid --master root 15377 1 0 Oct14 ? 00:00:00 su - hts -pc /opt/hts/bin/uwsgi --emperor /opt/hts/etc/uwsgi --daemonize /opt/hts/logs/exc/uwsgi.debug --pidfile /opt/hts/var/run/uwsgi.pid --master hts 15378 15377 0 Oct14 ? 00:00:00 -bash -c /opt/hts/bin/uwsgi --emperor /opt/hts/etc/uwsgi --daemonize /opt/hts/logs/exc/uwsgi.debug --pidfile /opt/hts/var/run/uwsgi.pid --master hts 20542 1 0 09:19 ? 00:00:00 /opt/hts/bin/uwsgi --emperor /opt/hts/etc/uwsgi --daemonize /opt/hts/logs/exc/uwsgi.debug --pidfile /opt/hts/var/run/uwsgi.pid --master hts 20543 20542 0 09:19 ? 00:00:00 /opt/hts/bin/uwsgi --emperor /opt/hts/etc/uwsgi --daemonize /opt/hts/logs/exc/uwsgi.debug --pidfile /opt/hts/var/run/uwsgi.pid --master hts 20544 20543 0 09:19 ? 00:00:00 /opt/hts/bin/uwsgi --ini logsee.ini hts 20545 20544 0 09:19 ? 00:00:05 /opt/hts/bin/uwsgi --ini logsee.ini hts 20546 20544 0 09:19 ? 00:00:04 /opt/hts/bin/uwsgi --ini logsee.ini hts 20547 20544 0 09:19 ? 00:00:04 /opt/hts/bin/uwsgi --ini logsee.ini hts 20548 20544 0 09:19 ? 00:00:04 /opt/hts/bin/uwsgi --ini logsee.ini hts 20549 20544 0 09:19 ? 00:00:04 /opt/hts/bin/uwsgi --ini logsee.ini

unbit commented 10 years ago

for the parent you mean the "master" or the "emperor" ? How many vassals the Emperor is hosting ? Which uWSGI version ?

unbit commented 10 years ago

no infos in more than 6 months, closing it. Feel free to reopen if you have more data