Portal Home > Knowledgebase > Articles Database > httpd on server failed Help
httpd on server failed Help
Posted by cookie_dude, 10-03-2008, 10:43 AM |
Every 40-50 min i am getting emails that httpd has failed.
httpd failed @ Fri Oct 3 09:32:52 2008. A restart was attempted automagically.
Failure Reason: Timeout while trying to connect to service
The server load seems to be around
Load Averages: 0.62 0.53 0.55
Can anyone give me a clue what may be wrong ?
|
Posted by Patrick, 10-03-2008, 10:46 AM |
When Apache fails, what does the error_log show? Run the following command next time it happens and post the output here:
tail -f /usr/local/apache/logs/error_log
Without seeing the error_log all we can do is guess, and it really could be anything. Also, you could manually open the file using your favorite text editor and track down the last time it failed to see if there is anything present in there that you could post here.
|
Posted by madpato, 10-03-2008, 11:05 AM |
also check the connections to your server. maybe you have to many try with
maybe you have too many connections and apache can't handle all the requests.
|
Posted by cookie_dude, 10-03-2008, 11:27 AM |
Ok, i guess this is bad, server is inaccessible now..
Last thing i did was someone told me to fsck and it said
1: recovering journal
Message from syslogd@ at Fri Oct 3 09:48:08 2008 ...
server kernel: journal commit I/O error/1 contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks, and sizes
I guess i should call support.
|
Posted by madpato, 10-03-2008, 12:27 PM |
mmm i don't see any relation between what you did and apache... you are checking your hard disk with that... check your server connections... i think that your problem is there
|
Posted by blessen, 10-03-2008, 12:58 PM |
fsck is for your file system. But you were having issues with Apache right? How did this fsck come in between. Anyway, I think its better you get a good professional to have a look at your box.
|
Posted by blessen, 10-03-2008, 01:00 PM |
Even i think the apache is failing due to some kind of dDOS attack on your IP. So check your connections when your box is up.
|
Posted by txspaderz, 10-03-2008, 08:48 PM |
How about we have the OP tail his error_log so we can see where to start?
|
Posted by cookie_dude, 10-04-2008, 01:09 AM |
I upgraded to managed package and the host is looking into it But it's been over 14-15 hours and now it's getting worse.
According to them memory is gets full due to too many connection on apache. Now this is server is Intel(R) Pentium(R) 3.40GHz 945D with 2 gb ram and i have no hight traffic sites on it, 1-2 forums that too small enough that were running fine on a shared host without any problem.
Can anyone guide me ? should i post my settings file of php, mysql or apache ?
|
Posted by cookie_dude, 10-04-2008, 04:48 AM |
Ok one of the reasons for high load was a wordpress MU site old version that was being spammed. I am not sure if that was the only reason.
Server still seems a bit slow to me, can anyone do me a favour and check speed of http://ciopakistan.com/ and tell me if it's slow or fine.
Thanks
|
Posted by david510, 10-04-2008, 08:07 AM |
Its a bit slow. You can check from here.
http://alertra.com
|
Posted by 4servers, 12-28-2009, 03:50 PM |
i have same problem
*****************
httpd failed @ Mon Dec 28 20:12:26 2009. A restart was attempted automagically.
Service Check Method: [tcp connect]
**********************
how can solve it!!!!!!!!!
|
Posted by whmcsguru, 12-29-2009, 06:41 AM |
This thread is over 2 months old, and your problem is not the "same" as the other person, as you have described it.
In order to provide more help though, you need to provide information. Read through this thread (there's a reason it's sticky) before submitting new "help me" threads, it will help you get your problem resolved faster.
|
Add to Favourites Print this Article
Also Read