[MacPorts] #16563: Nagios 3.0.3 Spins processor

MacPorts noreply at macports.org
Tue Sep 16 21:35:59 PDT 2008


#16563: Nagios 3.0.3 Spins processor
------------------------------+---------------------------------------------
 Reporter:  saggau at gmail.com  |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect            |      Status:  new                                  
 Priority:  Normal            |   Milestone:  Port Bugs                            
Component:  ports             |     Version:  1.6.0                                
 Keywords:                    |        Port:                                       
------------------------------+---------------------------------------------
 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.
 [[BR]]
 Much much longer description here:
 [[BR]]
 http://www.jonathansaggau.com/blog/2008/09/using_shark_and_custom_dtrace.html
 [[BR]]
 I have reported this to the Nagios-devel mailing list as well.

-- 
Ticket URL: <http://trac.macports.org/ticket/16563>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list