Openvz - nginx - worker process PID exited on signal 9

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
Перейти к:навигация, поиск

Openvz - nginx - worker process PID exited on signal 9

Отваливается nginx - ошибка вида:

2016/10/07 10:01:52 [alert] 3149#3149: worker process 3427 exited on signal 9
2016/10/07 10:01:52 [alert] 3149#3149: worker process 3428 exited on signal 9
2016/10/07 10:01:52 [notice] 3149#3149: start worker process 3429
2016/10/07 10:01:52 [notice] 3149#3149: start worker process 3430
2016/10/07 10:01:52 [notice] 3149#3149: start cache manager process 3431
2016/10/07 10:01:52 [notice] 3149#3149: signal 29 (SIGIO) received
2016/10/07 10:01:52 [notice] 3149#3149: signal 17 (SIGCHLD) received
2016/10/07 10:01:52 [alert] 3149#3149: cache manager process 3431 exited on signal 9
2016/10/07 10:01:52 [notice] 3149#3149: start cache manager process 3432
2016/10/07 10:01:52 [notice] 3149#3149: signal 29 (SIGIO) received
2016/10/07 10:01:52 [notice] 3149#3149: signal 29 (SIGIO) received
2016/10/07 10:01:52 [notice] 3149#3149: signal 17 (SIGCHLD) received
2016/10/07 10:01:52 [alert] 3149#3149: worker process 3429 exited on signal 9
2016/10/07 10:01:52 [notice] 3149#3149: start worker process 3433


Смотрим dmesg и видим:

 [6917927.071037] Out of memory in UB 71722: OOM killed process 3490 (nginx) score 0 vm:66240kB, rss:1072kB, swap:0kB
[6917927.075103] OOM killer in rage, 2 tasks killed
[6917927.075418] Out of memory in UB 71722: OOM killed process 3494 (nginx) score 0 vm:66240kB, rss:1072kB, swap:0kB
[6917927.077109] OOM killer in rage, 2 tasks killed

Решение - поднять лимиты RAM для контейнера.