#16563 closed defect (fixed)
Nagios 3.0.3 Spins processor
Reported by: | saggau@… | Owned by: | markd@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | Cc: | ||
Port: | nagios |
Description
I ran into a (possible) bug in Nagios 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. You may want to use your poll() emulator, though.
Much much longer description here:
http://www.jonathansaggau.com/blog/2008/09/using_shark_and_custom_dtrace.html
I have reported this to the Nagios-devel mailing list as well.
Change History (7)
comment:1 Changed 16 years ago by jmroot (Joshua Root)
Cc: | saggau@… removed |
---|---|
Owner: | changed from macports-tickets@… to markd@… |
Port: | nagios added |
comment:2 Changed 16 years ago by sstout@…
Nagios 3.0.4 has been released on 10/15/08. Please update the portfile ASAP. Thanks!
comment:3 Changed 16 years ago by markd@…
Updated in r41005. Changelog says it is supposed to fix the issue. Please test it.
comment:5 follow-up: 6 Changed 16 years ago by markd@…
BTW, thanks so much for the due diligence in reporting the problem to the developer! That helps us all.
comment:6 Changed 16 years ago by saggau@…
Replying to markd@…:
BTW, thanks so much for the due diligence in reporting the problem to the developer! That helps us all.
I'm very (very!) happy to be able to return some tiny portion of the effort the OSS community makes on my behalf. JS
Assigning to maintainer.