From: Mark H. <mhe...@cl...> - 2006-11-30 19:21:13
|
OK, I did that, but perhaps I'm missing something. The default fields provided for the output of lsof are: COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE = NAME When I grep for "local/nagios" to filter out other things that may be = running as the nagios user, I get: nagios 53577 nagios txt VREG 0,83 376432 5016784 /usr/local/nagios/bin/nagios nagios 53577 nagios 4u VREG 0,83 6 5017162 /usr/local/nagios/var/nagios.lock nagios 76606 nagios txt VREG 0,83 376432 5016784 /usr/local/nagios/bin/nagios nagios 76606 nagios 4uW VREG 0,83 6 5017162 /usr/local/nagios/var/nagios.lock nagios 76606 nagios txt VREG 0,83 376432 5016784 /usr/local/nagios/bin/nagios nagios 76606 nagios 4uW VREG 0,83 6 5017162 /usr/local/nagios/var/nagios.lock nagios 76606 nagios txt VREG 0,83 376432 5016784 /usr/local/nagios/bin/nagios nagios 76606 nagios 4uW VREG 0,83 6 5017162 /usr/local/nagios/var/nagios.lock nagios 76606 nagios txt VREG 0,83 376432 5016784 /usr/local/nagios/bin/nagios nagios 76606 nagios 4uW VREG 0,83 6 5017162 /usr/local/nagios/var/nagios.lock nagios 76606 nagios txt VREG 0,83 376432 5016784 /usr/local/nagios/bin/nagios nagios 76606 nagios 4uW VREG 0,83 6 5017162 /usr/local/nagios/var/nagios.lock nagios 76606 nagios txt VREG 0,83 376432 5016784 /usr/local/nagios/bin/nagios nagios 76606 nagios 4uW VREG 0,83 6 5017162 /usr/local/nagios/var/nagios.lock Thanks again for your kind attention to this matter! -- Mark Hennessy > -----Original Message----- > From: nag...@li...=20 > [mailto:nag...@li...] On Behalf=20 > Of Jas...@io... > Sent: Thursday, November 30, 2006 1:49 PM > To: nag...@li... > Subject: Re: [Nagios-users] Nagios 2.5 and weird problem >=20 > Try the following to see what part of the nagios process is=20 > consuming all=20 > of the resources >=20 > #lsof | grep nagios | less >=20 > ______________________________________________________________ > _________________ >=20 > Jason Shein > Network Administrator - Linux Systems > Iovate Health Sciences Inc. > 5100 Spectrum Way > Mississauga, ON L4W 5S2=20 > ( 905 ) - 678 - 3119 x 3136 > 1 - 888 - 334 - 4448, x 3136 (toll-free) > jas...@io...=20 >=20 > Customer Service. Collaboration. Innovation. Efficiency.=20 > Iovate's Information Technology Team=20 >=20 > ______________________________________________________________ > _________________ >=20 > CONFIDENTIALITY NOTICE:=20 > THIS ELECTRONIC MAIL TRANSMISSION IS PRIVILEGED AND=20 > CONFIDENTIAL AND IS > INTENDED ONLY FOR THE REVIEW OF THE PARTY TO WHOM IT IS ADDRESSED.=20 > THE INFORMATION CONTAINED IN THIS E-MAIL IS CONFIDENTIAL AND=20 > IS DISCLOSED > TO YOU UNDER THE EXPRESS UNDERSTANDING THAT YOU WILL NOT DISCLOSE IT > OR ITS CONTENTS TO ANY THIRD PARTY WITHOUT THE EXPRESS WRITTEN CONSENT > OF AN AUTHORIZED OFFICER OF IOVATE HEALTH SCIENCES SERVICES=20 > INC. IF YOU=20 > HAVE > RECEIVED THIS TRANSMISSION IN ERROR, PLEASE IMMEDIATELY RETURN IT=20 > TO THE SENDER. > ______________________________________________________________ > _________________ >=20 >=20 >=20 > "Mark Hennessy" <mhe...@cl...>=20 > Sent by: nag...@li... > 11/30/2006 01:40 PM >=20 > To > <nag...@li...> > cc >=20 > Subject > [Nagios-users] Nagios 2.5 and weird problem >=20 >=20 >=20 >=20 >=20 >=20 > I'm using FreeBSD 6.1 and Nagios 2.5 >=20 > I've just noticed my Nagios 2.5 installation doing something weird. >=20 > I have just under services being monitored by this instance=20 > of Nagios and=20 > I > see this in top: > 53577 nagios 1 119 0 2840K 2064K RUN 0 54:12 87.35%=20 > nagios >=20 > It's been doing that for the past few hours now and the only=20 > thing that=20 > seems > to stop it for a while is to kill all nagios processes and=20 > restart nagios. >=20 > What other information would be required to further determine=20 > the cause of > Nagios eating up so much CPU? > Any ideas? >=20 > -- > Mark Hennessy >=20 > -------------------------------------------------------------- > ----------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the=20 > chance to share=20 > your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge > &CID=3DDEVDEV > _______________________________________________ > Nagios-users mailing list > Nag...@li... > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when=20 > reporting any issue.=20 > ::: Messages without supporting info will risk being sent to /dev/null >=20 >=20 > -------------------------------------------------------------- > ----------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the=20 > chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge > &CID=3DDEVDEV > _______________________________________________ > Nagios-users mailing list > Nag...@li... > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS=20 > when reporting any issue.=20 > ::: Messages without supporting info will risk being sent to /dev/null >=20 |