Apache 2 stürtzt ab

Apache, Lighttpd, nginx, Cherokee
Post Reply
clinton535
Posts: 5
Joined: 2005-10-13 06:59
 

Apache 2 stürtzt ab

Post by clinton535 »

Huhu @ all,

mein Apache2 Server stürtzt in letzter Zeit nun dauernd ab.
Grund: /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL wird x mal ausgeführt...Dann kratzt er irgendwann ab.
meine server-tuning.conf:
<IfModule prefork.c>
# number of server processes to start
StartServers 5
# minimum number of server processes which are kept spare
MinSpareServers 3
# maximum number of server processes which are kept spare
MaxSpareServers 8
# maximum number of server processes allowed to start
MaxClients 30
# maximum number of requests a server process serves
MaxRequestsPerChild 80
</IfModule>

Dennoch stürtzt er regelmäßig nach einigen Stunden ab.

Bin für Tipps sehr dankbar.
Es läuft Confixx drauf,SuSe ist das Betriebssystem.
Ich wollte von prefork auf worker umstellen,aber ich finde die configure datei des apache nicht (vorinstalliert)


VIelen Dank!

Grüße
jhnet
Posts: 98
Joined: 2004-07-20 11:43
 

Re: Apache 2 stürtzt ab

Post by jhnet »

clinton535 wrote:Huhu @ all,
Ich wollte von prefork auf worker umstellen,aber ich finde die configure datei des apache nicht (vorinstalliert)
Die liegt unter /etc/sysconfig/apache2.
Gibt der Apache denn irgendwelche Fehlermeldungen von sich bevor er sich verabschiedet?

Bye,

Jörg
flo
Posts: 2223
Joined: 2002-07-28 13:02
Location: Berlin
 

Re: Apache 2 stürtzt ab

Post by flo »

Code: Select all

/usr/sbin/httpd2-prefork
Ich kenne mich mit SuSE-Eigenheiten überhaupt nicht aus, aber das obere weist drauf hin, daß das MPM in dem Binary einkompiliert ist (==nicht als Modul) und somit auch die Modulanweisung nicht ausgeführt wird. Suche in YaST nach dem Worker-Apachen und installiere den.

flo.
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: Apache 2 stürtzt ab

Post by Joe User »

PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
clinton535
Posts: 5
Joined: 2005-10-13 06:59
 

Re: Apache 2 stürtzt ab

Post by clinton535 »

Hallo,

vielen Dank für die Antworten!

Die php.ini kann ich nicht verwenden,da klappt das ganze dann nicht.

Bei der my.cnf werden die Webseiten dann leider kriechend langsam,aber dafür stürtzt der Server nicht ab,deswegen ist das dann wohl die beste Alternative.
clinton535
Posts: 5
Joined: 2005-10-13 06:59
 

Re: Apache 2 stürtzt ab

Post by clinton535 »

update:

nach einem update auf confixx 3.1 startet der apache nich mehr: too many files open,hab das schon auf 15.000 erhöht,dennoch geht es nicht

hat jemand ne idee?
Post Reply