|
From: | mikula mali |
Subject: | TCP error |
Date: | Fri, 17 Nov 2006 16:12:03 +0000 |
Here's my monit error:
'apache' failed, cannot open a connection to INET[www.ipetitions.com:80] via TCP
and the entry in monitrc to check on apache is as follows (running on myserver.com machine):
if failed host www.myserver.com port 80 protocol http and request "/monit_token" with timeout 30 seconds for 3 times within 5 cycles then restart
So it is NOT http protocol that fails... monit simply fails to open a TCP port I guess. When there's a success, the following two lines are in the log:
'apache' succeeded connecting to INET[www.myserver.com:80] via TCP'apache' succeeded testing protocol [HTTP] at INET[www.myserver.com:80] via TCP
Does anyone have a clue what might be the problem here? Maybe something to do with TCP stack and not monit itself? I'm running this on RHEL4/Centos4_x64 system. We get decent traffic (5k hits daily), but nothing too bad and average cpu loads on the server are about 0.1 or so...
-mike _________________________________________________________________Share your latest news with your friends with the Windows Live Spaces friends module. http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mk
[Prev in Thread] | Current Thread | [Next in Thread] |