Web Hosting Talk







View Full Version : Is it normal for apache to fail...


kami
03-05-2003, 12:36 PM
Hi,
Is it normal for apache to fail on an average of once a week on
a dedicated server???

Andrew
03-05-2003, 12:37 PM
No, not at all. What do the logs say?

kami
03-05-2003, 12:45 PM
Sorry, I am new in managing a box. How do I access the log info???
By the way, my box is fairly new. Only 4 months old. and I do have cpanel installed which it restarts the server automatically.

JonMS [PS]
03-05-2003, 12:48 PM
Is the load on the server high usually?

Please paste the results for w (just the top line). Thanks!

-- Jonathan

case
03-05-2003, 03:08 PM
yeah, its not right for apache to fail once a week unless you're under severe load. Past the logs here and im sure many will be able to help you out

atjeu
03-05-2003, 03:56 PM
Cpanel apache always crashes if you leave it configured as it comes - we have clients whos cpanel apache crashes hourly... so if you have not changed any of the settings in your httpd.conf from when you got the box, you can make some changes there and it will stop crashing - cpanel sets it very conservatively so if your box is busy at all it will crash all the time... so change your maxconn to 512 and change your maxchild... to 100 instead of 0 - those 2 things *should* stop it from crashing.

DarktidesNET
03-05-2003, 10:41 PM
Try this:

cd ~; cd /usr/local/apache/logs/; pico error_log

hit control+w and search for 'critical' if you find one paste it. It's probably what I had a while back which was a critical bind error relating to SSL.

If this is the case, do this:

cd ~; cd /scripts/; ./easyapache (pick whatever...). Let it recompile and it will fix it.

If you don't find that critical bind error ignore this.