gulli:board Logo

Anzeige


  Antwort
passbreak2001
Mitglied
 
Benutzerbild von passbreak2001
 
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
Alt 01. 06. 2008, 13:39 passbreak2001 is offline Mit Zitat antworten #1
DrFuture
Der aus der Zukunft
 
Benutzerbild von DrFuture
 
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.
Alt 01. 06. 2008, 13:43 DrFuture is offline Mit Zitat antworten #2
passbreak2001
Mitglied
(Threadstarter)
 
Benutzerbild von passbreak2001
 
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?
Alt 01. 06. 2008, 20:46 passbreak2001 is offline Mit Zitat antworten #3
SP4C3
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!!
Alt 01. 06. 2008, 21:30 SP4C3 is offline Mit Zitat antworten #4
betauser2
Nachfolger von Alphauser1
 
Benutzerbild von betauser2
 
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.
Alt 02. 06. 2008, 23:17 betauser2 is offline Mit Zitat antworten #5
trojan Spender
Bundestrojaner
 
Benutzerbild von trojan
 
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
Alt 03. 06. 2008, 10:31 trojan is offline Mit Zitat antworten #6
passbreak2001
Mitglied
(Threadstarter)
 
Benutzerbild von passbreak2001
 
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
Alt 04. 06. 2008, 09:16 passbreak2001 is offline Mit Zitat antworten #7
Datafreak
quassel-irc.org User
 
Benutzerbild von Datafreak
 
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
Alt 04. 06. 2008, 09:42 Datafreak is offline Mit Zitat antworten #8
passbreak2001
Mitglied
(Threadstarter)
 
Benutzerbild von passbreak2001
 
Registrierungsdatum: Sep 2005
Ort: Bei mir zuhause
Beiträge: 165
Thumbs up Re: Apache2 schaltet ab, warum?

Werde dein Beispiel mal genauer ansehen und durchgehen.

DANKE
Alt 04. 06. 2008, 20:01 passbreak2001 is offline Mit Zitat antworten #9
trojan Spender
Bundestrojaner
 
Benutzerbild von trojan
 
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
Alt 04. 06. 2008, 20:39 trojan is offline Mit Zitat antworten #10
Themen-Optionen Antwort


Themen-Optionen

Gehe zu



Alle Zeitangaben in UTC +1. Es ist jetzt 05:18 Uhr.
Angetrieben von vBulletin
Copyright ©2000 - 2006, Jelsoft Enterprises Ltd.
narcissism.gullisys.net

Anmelden

Benutzername
Kennwort
© Copyright 1998-2008 gulli.com home | regeln | sitemap | kontakt | impressum | partner | downloads | disclaimer |
Message Boards and Forums Directory