Server goes down every couple hours...

Xiode

Well-Known Member
Oct 14, 2005
73
0
156
My server has been going down every few hrs... I thought that maybe it was apache failing... Cause it seems that the server will restart..... Well I got logged into ssh and was viewing the apache error log when it went down and see this.....

CMD:
tail -f /usr/local/apache/logs/error_log

Entry before it went down:
[Fri Dec 1 12:10:56 2006] [notice] child pid 32600 exit signal Segmentation fault (11)
 

Xiode

Well-Known Member
Oct 14, 2005
73
0
156
It has 1GB of memory.. and it isn't a highload server... average load is 0.27....
 

AndyReed

Well-Known Member
PartnerNOC
May 29, 2004
2,217
4
193
Minneapolis, MN
[Fri Dec 1 12:10:56 2006] [notice] child pid 32600 exit signal Segmentation fault (11)
make sure your entries in /etc/resolve.conf are correct. Re-compile Apache and watch for any errors, especially with Php modules. Are you sure that you don't have server high load problem before crashing? If yes, then you might have a memory leak or need to add more memory.
 
Last edited:

AndyReed

Well-Known Member
PartnerNOC
May 29, 2004
2,217
4
193
Minneapolis, MN
It has 1GB of memory.. and it isn't a highload server... average load is 0.27....
OK! See if there are any error messages in the log file about the Kernel and/or its related modules.
 

AndyReed

Well-Known Member
PartnerNOC
May 29, 2004
2,217
4
193
Minneapolis, MN
Does nothing.....
Updating the cPanel, in your case, won't fix your problem. That said, there are many things that might be causing the server to crash from a software standpoint including a process that runs out of control or uses too many resources. Make sure your kernel and other software is at the latest version and not corrupted, including Apache and/or Php modules. There have been a few kernel versions with bad drivers that can cause stability problems.

Ask your data center to check on your server hardware including the hard drive and ram. They can run different tests in that regard. On the less common side of things you could have the CPU, power supply, Ethernet card, or motherboard going out.

A few important things first:
Since your server crash on a regular basis, and if so, look at the cronjobs on the server.

Check your /var/log/messages file for the time before the crash and when the server boots up because you will sometimes be able to see an error. If something like the Ethernet card goes down you should also see it because the log files will still be writing, you just will not be able to access the server physically.

If your data center can't or won't help, you can seek professional help. Good luck!
 

Xiode

Well-Known Member
Oct 14, 2005
73
0
156
I made another post about mailscanner. I found that the installed cPGS was failing and restarting like 20 times a day and found the mailscanner has cause an increase of almost 60% of mem usage....... I have fixed the cPGS issue by uninstalling it... Now to try and control mailscanner..... I hope this fix my issues.....