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

Re: [hobbit] Re: [Devmon] Periodic DEVMON lockup



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