HELP! My Apache2 is constantly crashing. When logging in to the adminpart of ISPConfig I see the service is unavailable. I can restart it from the shell and then it runs again for a couple of minutes. What can it be? Running on the latest stable version (just updated it in the hope it would fix something) on a Suse 10.1 VPS server at Strato. Is there a place where I can find the reason of crashing? Cannot find it in the apache errorlog
Please have a look at the apache error log under /var/log/... and in the error logs of your websites. Also have a look in the messages and syslog. As your server is a VPS server, it might be that you just reached the limits. Have a look at the beancounters (if your vps is a openvz or virtuozzo system) with: cat /proc/user_beancounters Do you have any failcnt?
On Debian the log files for Apache are within: /var/log/apache2/error.log /var/log/apache2/access.log I guess for Suse it is something like that too. You can follow what's happening with the commands: tail -f /var/log/apache2/error.log tail -f /var/log/apache2/access.log
Thank you: this is the ouput of the counters: Version: 2.5 uid resource held maxheld barrier limit failcnt 1318424: kmemsize 4700995 4992722 8512433 9823665 468 lockedpages 0 0 3800 4096 0 privvmpages 69939 72330 138256 202568 64 shmpages 8971 9611 131072 131072 0 dummy 0 0 0 0 0 numproc 63 67 232 232 0 physpages 22671 24157 0 2147483647 0 vmguarpages 0 0 66400 2147483647 0 oomguarpages 22671 24157 66400 2147483647 0 numtcpsock 15 23 500 500 0 numflock 12 18 200 232 0 numpty 1 2 64 64 0 numsiginfo 0 3 512 512 0 tcpsndbuf 127452 182976 4683256 6102456 0 tcprcvbuf 182596 249020 4683256 6102456 0 othersockbuf 176644 190776 1503232 4063232 0 dgramrcvbuf 0 0 240000 262144 0 numothersock 118 126 382 382 0 dcachesize 0 0 2194304 2317184 0 numfile 2462 2746 5432 5432 5305 dummy 0 0 0 0 0 dummy 0 0 0 0 0 dummy 0 0 0 0 0 numiptent 14 14 128 128 0 kmemsize has a lot of errors. Does this mean the server has to less memory?
You might want to try to configure your apache to start less instances and set the max number of instances to a lowe limit in apache configuration.