Orphan Processes
Xavier LEVRAT
xlevrat at yahoo.fr
Wed Feb 20 16:29:19 CET 2008
Hi list,
We arecurrently monitoring 220 Host and 3000 services with NAGIOS 2.5 on Solaris 8.The web server and the CGIs are chrooted, but Nagios core is out of the jail.We use symlinks to ensure the communication between the CORE and the CGIs.
We notice
that some hosts and services suddenly disappear on the web interface. According
to the FAQ, this is due to multiple main nagios process in memory.
We are surethat Nagios init script is run just once and then watch nagios processes
Here is theresult:
-bash-3.1#ps -eaf|grep -i nagios.cfg|grep -v grep;echo;echo;echo
nagios
8188 1 0 15:15:24 ? 0:00 /usr/local/bin/nagios -d/usr/local/etc/nagios.cfg
nagios 10334 1
3 Feb 19 ? 138:44 /usr/local/bin/nagios -d/usr/local/etc/nagios.cfg
nagios
8200 10334 0 15:15:24? 0:00 /usr/local/bin/nagios -d/usr/local/etc/nagios.cfg
nagios
8197 1 0 15:15:24 ? 0:00 /usr/local/bin/nagios -d/usr/local/etc/nagios.cfg
-bash-3.1#ps -eaf|grep -i nagios.cfg|grep -v grep;echo;echo;echo
nagios
8188 1 0 15:15:24 ? 0:00 /usr/local/bin/nagios -d/usr/local/etc/nagios.cfg
nagios 10334 1
3 Feb 19 ? 138:44 /usr/local/bin/nagios -d/usr/local/etc/nagios.cfg
nagios
8200 10334 1 15:15:24? 0:00 /usr/local/bin/nagios -d/usr/local/etc/nagios.cfg
nagios
8204 8200 0 15:15:24 ? 0:00 /usr/local/bin/nagios -d/usr/local/etc/nagios.cfg
-bash-3.1#ps -eaf|grep -i nagios.cfg|grep -v grep;echo;echo;echo
nagios
8188 1 0 15:15:24 ? 0:00 /usr/local/bin/nagios -d/usr/local/etc/nagios.cfg
nagios 10334 1
3 Feb 19 ? 138:44 /usr/local/bin/nagios -d/usr/local/etc/nagios.cfg
nagios
8204 1 0 15:15:24 ? 0:00 /usr/local/bin/nagios -d/usr/local/etc/nagios.cfg
nagios
8210 10334 1 15:15:24 ? 0:00 /usr/local/bin/nagios -d/usr/local/etc/nagios.cfg
Mainprocess id is 10334, and we see it forking frequently. Some childs fork inturn, then die, letting orphan processes …
What aboutthose orphan processes staying in memory ? Is it Nagios’ normal behaviour ? Doservices and host disappear suddenly because of this ?
Thanks foryour advices !
Regards
Xavier
_____________________________________________________________________________
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail http://mail.yahoo.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080220/f45c3cc9/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-------------- next part --------------
_______________________________________________
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