evilmoe
Goto Top

Apache2 child process xxxx still did not exit, sending a SIGTERM

Ich habe seit ein paar Tagen ein problem mit einem Apache auf Debian. Der Apache hat auf einmal seh viele Prozesse (bis über 300!) und ein Seiteaufbau ist nicht mehr möglich. Ich finde keine hinweise warum sich der Apache "aufhängt" oder wie es dazu kommt.

In den logs finde ich dazu nur folgendes:

[Sat Aug 08 14:49:33 2009] [error] server reached MaxClients setting, consider raising the MaxClients setting
[Sat Aug 08 15:00:06 2009] [warn] child process 13482 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13489 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13679 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13379 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13008 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13662 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13682 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13626 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13575 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13667 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13627 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13671 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13631 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13632 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13633 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13684 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13286 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13702 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13714 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13721 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13723 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13736 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13755 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13756 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13777 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13788 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13759 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13771 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13772 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13773 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13774 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13793 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13794 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13808 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13810 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13821 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13825 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13836 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13848 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13857 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13864 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13876 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13882 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13883 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13884 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13907 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13919 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13929 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13934 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13936 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13943 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13944 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13945 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13966 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13968 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13996 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13997 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 13998 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 14007 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 14018 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 14046 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 14058 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 14061 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 14062 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 14092 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 14093 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:06 2009] [warn] child process 14095 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:08 2009] [warn] child process 13482 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:08 2009] [warn] child process 13489 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:08 2009] [warn] child process 13379 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:08 2009] [warn] child process 13008 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:08 2009] [warn] child process 13662 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:08 2009] [warn] child process 13626 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:08 2009] [warn] child process 13575 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:08 2009] [warn] child process 13667 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:08 2009] [warn] child process 13627 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:08 2009] [warn] child process 13671 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:08 2009] [warn] child process 13631 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:08 2009] [warn] child process 13632 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:08 2009] [warn] child process 13633 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:08 2009] [warn] child process 14095 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:10 2009] [warn] child process 13626 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:10 2009] [warn] child process 13633 still did not exit, sending a SIGTERM
[Sat Aug 08 15:00:12 2009] [error] child process 13626 still did not exit, sending a SIGKILL
[Sat Aug 08 15:00:12 2009] [error] child process 13633 still did not exit, sending a SIGKILL
[Sat Aug 08 15:00:13 2009] [notice] caught SIGTERM, shutting down



Das problem tritt seit 2 Tagen auf. Und passiert unregelemäßig mal nach 3 Stunden ode rmal erst nach 12.
Leider finde ich keine Lösung dafür. An den EInstellungen wurde nichts geändert.
Ein "/etc/init.d/apache2 restart" reich aus (dauert aber auch etwa bis der Befehl ausgeführt wurde) dann läuft er wieder.

Gruß
Sven

Content-Key: 122314

Url: https://administrator.de/contentid/122314

Printed on: May 8, 2024 at 02:05 o'clock

Member: sleipnir
sleipnir Aug 08, 2009 at 14:16:52 (UTC)
Goto Top
Hallo Sven,

es wäre hilfreich wenn du mal sagst um welche Apache2 Version es sich handelt.

Es gab im Juni eine Meldung über eine HTTP DoS Attacke, welche so viele HTTP Verbindungen öffnet, bis der Webserver seinen Dienst einstellt.

Als Abhilfe wurde damals ein Loadbalancer vor dem Webserver empfohlen.

Eventuell gibt es ja mittlerweile einen Patch dafür.

Gruß Sleipnir
Member: EvilMoe
EvilMoe Aug 08, 2009 at 14:25:55 (UTC)
Goto Top
Hallo,

ich verwende die Version 2.2.3. Momentan sieht es aber gut aus. Vllt hat es sich ja gelegt.
Ein Loadbalanver kommt leider nicht in Frage, soviel Mittel habe ich leider nicht zur verfügung.

Aber ggf. wird bald ein Hardwareupgrade durchgeführt und dann hoffe ich, das spätestens dann ruhe ist.

Gruß
Sven
Member: EvilMoe
EvilMoe Aug 15, 2009 at 20:09:03 (UTC)
Goto Top
Ich habe anscheinend das Problem gefunden.

Ich hatte das Modul "eaccelerator" aktiv (eine Snapshot Version!).
Nachdem ich dies Modul deaktiviert habe kommen auch keine Probleme mehr.
Ich müsste es nochmal mit einer Stable Version probieren und schauen ob dort der Fehler nicht mehr auftritt.