Created attachment 152385 [details] Fix for workers. Until it is fixed in upstream, you could apply these two small patches to nagios-4.0.8 for correct creation of workers, and for too big CPU load. http://tracker.nagios.org/view.php?id=667
Auto-assigned to maintainer mat@FreeBSD.org
Created attachment 152386 [details] patch-lib__nsock.c I'm sorry, I always forget "purpose" of Description.
Created attachment 152387 [details] patch-lib__iobroker.c
I'm really sorry - I have tried to add the second patch, but it repeatedly ended with a bug, that I have to reenter source file name. So I filled another bug report (197206), however, when I returned to original bug report, the second attachment is here. How many times I already told, that I hate bugzilla? :o(
Ok. Hope last my comment: Reference for too big CPU load: http://tracker.nagios.org/view.php?id=668
A commit references this bug: Author: mat Date: Tue Feb 17 13:11:07 UTC 2015 New revision: 379159 URL: https://svnweb.freebsd.org/changeset/ports/379159 Log: Add a couple of patches to fix the number of workers and CPU load. While there, regen patches, and update pkg-message to apache 2.4. PR: 197204 Submitted by: Rudolf ?ejka Sponsored by: Absolight Changes: head/net-mgmt/nagios4/Makefile head/net-mgmt/nagios4/files/extra-patch-html__side.php head/net-mgmt/nagios4/files/patch-Makefile.in head/net-mgmt/nagios4/files/patch-base__Makefile.in head/net-mgmt/nagios4/files/patch-cgi__Makefile.in head/net-mgmt/nagios4/files/patch-configure head/net-mgmt/nagios4/files/patch-contrib__Makefile.in head/net-mgmt/nagios4/files/patch-html__main.php head/net-mgmt/nagios4/files/patch-lib_iobroker.c head/net-mgmt/nagios4/files/patch-lib_nsock.c head/net-mgmt/nagios4/files/patch-sample-config__cgi.cfg.in head/net-mgmt/nagios4/files/patch-sample-config__nagios.cfg.in head/net-mgmt/nagios4/files/patch-sample-config__template-object__localhost.cfg.in head/net-mgmt/nagios4/files/patch-sample-config__template-object__templates.cfg.in head/net-mgmt/nagios4/files/pkg-message.in