Welcome! Log In Create A New Profile

Advanced

Re: Worker processes not shutting down

September 19, 2014 03:50PM
Hi BR,

I don't known how to reproduce, not yet :-)

I couldn't identify which worker was responding too, but I can see with strace warnings in the old wolker about EAGAIN (Resource temporarily unavailable). I can see that because old workers still running:

USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
nginx 6009 0.0 0.2 71020 18532 ? S Sep18 0:37 nginx: worker process is shutting down
nginx 6010 0.0 0.2 71028 18496 ? S Sep18 0:12 nginx: worker process is shutting down
nginx 6289 0.2 0.3 75672 23188 ? S 07:54 0:58 nginx: worker process is shutting down
nginx 6290 0.0 0.2 71932 19248 ? S 07:54 0:15 nginx: worker process is shutting down
nginx 9182 0.0 0.2 70872 18380 ? S 10:20 0:02 nginx: worker process is shutting down
nginx 9295 0.0 0.2 70952 18380 ? S 10:26 0:02 nginx: worker process is shutting down
nginx 9297 0.0 0.2 70368 17856 ? S 10:26 0:02 nginx: worker process is shutting down
nginx 9302 0.0 0.2 70804 18296 ? S 10:26 0:01 nginx: worker process is shutting down
nginx 10132 0.2 0.2 74776 22280 ? S 10:53 0:47 nginx: worker process is shutting down
nginx 10133 0.0 0.2 71484 18972 ? S 10:53 0:09 nginx: worker process is shutting down
nginx 13690 0.2 0.2 72876 20296 ? S 14:22 0:10 nginx: worker process
nginx 13691 0.1 0.2 71492 19088 ? S 14:22 0:07 nginx: worker process
nginx 13692 0.0 0.0 57292 3180 ? S 14:22 0:00 nginx: cache manager process
root 29863 0.0 0.0 57292 4048 ? Ss Sep11 0:00 nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx.conf
nginx 30956 0.0 0.2 72924 20336 ? S Sep18 0:23 nginx: worker process is shutting down
[/code]

Looking for our user's usage, this workers will stay online for more few hours :)

The difference between old and new configuration is just a "down" flag in one of our servers from our websockets pool (upstream). You can see a simplified version of config on: http://pastebin.com/02GQQ22r

Really thanks for your attention.

Igor
Subject Author Posted

Worker processes not shutting down

runesoerensen January 24, 2012 03:42PM

Re: Worker processes not shutting down

runesoerensen January 24, 2012 04:17PM

Re: Worker processes not shutting down

Maxim Dounin January 25, 2012 08:48AM

Re: Worker processes not shutting down

runesoerensen October 24, 2012 01:02AM

Re: Worker processes not shutting down

agentzh October 24, 2012 06:14PM

Re: Worker processes not shutting down

n1xman February 12, 2013 02:01AM

Re: Worker processes not shutting down

igorhmm September 19, 2014 10:13AM

Re: Worker processes not shutting down

B.R. September 19, 2014 10:58AM

Re: Worker processes not shutting down

igorhmm September 19, 2014 01:27PM

Re: Worker processes not shutting down

B.R. September 19, 2014 01:48PM

Re: Worker processes not shutting down

igorhmm September 19, 2014 03:50PM

Re: Worker processes not shutting down

B.R. September 19, 2014 04:32PM

Re: Worker processes not shutting down

oscaretu . September 20, 2014 04:18AM

Re: Worker processes not shutting down

dewanggaba September 20, 2014 04:20AM

Re: Worker processes not shutting down

igorhmm September 23, 2014 07:26AM

Re: Worker processes not shutting down

Yichun Zhang (agentzh) September 23, 2014 06:08PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 76
Record Number of Users: 8 on December 15, 2016
Record Number of Guests: 386 on August 02, 2016
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready