Re(2): Abnormal Program Termination
Morris, Patrick
patrick.morris at hp.com
Wed May 17 03:05:14 CEST 2006
For what it's worth, a reload (which, depending on your init scripts, is
probably just a "kill -HUP" to the Nagios process) often gives me the
same results.
I've been seeing this issue for years, and have never found a good fix
for it. I've ended up doing the kill -9 thing myself when Nagios hangs
on me (though I've automated it because it happens quite often on a few
of the Nagios installations I deal with), and that works pretty well
most of the time.
-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of jeff vier
Sent: Tuesday, May 16, 2006 2:33 PM
To: Robert Snyder
Cc: Nagios Users
Subject: Re: Re(2): [Nagios-users] Abnormal Program Termination
On Tue, 2006-05-16 at 17:23 -0400, Robert Snyder wrote:
> On Tue, May 16, 2006, jeff vier wrote:
>
> >Stop Nagios.
> >
> >Kill all the zombie Nagios processes.
> >
> >Start Nagios.
> >
> >Done.
>
> Thanks. That did the trick.
>
> What is the best way to update nagios once you have made changes to
> the .cfg files. I had been using stop/start. But I am guessing that is
> what gave me all the zombie processes. Is it better form to just use
> the reload and force-reload commands?
I wrote some extra logic into the init script to wait for the processes
to die (echoing a dot every second it waits..........).
If it doesn't die efficiently, I open another SSH session and manually
kill -9 the hung process(es).
I don't know if reload would work or not, though.
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list