Падает apache

SF
На сайте с 12.11.2011
Offline
103
1432

Приветствую, заметил что частенько стал падать апач, раз в сутки и началось все это дело неделю назад. Зашел в error.logs, там вот что:

[Sun Oct 02 06:25:04 2016] [notice] Apache/2.2.22 (Debian) PHP/5.4.45-0+deb7u4 configured -- resuming normal operations
[Sun Oct 02 14:43:17 2016] [error] server reached MaxClients setting, consider raising the MaxClients setting
[Sun Oct 02 17:31:26 2016] [notice] caught SIGTERM, shutting down
[Sun Oct 02 17:31:27 2016] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Sun Oct 02 17:31:27 2016] [notice] Apache/2.2.22 (Debian) PHP/5.4.45-0+deb7u4 configured -- resuming normal operations
[Sun Oct 02 17:35:42 2016] [notice] Graceful restart requested, doing restart
[Sun Oct 02 17:35:42 2016] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Sun Oct 02 17:35:42 2016] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Sun Oct 02 17:35:42 2016] [notice] Apache/2.2.22 (Debian) PHP/5.4.45-0+deb7u5 configured -- resuming normal operations
[Sun Oct 02 17:35:56 2016] [notice] Graceful restart requested, doing restart
[Sun Oct 02 17:35:56 2016] [notice] Apache/2.2.22 (Debian) PHP/5.4.45-0+deb7u5 configured -- resuming normal operations
[Mon Oct 03 16:31:50 2016] [error] server reached MaxClients setting, consider raising the MaxClients setting
[Tue Oct 04 07:50:39 2016] [notice] caught SIGTERM, shutting down
[Tue Oct 04 07:50:40 2016] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Tue Oct 04 07:50:40 2016] [notice] Apache/2.2.22 (Debian) PHP/5.4.45-0+deb7u5 configured -- resuming normal operations

Куда копать?

kxk
На сайте с 30.01.2005
Offline
990
kxk
#1

SniFFeRok, Увеличить MaxClients, вам чёрным по белому это написано

Ваш DEVOPS
ДП
На сайте с 23.11.2009
Offline
203
#2
[Sun Oct 02 14:43:17 2016] [error] server reached MaxClients setting, consider raising the MaxClients setting

вот причина и совет сразу, kxk, правильно написал.

S
На сайте с 30.09.2016
Offline
469
#3
kxk:
Увеличить MaxClients

Или уменьшить. Или nginx поставить. В общем, что-то делать надо:

/ru/forum/634388

Отпилю лишнее, прикручу нужное, выправлю кривое. Вытравлю вредителей.
Aisamiery
На сайте с 12.04.2015
Offline
319
#4

судя по всему у вас ISP и php как cgi? Еще и на дебиан

попробуйте обновить апач, бага старая


apt-get update
apt-get upgrade
Разработка проектов на Symfony, Laravel, 1C-Bitrix, UMI.CMS, OctoberCMS

Авторизуйтесь или зарегистрируйтесь, чтобы оставить комментарий