2013-02-21 17:53:34 |
Braden MacDonald |
description |
I'm using uwsgi, uwsgi-core, and uwsgi-plugin-python (all are version 1.0.3+dfsg-1ubuntu0.1 ) on Ubuntu 12.04.2 LTS, and I've found that although the "service uwsgi start" and "service uwsgi stop" commands work fine, if I issue a "service uwsgi reload" command, it will create zombie "uwsgi-core" processes that do not die with "service uwsgi stop" and can only be killed with SIGKILL ("killall -s 9 uwsgi-core").
Steps to reproduce:
apt-get install uwsgi uwsgi-plugin-python
# Set up at least one uwsgi python app
service uwsgi start
service uwsgi reload
service uwsgi stop
Expected result: No uwsgi processes running.
Actual result: several uwsgi-core processes/threads remain running and can only be stopped with SIGKILL.
Other reports: Another user asked about this same problem at http://askubuntu.com/questions/211036/cant-repeatedly-reload-uwsgi . That user suggests that the problem is because "after the first reload the process names change from uwsgi to uwsgi-core, and the reload script looks for 'uwsgi' processes with specific pids." |
I'm using uwsgi, uwsgi-core, and uwsgi-plugin-python (all are version 1.0.3+dfsg-1ubuntu0.1 ) on Ubuntu 12.04.2 LTS, and I've found that although the "service uwsgi start" and "service uwsgi stop" commands work fine, if I issue a "service uwsgi reload" command, it will create zombie "uwsgi-core" processes that do not die with "service uwsgi stop" and can only be killed with SIGKILL ("killall -s 9 uwsgi-core").
Steps to reproduce:
apt-get install uwsgi uwsgi-plugin-python
# Set up at least one uwsgi python app
service uwsgi start
service uwsgi reload
service uwsgi stop
Expected result: No uwsgi processes running.
Actual result: several uwsgi-core processes remain running and can only be stopped with SIGKILL.
Other reports: Another user asked about this same problem at http://askubuntu.com/questions/211036/cant-repeatedly-reload-uwsgi . That user suggests that the problem is because "after the first reload the process names change from uwsgi to uwsgi-core, and the reload script looks for 'uwsgi' processes with specific pids." |
|