monit-general
[Top][All Lists]
Advanced

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

Re: error reading process status


From: Martin Pala
Subject: Re: error reading process status
Date: Tue, 02 Mar 2004 08:08:23 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040122 Debian/1.6-1

Georges Toth wrote:
Hi,

recently i got some weird problems with apache and now with sendmail too.
when i start monit, and apache _is_ running, monit starts it again.
but, the script doesn't allow starting apache twice, so it ignores it.

monit is just fine with that and monitors apache normally.

for sendmail..... i had to upgrade sendmail. when i was finished, i enabled monitoring again. i immediately got alert-mails from monit, telling me it has timedout with sendmail.
but sendmail was running and working.

restarting monit solved the problem.

i'm using monit 4.2beta


Is this problem reproducible? Has it happened after monit upgrade (for example to mentioned 4.2-beta) or is this problem monit version independent? What's your platform (operating system)?

Please try to run monit in debug mode (with "-v" switch), then send your monitrc and logs for the problematic timeframe, we can look on it.

I'm not able to replicate this problem on my station - when i start monit and the monitored process is running already, monit will notice it and produce following message in verbose mode (doesn't try to start it again):

[CET Mar  1 21:23:30] 'slapd' is running with pid 499
[CET Mar  1 21:23:30] 'slapd' zombie check passed [status_flag=0000]
[CET Mar  1 21:23:30] 'slapd' check_process_state() passed.
[CET Mar 1 21:23:30] 'slapd' cpu usage check passed [current cpu usage=1.2%]
[CET Mar  1 21:23:30] 'slapd' succeeded connecting to INET[127.0.0.1:389]
[CET Mar 1 21:23:30] 'slapd' succeeded testing protocol [LDAP3] at INET[127.0.0.1:389]


Thanks,
Martin




reply via email to

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