[uWSGI] restart uWSGI processes

Yann Malet yann.malet at gmail.com
Mon Jan 4 20:28:53 CET 2010


How do you tell which one is the master process ?

$ ps -ef | grep uwsgi
yml       4178  3766  0 15:27 pts/0    00:00:00 grep --color=auto uwsgi
yml      12565     1  0 Jan02 ?        00:00:01 /usr/local/bin/uwsgi -s
127.0.0.1 56642 -t 10 -M -p 1 -C -w prj.esi_uwsgi -H
/opt/www/django-esi-exploration/ve
yml      12566 12565  0 Jan02 ?        00:00:45 /usr/local/bin/uwsgi -s
127.0.0.1 56642 -t 10 -M -p 1 -C -w prj.esi_uwsgi -H
/opt/www/django-esi-exploration/ve
yml      13235     1  0 Jan02 ?        00:00:01 /usr/local/bin/uwsgi -l 120
-z 60 -p 10 -M -s 127.0.0.1 46075 -w example.example_uwsgi -H
/opt/www/django-cms_tutorial/ve/
yml      13236 13235  0 Jan02 ?        00:00:00 /usr/local/bin/uwsgi -l 120
-z 60 -p 10 -M -s 127.0.0.1 46075 -w example.example_uwsgi -H
/opt/www/django-cms_tutorial/ve/
yml      13237 13235  0 Jan02 ?        00:00:00 /usr/local/bin/uwsgi -l 120
-z 60 -p 10 -M -s 127.0.0.1 46075 -w example.example_uwsgi -H
/opt/www/django-cms_tutorial/ve/
yml      13238 13235  0 Jan02 ?        00:00:00 /usr/local/bin/uwsgi -l 120
-z 60 -p 10 -M -s 127.0.0.1 46075 -w example.example_uwsgi -H
/opt/www/django-cms_tutorial/ve/
yml      13239 13235  0 Jan02 ?        00:00:00 /usr/local/bin/uwsgi -l 120
-z 60 -p 10 -M -s 127.0.0.1 46075 -w example.example_uwsgi -H
/opt/www/django-cms_tutorial/ve/
yml      13240 13235  0 Jan02 ?        00:00:00 /usr/local/bin/uwsgi -l 120
-z 60 -p 10 -M -s 127.0.0.1 46075 -w example.example_uwsgi -H
/opt/www/django-cms_tutorial/ve/
yml      13241 13235  0 Jan02 ?        00:00:00 /usr/local/bin/uwsgi -l 120
-z 60 -p 10 -M -s 127.0.0.1 46075 -w example.example_uwsgi -H
/opt/www/django-cms_tutorial/ve/
yml      13242 13235  0 Jan02 ?        00:00:00 /usr/local/bin/uwsgi -l 120
-z 60 -p 10 -M -s 127.0.0.1 46075 -w example.example_uwsgi -H
/opt/www/django-cms_tutorial/ve/
yml      13243 13235  0 Jan02 ?        00:00:00 /usr/local/bin/uwsgi -l 120
-z 60 -p 10 -M -s 127.0.0.1 46075 -w example.example_uwsgi -H
/opt/www/django-cms_tutorial/ve/
yml      13244 13235  0 Jan02 ?        00:00:00 /usr/local/bin/uwsgi -l 120
-z 60 -p 10 -M -s 127.0.0.1 46075 -w example.example_uwsgi -H
/opt/www/django-cms_tutorial/ve/
yml      13245 13235  0 Jan02 ?        00:00:00 /usr/local/bin/uwsgi -l 120
-z 60 -p 10 -M -s 127.0.0.1 46075 -w example.example_uwsgi -H
/opt/www/django-cms_tutorial/ve/


On Mon, Jan 4, 2010 at 3:16 PM, Roberto De Ioris <roberto at unbit.it> wrote:

>
> > Roberto,
> > I have been reading this but it didn't ring a bell in my head.
> > Do you have the command line on top of your head ?
> > Regards
> > --yml
>
>
> kill -TERM <pid_of_master_process>
>
> --
> Roberto De Ioris
> http://unbit.it
>
>
> _______________________________________________
> uWSGI mailing list
> uWSGI at lists.unbit.it
> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.unbit.it/pipermail/uwsgi/attachments/20100104/fb2dbe11/attachment.htm 


More information about the uWSGI mailing list