Apache no deja de arrancar

Apache no deja de arrancar

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

Tengo 258 de estos funcionando. Detuve httpd y volvió a bajar a 0. Lo reinicié de nuevo y rápidamente volvió a 258. Nunca había visto esto antes. ¿Alguien sabe qué pasa?

Estoy ejecutando CentOS5.5 con Apache2.2 en cPanel.

Respuesta1

Tienes muchos trabajadores configurados, no estoy seguro de qué módulo estás usando, pero la sección correspondiente es

<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>

Puedes comprobarlo y ver cuántos servidores tienes. Supongo que es 250+.

Respuesta2

Si bien no es la mejor manera, puedes aplicar fuerza bruta con chmod -x /path/to/apachebinary

información relacionada