Тема: Apache 2.2.26 перестает работать

Проблема. Работает, работает, потом бац и не работает. Что уже только не обновляли.
Поставили последний из последних уже. И всеравно падает.

Из логов которые сваливаются по дефолту в /var/log/httpd-error.log

[Mon Nov 25 21:53:09 2013] [error] [client 217.69.135.251] request failed: error reading the headers
[Mon Nov 25 21:55:42 2013] [error] [client 217.69.135.252] request failed: error reading the headers
[Tue Nov 26 05:30:02 2013] [error] [client 217.69.134.79] request failed: error reading the headers
[Tue Nov 26 06:47:03 2013] [error] [client 67.19.79.218] File does not exist: /usr/local/www/apache22/data/robots.txt
[Tue Nov 26 07:12:41 2013] [error] [client 189.51.133.144] File does not exist: /usr/local/www/apache22/data/manager
[Tue Nov 26 08:52:13 2013] [error] server reached MaxClients setting, consider raising the MaxClients setting
[Tue Nov 26 09:22:07 2013] [notice] caught SIGTERM, shutting down
[Tue Nov 26 12:22:08 2013] [notice] Digest: generating secret for digest authentication ...
[Tue Nov 26 12:22:08 2013] [notice] Digest: done
[Tue Nov 26 12:22:08 2013] [notice] Apache/2.2.25 (FreeBSD) PHP/5.4.21 configured -- resuming normal operations
[Tue Nov 26 12:22:26 2013] [notice] caught SIGTERM, shutting down
[Tue Nov 26 12:22:28 2013] [notice] Digest: generating secret for digest authentication ...
[Tue Nov 26 12:22:28 2013] [notice] Digest: done
[Tue Nov 26 12:22:28 2013] [notice] Apache/2.2.25 (FreeBSD) PHP/5.4.21 configured -- resuming normal operations
[Tue Nov 26 14:49:01 2013] [error] [client 173.193.38.234] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /
[Tue Nov 26 15:00:03 2013] [notice] caught SIGTERM, shutting down
[Tue Nov 26 15:00:05 2013] [notice] Digest: generating secret for digest authentication ...
[Tue Nov 26 15:00:05 2013] [notice] Digest: done
[Tue Nov 26 15:00:05 2013] [notice] Apache/2.2.26 (FreeBSD) PHP/5.4.21 configured -- resuming normal operations
[Tue Nov 26 15:11:31 2013] [notice] caught SIGTERM, shutting down
[Tue Nov 26 15:11:33 2013] [notice] Digest: generating secret for digest authentication ...
[Tue Nov 26 15:11:33 2013] [notice] Digest: done
[Tue Nov 26 15:11:33 2013] [notice] Apache/2.2.26 (FreeBSD) PHP/5.4.21 configured -- resuming normal operations
[Tue Nov 26 15:45:40 2013] [error] [client 66.249.78.75] File does not exist: /usr/local/www/apache22/data/robots.txt
[Tue Nov 26 15:55:26 2013] [error] [client 64.246.161.30] File does not exist: /usr/local/www/apache22/data/robots.txt
[Tue Nov 26 17:58:58 2013] [error] [client 207.253.119.107] Invalid method in request \x80w\x01\x03\x01
[Tue Nov 26 17:58:58 2013] [error] [client 207.253.119.107] File does not exist: /usr/local/www/apache22/data/HNAP1, referer: http://85.199.75.82/
[Tue Nov 26 19:02:18 2013] [error] [client 97.107.97.77] Invalid method in request \x80w\x01\x03\x01
[Tue Nov 26 19:02:18 2013] [error] [client 97.107.97.77] File does not exist: /usr/local/www/apache22/data/HNAP1, referer: http://85.199.75.82/
[Tue Nov 26 19:04:27 2013] [error] [client 217.69.135.250] request failed: error reading the headers
[Tue Nov 26 19:59:04 2013] [error] server reached MaxClients setting, consider raising the MaxClients setting
[Tue Nov 26 21:36:03 2013] [warn] child process 47553 still did not exit, sending a SIGTERM
[Tue Nov 26 21:36:04 2013] [notice] caught SIGTERM, shutting down
[Tue Nov 26 21:36:05 2013] [notice] Digest: generating secret for digest authentication ...
[Tue Nov 26 21:36:05 2013] [notice] Digest: done
[Tue Nov 26 21:36:05 2013] [notice] Apache/2.2.26 (FreeBSD) PHP/5.4.21 configured -- resuming normal operations

Уже не знаю что и делать...
Помогите!

2

Re: Apache 2.2.26 перестает работать

[Tue Nov 26 19:59:04 2013] [error] server reached MaxClients setting, consider raising the MaxClients setting

Тут как бы не все ладно, надо увеличить значение, обычно ставится 128-512, по потребностям и возможностям...

Re: Apache 2.2.26 перестает работать

Падает с такими настройками

# prefork MPM
# StartServers: number of server processes to start
# MinSpareServers: minimum number of server processes which are kept spare
# MaxSpareServers: maximum number of server processes which are kept spare
# MaxClients: maximum number of server processes allowed to start
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule mpm_prefork_module>
    StartServers          10
    MinSpareServers       10
    MaxSpareServers      45
    MaxClients          256
    MaxRequestsPerChild   1000
</IfModule>
# worker MPM
# StartServers: initial number of server processes to start
# MaxClients: maximum number of simultaneous client connections
# MinSpareThreads: minimum number of worker threads which are kept spare
# MaxSpareThreads: maximum number of worker threads which are kept spare
# ThreadsPerChild: constant number of worker threads in each server process
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule mpm_worker_module>
    ServerLimit         45
    StartServers        10
    MinSpareThreads     75
    MaxSpareThreads     250
    ThreadLimit         64
    ThreadsPerChild     25
    MaxClients          450
    MaxRequestsPerChild   1000
</IfModule>
Сначало все было по дефолту - и с этими всеравно вдруг не стого ни ссего слетает...

4

Re: Apache 2.2.26 перестает работать

Такое чувство что работает, mod_proxy! Лучше конфиг виртуалхоста покажите..

5

Re: Apache 2.2.26 перестает работать

что то я не понял, так worker или все таки prefork?