Welcome! Log In Create A New Profile

Advanced

Re: "worker process is shutting down" и ошибки open files

September 14, 2017 07:23AM
Да, так и сделали. Про openfiles ошибки ушли, а вот висящие процессы в статусе завершения - остались.
Шаги для повторения - поставить nginx, дать нагрузку (5к rps например), сделать reload. Процессы не отпустит, но новые поднимутся.
Если убрать нагрузку, то они завершатся через какие-то время корректно.
Проверяю на 1.12.1 с опцией worker_shutdown_timeout 1m
Пока подозреваю keepalive...

Из его настроек только
keepalive_timeout 75 75;
keepalive_requests 1000;


Vasiliy P. Melnik Wrote:
-------------------------------------------------------
> Поставьте больше, например
>
> worker_rlimit_nofile 102400;
> хуже от этого точно не будет
>
> 2017-09-13 21:06 GMT+03:00 ingtar <nginx-forum@forum.nginx.org>:
>
> > Да,
> >
> > proxy_cache_path /lib/init/rw/proxy_cache levels=1:2
> > keys_zone=static:10m max_size=100m;
> >
> > Завтра попробую посмотреть дебаг логи
> >
> > Vasiliy P. Melnik Wrote:
> > -------------------------------------------------------
> > > кеш используется ?
> > >
> >
> > Posted at Nginx Forum: https://forum.nginx.org/read.
> > php?21,276356,276358#msg-276358
> >
> > _______________________________________________
> > nginx-ru mailing list
> > nginx-ru@nginx.org
> > http://mailman.nginx.org/mailman/listinfo/nginx-ru
> _______________________________________________
> nginx-ru mailing list
> nginx-ru@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

"worker process is shutting down" и ошибки open files

ingtar September 13, 2017 12:07PM

Re: "worker process is shutting down" и ошибки open files

Vasiliy P. Melnik September 13, 2017 12:26PM

Re: "worker process is shutting down" и ошибки open files

ingtar September 13, 2017 02:06PM

Re: "worker process is shutting down" и ошибки open files

Vasiliy P. Melnik September 14, 2017 04:14AM

Re: "worker process is shutting down" и ошибки open files

ingtar September 14, 2017 07:23AM

Re: "worker process is shutting down" и ошибки open files

Vasiliy P. Melnik September 14, 2017 07:48AM

Re: "worker process is shutting down" и ошибки open files

ingtar September 14, 2017 08:05AM

Re: "worker process is shutting down" и ошибки open files

Vasiliy P. Melnik September 14, 2017 08:24AM

Re: "worker process is shutting down" и ошибки open files

Maxim Dounin September 13, 2017 03:28PM

Re: "worker process is shutting down" и ошибки open files

ingtar September 13, 2017 03:38PM

Re: "worker process is shutting down" и ошибки open files

ingtar September 13, 2017 04:00PM

Re: "worker process is shutting down" и ошибки open files

Maxim Dounin September 13, 2017 04:02PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 94
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready