Worker processes not shutting down

runesoerensen nginx-forum at nginx.us
Tue Jan 24 20:42:49 UTC 2012


Following an upgrade from nginx 1.0.2 to 1.0.11 I've experienced a
problem with worker processes that are not shutting down. When looking
in the list of running processes the worker processes appears to be
shutting down but never actually exits.

I've been using the ubuntu nginx ppa's for maverick.

As the worker processes doesn't shut down nginx ends up consuming to
much memory and is ultimately unable to spawn new worker processes.

Below is a list of processes showing the problem:

www-data   560  0.5  4.2 376376 321760 ?       S    20:04   0:07 nginx:
worker process is shutting down
www-data   562  0.1  4.2 376376 321720 ?       S    20:04   0:01 nginx:
worker process is shutting down
www-data  1029  0.2  4.2 377712 323092 ?       S    20:10   0:02 nginx:
worker process is shutting down
www-data  1030  0.0  4.2 377712 322992 ?       S    20:10   0:00 nginx:
worker process is shutting down
www-data  1093  0.2  4.2 377972 323300 ?       S    20:11   0:02 nginx:
worker process is shutting down
www-data  1094  0.0  4.2 377972 323260 ?       S    20:11   0:00 nginx:
worker process is shutting down
www-data  1095  0.0  4.2 377972 323300 ?       S    20:11   0:00 nginx:
worker process is shutting down
www-data  1158  0.0  4.2 377972 323272 ?       S    20:12   0:00 nginx:
worker process is shutting down
www-data  1342  0.4  4.2 377972 323300 ?       S    20:14   0:03 nginx:
worker process is shutting down
www-data  1879  0.1  4.2 376928 322220 ?       S    20:21   0:00 nginx:
worker process is shutting down
www-data  1881  0.4  4.2 376928 322260 ?       S    20:21   0:01 nginx:
worker process is shutting down
www-data  2190  0.1  4.2 377972 323052 ?       S    20:25   0:00 nginx:
worker process is shutting down
www-data  2193  2.4  4.2 377972 323348 ?       S    20:25   0:04 nginx:
worker process is shutting down
www-data  2194  0.5  4.2 377972 323272 ?       S    20:25   0:01 nginx:
worker process is shutting down
www-data  2376  0.3  4.1 375884 321060 ?       S    20:28   0:00 nginx:
worker process
www-data  2377  0.5  4.1 375884 320320 ?       S    20:28   0:00 nginx:
worker process
www-data  2378  0.2  4.1 375884 319780 ?       S    20:28   0:00 nginx:
worker process
www-data  2379  4.0  4.1 375884 321192 ?       S    20:28   0:02 nginx:
worker process
ubuntu    2576  0.0  0.0   7964   900 pts/1    R+   20:29   0:00 grep
--color=auto nginx
root      3185  8.2  4.1 373960 318980 ?       Rs   Jan09 1854:37 nginx:
master process nginx
www-data 25687  0.1  4.2 377420 322804 ?       S    18:28   0:12 nginx:
worker process is shutting down
www-data 25688  0.1  4.2 377420 322768 ?       S    18:28   0:10 nginx:
worker process is shutting down
www-data 25689  0.2  4.2 377420 322804 ?       S    18:28   0:17 nginx:
worker process is shutting down
www-data 26682  0.1  4.2 377676 323076 ?       S    18:41   0:10 nginx:
worker process is shutting down
www-data 27287  0.2  4.2 377004 322344 ?       S    18:49   0:15 nginx:
worker process is shutting down
www-data 27289  0.0  4.2 377004 322276 ?       S    18:49   0:04 nginx:
worker process is shutting down
www-data 27290  0.1  4.2 377004 322356 ?       S    18:49   0:10 nginx:
worker process is shutting down
www-data 29293  0.0  4.2 376608 322116 ?       S    19:15   0:04 nginx:
worker process is shutting down
www-data 29619  0.0  4.2 376608 322076 ?       S    19:20   0:02 nginx:
worker process is shutting down
www-data 29620  0.1  4.2 376608 322116 ?       S    19:20   0:04 nginx:
worker process is shutting down
www-data 30116  0.0  4.2 376608 322068 ?       S    19:26   0:02 nginx:
worker process is shutting down
www-data 30497  0.0  4.2 376608 322064 ?       S    19:31   0:03 nginx:
worker process is shutting down
www-data 31235  0.1  4.2 376536 321904 ?       S    19:41   0:05 nginx:
worker process is shutting down
www-data 31817  0.0  4.2 376544 321896 ?       S    19:49   0:01 nginx:
worker process is shutting down
www-data 31938  0.1  4.2 376460 321848 ?       S    19:50   0:03 nginx:
worker process is shutting down
www-data 31939  0.0  4.2 376460 321724 ?       S    19:50   0:01 nginx:
worker process is shutting down
www-data 32368  0.5  4.2 376412 321800 ?       S    19:56   0:10 nginx:
worker process is shutting down

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,221591,221591#msg-221591



More information about the nginx mailing list