On 02/24/2012 11:37 AM, Sven Nierlein wrote: > On 2/24/12 11:26, Andreas Ericsson wrote: >> On 02/23/2012 07:50 PM, Sven Nierlein wrote: >>> On 2/23/12 19:33, Mike Lindsey wrote: >>>> Turns out that's the problem. I've rebuilt from source and it >>>> loads, now to get our package maintainer to rebuild the package. >>>> And to figure out why mod_gearman_worker's children keep >>>> segfaulting. >>> Seems to be freebsd related. A colleague could reproduce that with >>> freebsd 8. >>> >> Probably caused by fork() in threads. All bsd's are notoriously and >> retardedly picky about things like that, so programs that work just >> splendidly on Linux sometimes fail on *BSD. > > Mixing threads and forks is not a good idea on linux too. The NEB module > part uses threads but no forks. The worker uses only forks but no threads. > Currently it seems to be a small problem in different behaviour of strdup(). >
But Nagios uses fork() aplenty after lots of threads have been created. I know this has been a source of problem many a time before. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Nagios-users mailing list Nagios-users@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