-
Notifications
You must be signed in to change notification settings - Fork 687
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
when master flag is set to false uwsgi is does not kill all workers #851
Comments
@raigad which distribution? the init scripts are usually distro specific, what is the stop function doing? |
I am using CentOS release 6.5 (Final) and uwsgi-2.0.8 |
here is what stop() doing. I think if procesess dont have common master as parent then only one process/worker is killed and rest of them remain intact. |
This isn't really a bug in uWSGI... probably the first process is writing its own pid to pidfile (worker 1 assumes some of the masters duties when master is unavailable). What do you expect to happen exactly? For such a setup, using Pidfiles are well known to be unreliable for process management; use |
Hi ,
When master flag is set to false and processes set to more than 1 then when you try to stop the uwsgi server using command
above command does not kill all the workers/processes. It only kills one worker/proceses and rest of the processes are running so uwsgi is serving requests. You can check the running processes using command
and also when I run following command it says that uwsgi is stopped but actually that is not the case
thanks
Regards
Rohit
The text was updated successfully, but these errors were encountered: