heihachi88
5/16/2015 - 3:09 PM

Nginx bugs

Nginx bugs

service nginx stop
killall -15 nginx
killall -9 nginx
service nginx start 

# list nginx processes
ps fax | grep nginx

# number of processes = number of workers + 1 master process like that:

 8754 ?        Ss     0:00 nginx: master process /usr/sbin/nginx -g daemon on; master_process on;
 8755 ?        S      0:00  \_ nginx: worker process                           
 8756 ?        S      0:00  \_ nginx: worker process                           
 8757 ?        S      0:00  \_ nginx: worker process                           
 8759 ?        S      0:00  \_ nginx: worker process                           
 8760 ?        S      0:00  \_ nginx: worker process                           
 8761 ?        S      0:00  \_ nginx: worker process                           
 8762 ?        S      0:00  \_ nginx: worker process                           
 8763 ?        S      0:00  \_ nginx: worker process