[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Servicio Apache2 caido



El día 27 de julio de 2011 10:49, Leandro Ledesma
<leanledesma@gmail.com> escribió:
> 2011/7/27 Gonzalo Rivero <fishfromsalta@gmail.com>:
>> El mié, 27-07-2011 a las 12:23 -0300, Leandro Ledesma escribió:
>>> Estimados,
>>>
>>> Me encuentro con un tema bastante comun, supongo.
>>>
>>> Mi web estuvo ayer caido desde las 20 hrs hasta las 22 hrs.
>>>
>>> Viendo los log en /var/log/apache2/error.log, en el horario de la
>>> caida encontre lo siguiente:
>>>
>>> [Tue Jul 26 20:40:25 2011] [error] server reached MaxClients setting,
>>> consider raising the MaxClients setting
>
>> aparentemente estás recibiendo mas peticiones de las que tu server
>> aguanta.
>> Y por lo que se ve mas abajo, hay algún proceso que tarda mucho y/o se
>> muere solo. Y seguramente eso te hace de cuello de botella para voltear
>> todo.
>>
>>> [Tue Jul 26 21:20:04 2011] [error] cgid daemon process died, restarting
>>> [Tue Jul 26 22:32:26 2011] [warn] child process 31781 still did not
>>> exit, sending a SIGTERM
>>>
>>> [Tue Jul 26 22:32:31 2011] [error] child process 32065 still did not
>>> exit, sending a SIGKILL
>>>
>>> [Tue Jul 26 22:32:32 2011] [error] could not make child process 31783
>>> exit, attempting to continue anyway
>>>
>>> [Tue Jul 26 22:32:32 2011] [notice] caught SIGTERM, shutting down
>>> [Tue Jul 26 22:33:24 2011] [notice] Digest: generating secret for
>>> digest authentication ...
>>> [Tue Jul 26 22:33:24 2011] [notice] Digest: done
>>> PHP Warning:  PHP Startup: Unable to load dynamic library
>>> '/usr/lib/php5/20060613/json.so' - /usr/lib/php5/20060613/json.so:
>>> cannot open shared object file: No such file or directory in Unknown
>>> on line 0
>>> [Tue Jul 26 22:33:24 2011] [notice] mod_python: Creating 8 session
>>> mutexes based on 400 max processes and 0 max threads.
>>> [Tue Jul 26 22:33:24 2011] [notice] mod_python: using mutex_directory /tmp
>>>
>>>
>>> Reinicie el servicio /etc/init.d/apache2 restart y todo volvio a la normalidad.
>>>
>>> Estoy viendo el lugar correcto?, a alguien le paso?.
>>>
>>> Gracias.
>>>
>
> Exacto. Modifique la linea MaxClients a 500, en ram tengo 160gb, segun
> un analitycs que tengo corriendo, en esa hora tuve una visita de 200
> usuarios, no deberia pasar nada.
>
> Supongo que el error no esta en ese lugar. Nose donde mirar.
> gracias.

Hola, bueno, no tengo exactamente la pastilla magica que te resuelve
el lío, pero en un foro[0] toncan el tema y dentro del hilo, manda a
un otro[1] donde lo desmenuzan aun mas. Bueno esta en ingles pero algo
se puede hacer con el idioma.

[0] http://www.linuxquestions.org/questions/linux-networking-3/apache-performance-server-reached-maxclients-setting-329435/

[1] http://www.theadminzone.com/forums/showthread.php?t=10506&highlight=lightweight

Salu2.

>
>
> --
> To UNSUBSCRIBE, email to debian-user-spanish-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] CAK85swMQyc6V1xzrP0y22K8f+m_3z+XCNZu+fWcQ6EFCsJ5ymg@mail.gmail.com">http://lists.debian.org/[🔎] CAK85swMQyc6V1xzrP0y22K8f+m_3z+XCNZu+fWcQ6EFCsJ5ymg@mail.gmail.com
>
>



-- 
ceduard0


Reply to: