Helpful Information
 
 
Category: Forum and Server Management
Apache crashes?

Hi, I seem to have a really wierd problem here. For a long time now, everytime I wake up in the morning, I have to restart httpd (apache 2.0.63).

The reason behind this is that the server fails to serve PHP pages, so the forum on the server is innaccessible. Checking the child thread processes, only 52 at maximum is formed. The server itself is fine and responds well, but it just fails to serve Apache pages.

One of my staff has noticed that it stops serving PHP pages between approximately 10:40 and 10:45 EST (what time is this GMT?)


What is going on?

I'm in a CentOS 4 VPS, with 386 RAM, cPanel/WHM (VPS Optimized). 10GB Hard drive.

What do the logs say ?

The logs don't show anything abnormal - in fact, they don't really show apache crashing. All seems normal in it. I'll post a copy in the morning if is crashes.

I had the same problem some time ago, something was using all the memory available and that was the reason. The logs didn't say anything too.

If you can install software on your server I recommend you to install webmin, and then configure one monitor on Apache to issue a restart command when it detects that the server is down.

Other -> System and Server Status -> Click on Apache Webserver ->

If monitor goes down, run command -> apachectl -k restart

This is doing the job for me...

roger

Not the apache logs for you site, the actual apache log itself. For instance, mine is located at /etc/httpd/logs/error_log

When my old server did this i exceeded my Database Size

Do you have your Attachments in the File System ?

Ty all - the attachments are in the file system :) I'll install webmin - and I'll check the apache log right now :)

--------------- Added 1210287396 at 1210287396 ---------------

There don't seem to be any memory related issues, but I see a lot of this:

[Wed May 07 06:33:27 2008] [notice] child pid 21725 exit signal Segmentation fault (11)
[Wed May 07 06:33:38 2008] [notice] child pid 21734 exit signal Segmentation fault (11)
[Wed May 07 06:35:03 2008] [notice] child pid 11433 exit signal Segmentation fault (11)
[Wed May 07 06:36:53 2008] [notice] child pid 21985 exit signal Segmentation fault (11)
[Wed May 07 06:38:07 2008] [notice] child pid 21574 exit signal Segmentation fault (11)
[Wed May 07 06:40:07 2008] [notice] child pid 22170 exit signal Segmentation fault (11)
[Wed May 07 06:41:11 2008] [notice] child pid 24311 exit signal Segmentation fault (11)
[Wed May 07 06:43:16 2008] [notice] child pid 26310 exit signal Segmentation fault (11)
[Wed May 07 06:43:22 2008] [notice] child pid 22143 exit signal Segmentation fault (11)

--------------- Added 1210289340 at 1210289340 ---------------

I think XCache is causing this - so I'll be removing that and replacing it with APC :)










privacy (GDPR)