Apache - CentOS 7 - ошибка (24)Too many open files: AH02179: apr socket accept: (client socket)

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2023
Перейти к:навигация, поиск
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Доступная цена

Apache - CentOS 7 - ошибка (24)Too many open files: AH02179: apr socket accept: (client socket)

Не запускается Apache на CentOS 7 с ошибкой:

(24)Too many open files: AH02179: apr_socket_accept: (client socket)

Вся проблема лимитах открытых файлах для даемона httpd:

# vi /lib/systemd/system/httpd.service
[Service]
.....
LimitNOFILE=100000

И вносим изменения:

# systemctl daemon-reload
# systemctl restart httpd