kqueue on OSX is causing the mach kernel to panic for some reason with the
simple MPM [1]. The cherokee author has verified the problem with kqueue,
and libevent has recently disabled kqueue on OSX in favor of
select. The patch that is included disables kqueue on all flavors of OSX
0-9 against /trunk; however, the patch should be applied to the next 1.3.x
branch also.
Regards,
Ryan
[1] http://openradar.appspot.com/6444043
Index: build/apr_hints.m4
===================================================================
--- build/apr_hints.m4 (revision 723831)
+++ build/apr_hints.m4 (working copy)
@@ -194,9 +194,9 @@
*-apple-darwin*)
APR_ADDTO(CPPFLAGS, [-DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp])
APR_SETIFNULL(apr_posixsem_is_global, [yes])
- # kqueue works in 10.5/Darwin 9.x. Disable on all older versions.
+ # kqueue does not work in 10.5/Darwin 9.x and previous versions.
case $host in
- *-apple-darwin[[0-8]].*)
+ *-apple-darwin[[0-9]].*)
# kqueue is broken on OS X, the poll tests work, but the socket tests
# hang when it's turned on. if you decide to reenable this please be
# sure to test that ALL the tests continue to work with it turned on.