Apache não para de iniciar

Apache não para de iniciar

/usr/local/apache/bin/httpd -k start -DSSL ninguém 6906 0,0 0,1 187032 5448 ? S 13:20 0:00 /usr/local/apache/bin/httpd -k start -DSSL ninguém 6907 0,0 0,1 187032 5448 ? S 13:20 0:00 /usr/local/apache/bin/httpd -k start -DSSL ninguém 6908 0,0 0,1 187032 5448 ? S 13:20 0:00 /usr/local/apache/bin/httpd -k start -DSSL ninguém 6909 0,0 0,1 187032 5448 ? S 13:20 0:00 /usr/local/apache/bin/httpd -k start -DSSL ninguém 6910 0,7 0,1 187712 7024 ? S 13:20 0:00 /usr/local/apache/bin/httpd -k start -DSSL ninguém 6911 1,7 0,1 188216 7036 ? S 13:20 0:00 /usr/local/apache/bin/httpd -k start -DSSL ninguém 6912 0,5 0,1 187712 7020 ? S 13:20 0:00 /usr/local/apache/bin/httpd -k start -DSSL ninguém 6913 0,4 0,1 188216 7028 ? S 13:20 0:00 /usr/local/apache/bin/httpd -k start -DSSL ninguém 6914 0,8 0,1 188216 7028 ? S 13:20 0:00 /usr/local/apache/bin/httpd -k start -DSSL ninguém 6915 0,7 0,1 188216 7028 ? S 13:20 0:00 /usr/local/apache/bin/httpd -k start -DSSL ninguém 6916 0,5 0,1 188216 7028 ? S 13:20 0:00 /usr/local/apache/bin/httpd -k start -DSSL ninguém 6917 0,2 0,1 188216 7024 ? S 13:20 0:00 /usr/local/apache/bin/httpd -k start -DSSL ninguém 6918 0,5 0,1 188216 7028 ? S 13:20 0:00 /usr/local/apache/bin/httpd -k start -DSSL ninguém 6919 0,8 0,1 188216 7028 ? S 13:20 0:00 /usr/local/apache/bin/httpd -k start -DSSL ninguém 6920 0,5 0,1 187712 7020 ? S 13:20 0:00 /usr/local/apache/bin/httpd -k start -DSSL ninguém 6921 0,8 0,1 187712 7020 ? S 13:20 0:00 /usr/local/apache/bin/httpd -k start -DSSL ninguém 6922 1,0 0,1 188216 7024 ? S 13:20 0:00 /usr/local/apache/bin/httpd -k start -DSSL ninguém 6923 0,6 0,1 188216 7024 ? S 13:20 0:00 /usr/local/apache/bin/httpd -k start -DSSL ninguém 6924 1,5 0,1 187712 7020 ? S 13:20 0:00 /usr/local/apache/bin/httpd -k start -DSSL ninguém 6925 0,1 0,1 187712 7012 ? S 13:20 0:00 /usr/local/apache/bin/httpd -k start -DSSL ninguém 6926 1.2 0.1 187712 7016 ? S 13:20 0:00 /usr/local/apache/bin/httpd -k start -DSSL ninguém 6927 0,5 0,1 188216 7028 ? S 13:20 0:00 /usr/local/apache/bin/httpd -k start -DSSL ninguém 6928 1.2 0.1 187712 7024 ? S 13:20 0:00 /usr/local/apache/bin/httpd -k start -DSSL

Eu tenho 258 desses em execução. Parei o httpd e ele voltou para 0. Reiniciei e rapidamente voltou para 258. Nunca vi isso antes. Alguém sabe o que há de errado?

Estou executando o CentOS5.5 com Apache2.2 no cPanel.

Responder1

Você tem muitos trabalhadores configurados, não tenho certeza de qual módulo você está usando, mas a seção relevante é

<IfModule prefork.c>
StartServers       8
MinSpareServers    5
MaxSpareServers   20
ServerLimit      256
MaxClients       256
MaxRequestsPerChild  4000
</IfModule>
<IfModule worker.c>
StartServers         4
MaxClients         300
MinSpareThreads     25
MaxSpareThreads     75
ThreadsPerChild     25
MaxRequestsPerChild  0
</IfModule>

Você pode verificar e ver quantos servidores você tem. Presumo que seja 250+.

Responder2

Embora não seja a melhor maneira, você pode usar força bruta com chmod -x /path/to/apachebinary

informação relacionada