Title: [opsview-base] [211] Use select for ioworkers.
Revision
211
Author
tvoon
Date
2013-02-08 12:56:30 +0000 (Fri, 08 Feb 2013)

Log Message

Use select for ioworkers. epoll seems to fail silently on centos5/rhel5,
so we will just use select across the board

Modified Paths

Modified: trunk/Makefile
===================================================================
--- trunk/Makefile	2013-02-07 16:56:21 UTC (rev 210)
+++ trunk/Makefile	2013-02-08 12:56:30 UTC (rev 211)
@@ -565,10 +565,12 @@
 	 	patch -p1 < ../patches/nagios_solaris_rlimit.patch && \
 		patch -p1 < ../patches/nagios_solaris_compile_errors_for_comments_h.patch ; \
 	fi
-	# patch io broker to use select
-	if [ $(KERNEL_NAME) = SunOS ] ; then \
-		cd ${NAGIOS} && patch -p1 < ../patches/nagios_solaris_uses_select.patch ; \
-	fi
+	# We patch IO broker to use select. epoll fails sometimes on centos5/rhel5.
+	# The test-iobroker also has quite a few failures (or at least not as many successes)
+	cd ${NAGIOS} && patch -p1 < ../patches/nagios_solaris_uses_select.patch
+	#if [ $(KERNEL_NAME) = SunOS ] ; then \
+	#	cd ${NAGIOS} && patch -p1 < ../patches/nagios_solaris_uses_select.patch ; \
+	#fi
 	# The following two should be fixed after 4.0.20130107
 	cd ${NAGIOS} && patch -p1 < ../patches/nagios_cgis_read_object_cache_location.patch
 	cd ${NAGIOS} && patch -p1 < ../patches/nagios_fix_cgi_tests.patch

_______________________________________________
Opsview-checkins mailing list
Opsview-checkins@lists.opsview.org
http://lists.opsview.org/lists/listinfo/opsview-checkins

Reply via email to