|
|
|
|
|
|
Mitglied
Registrierungsdatum: Sep 2005
Ort: Bei mir zuhause
Beiträge: 165
|
Apache2 schaltet ab, warum?
Hallo,
ich werde aus diesem Log nicht schlau. Apache schaltet sich selbst ab und an ab (sporadisch, alle paar wochen). Darauf dieser Logeintrag. Sagt das einem was? Warum existieren die Kindprozesse nicht mehr? Das ist das Einzige was er dazu sagt.
DANKE
Code:
[Sun Jun 01 06:29:09 2008] [warn] child process 8283 still did not exit, sending a SIGTERM
[Sun Jun 01 06:29:24 2008] [warn] child process 8038 still did not exit, sending a SIGTERM
[Sun Jun 01 06:29:24 2008] [warn] child process 8287 still did not exit, sending a SIGTERM
[Sun Jun 01 06:29:24 2008] [warn] child process 8039 still did not exit, sending a SIGTERM
[Sun Jun 01 06:29:24 2008] [warn] child process 11169 still did not exit, sending a SIGTERM
[Sun Jun 01 06:29:24 2008] [warn] child process 8288 still did not exit, sending a SIGTERM
[Sun Jun 01 06:29:24 2008] [warn] child process 7388 still did not exit, sending a SIGTERM
[Sun Jun 01 06:29:24 2008] [warn] child process 8191 still did not exit, sending a SIGTERM
[Sun Jun 01 06:29:24 2008] [warn] child process 2101 still did not exit, sending a SIGTERM
[Sun Jun 01 06:29:24 2008] [warn] child process 2103 still did not exit, sending a SIGTERM
[Sun Jun 01 06:29:25 2008] [warn] child process 8283 still did not exit, sending a SIGTERM
[Sun Jun 01 06:29:25 2008] [warn] child process 8038 still did not exit, sending a SIGTERM
[Sun Jun 01 06:29:25 2008] [warn] child process 8287 still did not exit, sending a SIGTERM
[Sun Jun 01 06:29:25 2008] [warn] child process 8039 still did not exit, sending a SIGTERM
[Sun Jun 01 06:29:25 2008] [warn] child process 11169 still did not exit, sending a SIGTERM
[Sun Jun 01 06:29:25 2008] [warn] child process 8288 still did not exit, sending a SIGTERM
[Sun Jun 01 06:29:25 2008] [warn] child process 7388 still did not exit, sending a SIGTERM
[Sun Jun 01 06:29:25 2008] [warn] child process 8191 still did not exit, sending a SIGTERM
[Sun Jun 01 06:29:25 2008] [warn] child process 2101 still did not exit, sending a SIGTERM
[Sun Jun 01 06:29:25 2008] [warn] child process 2103 still did not exit, sending a SIGTERM
[Sun Jun 01 06:29:26 2008] [warn] child process 8283 still did not exit, sending a SIGTERM
[Sun Jun 01 06:29:26 2008] [warn] child process 8038 still did not exit, sending a SIGTERM
[Sun Jun 01 06:29:26 2008] [warn] child process 8287 still did not exit, sending a SIGTERM
[Sun Jun 01 06:29:26 2008] [warn] child process 8039 still did not exit, sending a SIGTERM
[Sun Jun 01 06:29:26 2008] [warn] child process 11169 still did not exit, sending a SIGTERM
[Sun Jun 01 06:29:26 2008] [warn] child process 8288 still did not exit, sending a SIGTERM
[Sun Jun 01 06:29:26 2008] [warn] child process 7388 still did not exit, sending a SIGTERM
[Sun Jun 01 06:29:26 2008] [warn] child process 8191 still did not exit, sending a SIGTERM
[Sun Jun 01 06:29:26 2008] [warn] child process 2101 still did not exit, sending a SIGTERM
[Sun Jun 01 06:29:26 2008] [warn] child process 2103 still did not exit, sending a SIGTERM
[Sun Jun 01 06:29:27 2008] [error] child process 8283 still did not exit, sending a SIGKILL
[Sun Jun 01 06:29:27 2008] [error] child process 8038 still did not exit, sending a SIGKILL
[Sun Jun 01 06:29:27 2008] [error] child process 8287 still did not exit, sending a SIGKILL
[Sun Jun 01 06:29:27 2008] [error] child process 8039 still did not exit, sending a SIGKILL
[Sun Jun 01 06:29:27 2008] [error] child process 11169 still did not exit, sending a SIGKILL
[Sun Jun 01 06:29:27 2008] [error] child process 8288 still did not exit, sending a SIGKILL
[Sun Jun 01 06:29:27 2008] [error] child process 7388 still did not exit, sending a SIGKILL
[Sun Jun 01 06:29:27 2008] [error] child process 8191 still did not exit, sending a SIGKILL
[Sun Jun 01 06:29:27 2008] [error] child process 2101 still did not exit, sending a SIGKILL
[Sun Jun 01 06:29:27 2008] [error] child process 2103 still did not exit, sending a SIGKILL
[Sun Jun 01 06:29:28 2008] [error] could not make child process 8283 exit, attempting to continue anyway
[Sun Jun 01 06:29:28 2008] [error] could not make child process 8038 exit, attempting to continue anyway
[Sun Jun 01 06:29:28 2008] [error] could not make child process 8287 exit, attempting to continue anyway
[Sun Jun 01 06:29:28 2008] [error] could not make child process 8039 exit, attempting to continue anyway
[Sun Jun 01 06:29:28 2008] [error] could not make child process 11169 exit, attempting to continue anyway
[Sun Jun 01 06:29:28 2008] [error] could not make child process 8288 exit, attempting to continue anyway
[Sun Jun 01 06:29:28 2008] [error] could not make child process 7388 exit, attempting to continue anyway
[Sun Jun 01 06:29:28 2008] [error] could not make child process 8191 exit, attempting to continue anyway
[Sun Jun 01 06:29:28 2008] [error] could not make child process 2101 exit, attempting to continue anyway
[Sun Jun 01 06:29:28 2008] [error] could not make child process 2103 exit, attempting to continue anyway
[Sun Jun 01 06:29:28 2008] [notice] caught SIGTERM, shutting down
|
01. 06. 2008, 13:39
|
#1
|
|
Der aus der Zukunft
Registrierungsdatum: Apr 2003
Beiträge: 3.237
|
Re: Apache2 schaltet ab, warum?
Die Childprozesse sind eigentlich eine Lastverteilung.
Wenn er nicht alle braucht beendet er schon auch welche.
Oder er kann keine neuen erstellen da das max-limit erreicht ist.
|
01. 06. 2008, 13:43
|
#2
|
|
Mitglied
(Threadstarter)
Registrierungsdatum: Sep 2005
Ort: Bei mir zuhause
Beiträge: 165
|
Re: Apache2 schaltet ab, warum?
Zitat:
|
Zitat von DrFuture
Die Childprozesse sind eigentlich eine Lastverteilung.
Wenn er nicht alle braucht beendet er schon auch welche.
Oder er kann keine neuen erstellen da das max-limit erreicht ist.
|
Aber warum wird dann mein Apache ohne weitere Fehlermeldung beendet?
|
01. 06. 2008, 20:46
|
#3
|
|
Pirat
Registrierungsdatum: Feb 2006
Beiträge: 165
|
Re: Apache2 schaltet ab, warum?
Ram-Mangel??
Das Problem hatte ich eine Zeitlang.
Schlecht konfigurierter Apache (ja,,,,) - ein paar requests -> Apache reist sich selbst und andere mit in den TOd!!
|
01. 06. 2008, 21:30
|
#4
|
|
Nachfolger von Alphauser1
Registrierungsdatum: Oct 2004
Ort: Links neben dir
Beiträge: 1.366
|
Re: Apache2 schaltet ab, warum?
Sieht wirklich nach einem Überlauf im Speicher aus weil zuviele Child Prozesse erzeugt werden. Evt gibts auch Probleme mit der Vergabe der Rechte beim Apache mit den Unterprozessen.
|
02. 06. 2008, 23:17
|
#5
|
|
Bundestrojaner
Registrierungsdatum: Sep 2004
Ort: /home/trojan
Beiträge: 5.161
|
Re: Apache2 schaltet ab, warum?
poste doch mal entweder die "server-tuning.conf" oder die "apache2.conf" , da reicht der abteil von "mpm-prefork" (den du hoffentlich einsetzt)
angaben zur hardware (cpu, ram) wären auch hilfreich und wieviel besucher am tag am apache aufschlagen
|
03. 06. 2008, 10:31
|
#6
|
|
Mitglied
(Threadstarter)
Registrierungsdatum: Sep 2005
Ort: Bei mir zuhause
Beiträge: 165
|
Danke
Danke für die vielen Tips. Scheint tatsächlich der Speicher gewesen zu sein. RAM ist auf dem Vserver ein bissel knittrick. Muss ich wohl dann wieder neustarten wenn`s passiert.
Merci
|
04. 06. 2008, 09:16
|
#7
|
|
quassel-irc.org User
Registrierungsdatum: Sep 2004
Ort: $HOME
Beiträge: 1.386
|
Re: Apache2 schaltet ab, warum?
Das neustarten des Servers ist keine Problemlösung.
Auch wenn einige Provider dies als "Profikonfiguration" Ihren Kunden verkaufen möchten ( http://faq.1blu.de/index.php?action=...00&artlang=de).
Sollte dein Problem wirklich am Speicher liegen, solltest du schauen das du dies drosseln kannst.
Zum Beispiel nicht benötigte Prozesse/Software entfernen.
TIP:
/etc/apache2/server-tuning.conf
Code:
StartServers 1
MinSpareServers 1
MaxSpareServers 3
ServerLimit 30
MaxClients 100
MaxRequestsPerChild 4000
KeepAlive Off
Unnötige Module in der /etc/sysconfig/apache2 entfernen.
Bei Debian kannst du dies über "a2dismod" machen.
Code:
* auth_dbm (HTTP-Auth über Berkley-DB)
* autoindex (Directory-Index
* expires (Expires-Header)
* frontpage (Frontpage-Extension (Wer arbeitet denn mit Frontpage?))
* include (SSI)
* negotiation (länderspezifischer Content)
* perl (mod-Perl hat nix mit CGI zu tun!)
* speling (erraten von fehlerhaften URL's)
* status (Status-Abfrage der aktuellen Threads: Performance-Fresser)
* userdir (URL's der Form /~user/)
/etc/my.cnf
Code:
key_buffer = 2M
myisam_sort_buffer_size = 4M
read_buffer_size = 512K
read_rnd_buffer_size = 4M
Solltest du Plesk verwenden:
/usr/local/psa/admin/conf/httpsd.conf bzw. /opt/psa/admin/conf/httpsd.conf
Code:
MinSpareServers 1
MaxSpareServers 2
StartServers 1
MaxClients 10
MFG
Datafreak
|
04. 06. 2008, 09:42
|
#8
|
|
Mitglied
(Threadstarter)
Registrierungsdatum: Sep 2005
Ort: Bei mir zuhause
Beiträge: 165
|
Re: Apache2 schaltet ab, warum?
Werde dein Beispiel mal genauer ansehen und durchgehen.
DANKE
|
04. 06. 2008, 20:01
|
#9
|
|
Bundestrojaner
Registrierungsdatum: Sep 2004
Ort: /home/trojan
Beiträge: 5.161
|
Re: Apache2 schaltet ab, warum?
die settings von Datafreak sind  wenn du nix hast was mehr brauch
|
04. 06. 2008, 20:39
|
#10
|
|
Alle Zeitangaben in UTC +1. Es ist jetzt 05:18 Uhr.
|
|