nginx reload

Александр Самарин samarinaleksandr at gmail.com
Wed Jan 9 16:31:54 UTC 2013


Добрый день! Подскажите, в чем может быть проблема. Есть сервер на centos
6.3. Установлен nginx version: nginx/1.2.5. <http://1.2.0.5/>

Проблема появляется после <<service nginx reload>>. Сразу после релоада,
начинает расти нагрузка на сервер.Коннекты не обрываются



До релоада

55.0  74180 -      nginx: worker process

53.5  74712 -      nginx: worker process

54.4  75500 -      nginx: worker process

53.9  74312 -      nginx: worker process

54.3  74972 -      nginx: worker process

54.3  74180 -      nginx: worker process

53.4  74048 -      nginx: worker process

53.8  75104 ep_pol nginx: worker process



после

55.3  74576 -      nginx: worker process is shutting down

54.7  75504 -      nginx: worker process is shutting down

55.1  75500 -      nginx: worker process is shutting down

55.1  74840 -      nginx: worker process is shutting down

55.4  75632 -      nginx: worker process is shutting down

55.2  74708 -      nginx: worker process is shutting down

54.9  74576 -      nginx: worker process is shutting down

55.2  75896 -      nginx: worker process is shutting down

17.9  57524 -      nginx: worker process is shutting down

19.6  57524 ep_pol nginx: worker process is shutting down

20.0  57524 ep_pol nginx: worker process is shutting down

17.6  57524 -      nginx: worker process is shutting down

18.7  57524 -      nginx: worker process is shutting down

14.6  57524 ep_pol nginx: worker process is shutting down

18.1  57524 -      nginx: worker process is shutting down

19.0  57524 -      nginx: worker process is shutting down

18.2  58200 -      nginx: worker process

17.5  58332 ep_pol nginx: worker process

17.0  58332 -      nginx: worker process

17.6  58464 -      nginx: worker process

18.9  58332 -      nginx: worker process

18.8  58332 -      nginx: worker process

17.4  58728 -      nginx: worker process

17.7  58200 -      nginx: worker process


И нагрузка продолжает расти

top, сразу после релоада

1 user,  load average: 40.41, 14.03, 11.82

Tasks: 192 total,  17 running, 175 sleeping,   0 stopped,   0 zombie

Cpu(s): 38.9%us, 30.7%sy,  0.0%ni,  2.4%id,  0.0%wa,  0.0%hi, 27.9%si,
0.0%st

Mem:   1922060k total,  1327168k used,   594892k free,   112960k buffers

Swap:  2097144k total,        0k used,  2097144k free,   327068k cached



  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND

3962 nginx     20   0 75500  31m  896 R 33.8  1.7 185:16.38 nginx

3963 nginx     20   0 74840  31m  896 R 33.5  1.7 185:13.82 nginx

3964 nginx     20   0 75632  31m  896 S 33.5  1.7 186:09.56 nginx

3960 nginx     20   0 74576  30m  896 R 32.8  1.6 185:41.08 nginx

3966 nginx     20   0 74708  30m  896 R 32.8  1.6 185:36.28 nginx

3961 nginx     20   0 75504  31m  896 R 32.5  1.7 183:44.90 nginx

3968 nginx     20   0 75896  32m  896 R 32.5  1.7 185:20.11 nginx

3967 nginx     20   0 74576  30m  896 S 31.2  1.6 184:28.75 nginx

5173 nginx     20   0 60576  17m  880 R 26.6  0.9   2:52.41 nginx

5174 nginx     20   0 60972  17m  880 R 24.9  0.9   2:48.93 nginx

5172 nginx     20   0 60712  17m  880 R 24.6  0.9   2:55.61 nginx



Active connections ~ 10 тысяч

 [image: Встроенное изображение 2]



С уважением,

Александр Самарин!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-ru/attachments/20130109/8ec786b3/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 8011 bytes
Desc: not available
URL: <http://mailman.nginx.org/pipermail/nginx-ru/attachments/20130109/8ec786b3/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: load_average.png
Type: image/png
Size: 7739 bytes
Desc: not available
URL: <http://mailman.nginx.org/pipermail/nginx-ru/attachments/20130109/8ec786b3/attachment-0003.png>


Подробная информация о списке рассылки nginx-ru