Apache 1.3.27 und Serverload

Apache, Lighttpd, nginx, Cherokee
Post Reply
cyberline
Posts: 97
Joined: 2003-01-28 10:11
Location: Hürth
 

Apache 1.3.27 und Serverload

Post by cyberline »

Hi, habe einen Apache 1.3.27 mit PHP 4.1.2 laufen.

Neuerdings tauchen im error_log solche Fehler auf:

[Fri Feb 28 13:25:31 2003] [warn] child process 6972 did not exit, sending another SIGHUP
[Fri Feb 28 13:25:31 2003] [warn] child process 7764 did not exit, sending another SIGHUP
[Fri Feb 28 13:25:31 2003] [warn] child process 7380 did not exit, sending another SIGHUP
[Fri Feb 28 13:25:31 2003] [warn] child process 6963 did not exit, sending another SIGHUP
[Fri Feb 28 13:25:31 2003] [warn] child process 9345 did not exit, sending another SIGHUP
[Fri Feb 28 13:25:31 2003] [warn] child process 6972 still did not exit, sending a SIGTERM
[Fri Feb 28 13:25:31 2003] [warn] child process 7764 still did not exit, sending a SIGTERM
[Fri Feb 28 13:25:31 2003] [warn] child process 6963 still did not exit, sending a SIGTERM
[Fri Feb 28 13:25:31 2003] [warn] child process 9345 still did not exit, sending a SIGTERM
[Fri Feb 28 13:25:31 2003] [error] child process 6972 still did not exit, sending a SIGKILL
[Fri Feb 28 13:25:31 2003] [error] child process 7764 still did not exit, sending a SIGKILL
[Fri Feb 28 13:25:31 2003] [error] child process 6963 still did not exit, sending a SIGKILL
[Fri Feb 28 13:25:31 2003] [error] child process 9345 still did not exit, sending a SIGKILL
[Fri Feb 28 13:25:31 2003] [notice] caught SIGTERM, shutting down
[Fri Feb 28 13:29:22 2003] [notice] Apache/1.3.27 (Unix) (Red-Hat/Linux) PHP/4.1.2 configured -- resuming normal operations
[Fri Feb 28 13:29:22 2003] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Feb 28 13:29:22 2003] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Fri Feb 28 13:56:35 2003] [error] server reached MaxClients setting, consider raising the MaxClients setting

Danach geht die Load meistens ins Unermessliche und der gesammte Server wird unerreichbar. Meist hilft dann nur noch ein killall httpd wenn überhaupt noch ssh möglich ist.

Kann man fehler etwas genauer einschänken ?
Die Kiste hat 2 GB Ram.
rob
Posts: 82
Joined: 2002-06-03 21:53
Location: Brandenburg
Contact:
 

Re: Apache 1.3.27 und Serverload

Post by rob »

CyberLine wrote: [Fri Feb 28 13:56:35 2003] [error] server reached MaxClients setting, consider raising the MaxClients setting
Einfach das tun, was da steht.
Setze MaxClients in der httpd.conf höher.

z.B. von 100 -> 150

Rob
cyberline
Posts: 97
Joined: 2003-01-28 10:11
Location: Hürth
 

Re: Apache 1.3.27 und Serverload

Post by cyberline »

das stand mal höher, dann war nur schneller ende mit dem Server, es geht mehr um die anderen Fehler :)
sfeni
Posts: 341
Joined: 2002-08-15 11:35
Location: Schwabenland
 

Re: Apache 1.3.27 und Serverload

Post by sfeni »

CyberLine wrote: [Fri Feb 28 13:25:31 2003] [warn] child process 6972 did not exit, sending another SIGHUP
[Fri Feb 28 13:25:31 2003] [warn] child process 7764 did not exit, sending another SIGHUP
[Fri Feb 28 13:25:31 2003] [warn] child process 7380 did not exit, sending another SIGHUP
[Fri Feb 28 13:25:31 2003] [warn] child process 6963 did not exit, sending another SIGHUP
[Fri Feb 28 13:25:31 2003] [warn] child process 9345 did not exit, sending another SIGHUP
[Fri Feb 28 13:25:31 2003] [warn] child process 6972 still did not exit, sending a SIGTERM
[Fri Feb 28 13:25:31 2003] [warn] child process 7764 still did not exit, sending a SIGTERM
[Fri Feb 28 13:25:31 2003] [warn] child process 6963 still did not exit, sending a SIGTERM
[Fri Feb 28 13:25:31 2003] [warn] child process 9345 still did not exit, sending a SIGTERM
[Fri Feb 28 13:25:31 2003] [error] child process 6972 still did not exit, sending a SIGKILL
[Fri Feb 28 13:25:31 2003] [error] child process 7764 still did not exit, sending a SIGKILL
[Fri Feb 28 13:25:31 2003] [error] child process 6963 still did not exit, sending a SIGKILL
[Fri Feb 28 13:25:31 2003] [error] child process 9345 still did not exit, sending a SIGKILL
[Fri Feb 28 13:25:31 2003] [notice] caught SIGTERM, shutting down
Sieht so als ob der Server neugestartet wurde und ein paar Prozesse nicht beendet werden konnten, steht ja auch da: shutting down
Und dann wurden die Prozesse einfach gekillt, weil er sie nicht beenden konnte: ... still did not exit, sending a SIGKILL

Und der nächte Eintrag erscheint erst ein paar Minuten später. Meiner Meinung nach sieht das nach einem Reboot aus, aber ich lasse mich gerne belehren. (Ich starte meinen Server eigentlich nie neu und wenn, dann schaue ich mir diese Logs nicht so intensiv an.)
cyberline
Posts: 97
Joined: 2003-01-28 10:11
Location: Hürth
 

Re: Apache 1.3.27 und Serverload

Post by cyberline »

Nun, da läuft confixx und wenn da jemand ne domain einträgt wird der restartet. das "zeitloch" war kein reboot sondern die zeit vom absurz bis zum manuellen starten von apache
wecki
Posts: 101
Joined: 2005-01-27 08:55
 

Re: Apache 1.3.27 und Serverload

Post by wecki »

Hab ein ähnliches problem...

Gibt es eine Lösung?
braindead
Posts: 250
Joined: 2002-10-22 09:49
Location: vorm Rechner
 

Re: Apache 1.3.27 und Serverload

Post by braindead »

Was sagt denn ein ps aux wenn der Apache neugestartet wurde?
m.c.s.
Posts: 55
Joined: 2004-06-13 11:59
Location: Hamburg
 

Re: Apache 1.3.27 und Serverload

Post by m.c.s. »

Hatte auch mal regelmäßig das Problem, seit geraumer zeit aber nicht mehr :rolleyes:
wecki
Posts: 101
Joined: 2005-01-27 08:55
 

Re: Apache 1.3.27 und Serverload

Post by wecki »

Also, mein Beitrag zu meinem Problem:
http://www.rootforum.org/forum/viewtopi ... highlight=
Post Reply