Re: Не работает reload

zxek nginx-forum на forum.nginx.org
Пт Ноя 2 07:00:32 UTC 2018


Добрый день.

Колво активных сайтов выросло и точно такая же ситуация.
при reload в журнал пишется
2018/11/02 11:55:11 [emerg] 1615#1615: open()
"/var/www/httpd-logs/*.ru.access.log" failed (24: Too many open files)

в настройках nginx
===
user www-data;
worker_processes  16;

worker_rlimit_nofile  200000;

error_log  /var/log/nginx/error.log warn;
pid        /var/run/nginx.pid;

events {
    #-worker_connections  10000;
    worker_connections  5120;
    multi_accept on;
    use epoll;
}
===

# ulimit -a
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 64232
max locked memory       (kbytes, -l) 64
max memory size         (kbytes, -m) unlimited
open files                      (-n) 300000
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 64232
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited

кто может подсказать, в какую сторону смотреть?

Posted at Nginx Forum: https://forum.nginx.org/read.php?21,179057,281770#msg-281770



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