
10-03-2008, 10:43 AM
|
|
|
|
httpd on server failed Help
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 ?
|

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.
__________________
SYN Hosting - Affordable, Reliable & Secure
FreeBSD -/- cPanel -/- RVSkin -/- RVSiteBuilder Pro
http://www.synhosting.com - New Website Coming Soon!
|

10-03-2008, 11:05 AM
|
|
|
also check the connections to your server. maybe you have to many try with
Quote:
|
netstat -n | grep :80 |wc -l
|
maybe you have too many connections and apache can't handle all the requests.
|

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.
|

10-03-2008, 12:27 PM
|
|
|
Quote:
Originally Posted by cookie_dude
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.
|
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
|

10-03-2008, 12:58 PM
|
|
View Beta Profile
Web Hosting Master
|
|
Join Date: Aug 2003
Location: Gods Own Country
Posts: 766
|
|
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.
__________________
Blessen Cherian
Follow me on twitter.com/blessenonly
My son turned one on Dec 25th 2009
|

10-03-2008, 01:00 PM
|
|
View Beta Profile
Web Hosting Master
|
|
Join Date: Aug 2003
Location: Gods Own Country
Posts: 766
|
|
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.
__________________
Blessen Cherian
Follow me on twitter.com/blessenonly
My son turned one on Dec 25th 2009
|

10-03-2008, 08:48 PM
|
|
View Beta Profile
Junior Guru Wannabe
|
|
Join Date: May 2008
Location: Houston
Posts: 43
|
|
How about we have the OP tail his error_log so we can see where to start?
|

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 ?
Code:
root@server [/etc/httpd/logs]# ps aux | grep httpd | wc -l
153 (where 153 is the amount of active connections)
This command will display how much memory is available to the server:
root@server [/etc/httpd/logs]# free -m
total used free shared buffers cached
Mem: 2019 1960 58 0 25 298
|

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
|

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!!!!!!!!!
|

12-29-2009, 06:41 AM
|
|
View Beta Profile
Temporarily Offended
|
|
Join Date: Sep 2002
Location: inside your network
Posts: 7,124
|
|
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.
__________________
<?php
print("insert random signature here");
print("witty links go in here");
print("custom funny advert here");
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
| Postbit Selector |
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|