Over 340 доменов
Over 340 доменов
Такое дело, добавляю в панель более 340 доменов, после чего перестает запускаться apache и nginx.
В логах вижу:
В логах апача:
В логах nginx:
Что сделал: для apache прописал в секцию start : ulimit -n 128000
В nginx.conf: worker_rlimit_nofile 1000000;
После этого apache завелся, но nginx не стал, и в логах выводил:
Подскажите, как это поправить)
В логах вижу:
Code: Select all
[Sun May 29 02:41:21 2016] [error] (24)Too many open files: could not open transfer log file /var/log/httpd/domains/site.ru.bytes
Code: Select all
Unable to open logs
Code: Select all
2016/05/29 02:34:50 [alert] 25394#0: socketpair() failed while spawning "worker process" (24: Too many open files)
В nginx.conf: worker_rlimit_nofile 1000000;
После этого apache завелся, но nginx не стал, и в логах выводил:
Code: Select all
2016/05/29 04:52:14 [emerg] 3347#0: open() "/var/log/httpd/domains/site.ru.bytes" failed (24: Too many open files)
Re: Over 340 доменов
попробуй посмотреть решение здесьawerdds wrote:Code: Select all
[Sun May 29 02:41:21 2016] [error] (24)Too many open files: could not open transfer log file /var/log/httpd/domains/site.ru.bytes
http://linuxshare.ru/knowledge/apache/q001.html
http://serverfault.com/questions/20183/ ... -in-system
http://kb.bodhost.com/apache-error-too- ... er-solved/
Re: Over 340 доменов
Решения ошибки для Debian 8 / CentOS 7
https://skurudo.ru/all/nginx-too-many-open-files/
https://skurudo.ru/all/nginx-too-many-open-files/
Re: Over 340 доменов
You saved my day.
Works perfectly on Debian 10.9
now i was able to restore more users without 'Too many open files - nginx" error.
Works perfectly on Debian 10.9
now i was able to restore more users without 'Too many open files - nginx" error.
skurudo wrote: ↑Thu Jun 09, 2016 8:45 amРешения ошибки для Debian 8 / CentOS 7
https://skurudo.ru/all/nginx-too-many-open-files/