[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Re: [Devmon] Periodic DEVMON lockup
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Re: [Devmon] Periodic DEVMON lockup
- From: "Alex Levin" <alevin (at) gmail.com>
- Date: Mon, 9 Jun 2008 15:37:15 -0700
- Cc: devmon-support (at) lists.sourceforge.net, "Kauffman, Tom" <KauffmanT (at) nibco.com>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=97kban8czdp2b0HRIj578Q9C979nEPq05Fd8+0N4ox8=; b=htrMnKKdaAfiB/TpGTwfUNp7w5HtjcqCZjL4J3elXMEMGf0ZeK2s65oYAM38jlh9D/ hXJPCtSFvQLDfmnwQoaEOVqmkhCYRe8k2ycvjC6EvmJVKPn8SAogwq+5GJwVbejtZNzk 5/hXE7IvcQzR89JyNiJ2/HdV4g3uHBTsOvhMo=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=hO0sj6VMNqj/G/I0hSW/jSv3eQ26V/yzGF/VpNKM2CKOwfzeZZHCdAje5/Za7d7Vu8 avuOvwl3XQqnmdWB3nhJRXZbcqGrGzwplh1vx4sWHIeuLQrfr1uHFWfi+x+yQDUHHfAk TW3LAYc7RuVpnuZ5AMWhBNUjITTc/bIW6wuxg=
- References: <EC70BBBBD43A8B468D2460FE1CFAAA2610A6DE38 (at) EX1.nibco.com> <C472A9EF.807A%mprice (at) sgt-inc.com>
As an altrenative to crontab job you can have hobbit restart devmon service
when it hangs ...
in hobbit-alerts.cfg
...
HOST=xxx.yyy.com COLOR=purple SERVICE=dm
SCRIPT /home/hobbit/bin/devmon_restart.sh 1234567890
...
#cat /home/hobbit/bin/devmon_restart.sh
ps -ax | grep devm | grep perl|awk '{print $1}' | xargs kill
sleep 60
ps -ax | grep devm | grep perl|awk '{print $1}' | xargs kill
sleep 10
/home/hobbit/devmon/devmon
On Mon, Jun 9, 2008 at 6:35 AM, Michael A. Price <mprice (at) sgt-inc.com> wrote:
> A lot of us have this problem, I think its a known-bug.
>
> We just setup a crontab to restart once an hour.
>
> Let us know if you figure it out, michael
>
>
> On 6/9/08 9:18 AM, "Kauffman, Tom" <KauffmanT (at) nibco.com> wrote:
>
>
>
> Devmon is hanging for me, on average once per day. No error messages
> anywhere that I can see, no entries in the log, nothing.
>
> All the processes are present.
>
> The 'fix' is to kill the master, wait for all the child processes and the
> master to exit, and restart. I now have a hobbit extension script checking
> the last dm status and killing devmon if the update was over 4 minutes old.
>
> What can I do to get a better handle on the error?
>
> Tom Kauffman
> NIBCO INC
> CONFIDENTIALITY NOTICE: This email and any attachments are for the
> exclusive and confidential use of the intended recipient. If you are not
> the intended recipient, please do not read, distribute or take action in
> reliance upon this message. If you have received this in error, please
> notify us immediately by return email and promptly delete this message
> and its attachments from your computer system. We do not waive
> attorney-client or work product privilege by the transmission of this
> message.
>
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Devmon-support mailing list
> Devmon-support (at) lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/devmon-support
>
>
>
>