[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

apache restarted too often?

From: Dirk-Jan C. Binnema
Subject: apache restarted too often?
Date: Tue, 24 Feb 2004 09:57:35 +1100
User-agent: Mutt/

I am using monit (4.4.1 on Debian) to monitor an Apache webserver, and
I am seeing the following behaviour:
(access.log): - - [19/Feb/2004:08:52:47 +0100] "GET / HTTP/1.1" 200 27362 "-" 
Which seems like a valid response; however, monit still decides to
restart apache:
Restarted Service apache
        Date: Thu, 19 Feb 2004 08:52:48 +0100
        Event: 'apache' failed protocol test [HTTP] at INET[].
My monitrc says this:
check process apache with pidfile /var/run/
    start program = "/etc/init.d/apache start"
    stop program  = "/etc/init.d/apache stop"
    if failed host port 80 protocol http
       and request "/" then restart
I see this happening many times during a day (but not every time monit
checks). It does seem to correlate with the website getting more hits;
the website is still fully reachable while monit thinks it's not. 
Any hints on what is happening?
Thanks in advance,

 Dirk-Jan C. Binnema  email:  <djcb[at]djcbsoftware[dot]nl>
     [djcb]              im:          address@hidden
GPG:      BB49 41D7 053D E5F1 F333 586E C530 CBC3 4352 A39F

reply via email to

[Prev in Thread] Current Thread [Next in Thread]