Nginx - 24: Too many open files
Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
Версия от 12:07, 19 января 2016; Admin iph (обсуждение | вклад)
# /etc/init.d/nginx start Starting nginx: nginx: [emerg] open() "/var/log/httpd/domains/domain.cf.bytes" failed (24: Too many open files) [FAILED] # ulimit -n 1000000 # sysctl -w fs.file-max=1000000 # vi /etc/sysctl.conf fs.file-max = 1000000 # /etc/init.d/nginx start Starting nginx: [ OK ]
# ulimit -a | grep open open files (-n) 1000000