Page 1 of 1

[Nagios-devel] OSX processor usage

Posted: Tue Sep 16, 2008 8:27 pm
by Guest
Hello folks. Long - time Nagios user. I hope this is the right place
to report a bug + a fix.

I ran into a (possible) bug in OS X 10.5.4, which I tracked-down to
poll() never timing out in the cmd file worker thread on that
platform. It looks like poll() always returns 1, whether there is
data on the pipe or not. A quick fix that shouldn't break Nagios on
other platforms and which doesn't require any configure checking of
poll() is to manually pause if poll() returns 1 with an empty pipe.

Much much longer description here:

http://www.jonathansaggau.com/blog/2008 ... trace.html

Cheers,
Jonathan Saggau





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]