[erlang-questions] kqueue support

Lev Walkin <>
Mon Nov 19 16:47:03 CET 2007


 From the looks of it, someone's looking into this list:

http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/kern/sys_pipe.c
http://lists.freebsd.org/pipermail/freebsd-arch/2007-September/006790.html


=== cut ===
Mon Nov 19 15:05:20 2007 UTC (36 minutes, 42 seconds ago) by dumbbell

This should fix issues with Erlang (lang/erlang) and kqueue.
Reported by:	Rickard Green (Erlang)
=== cut ===


George B Hazan wrote:
>    Hello.
> 
> Is it possible to enable the kqueue support in erlang under FreeBSD
> 6.2-STABLE #13? Note says that 5.2 & 5.3 have some problems with kqueue, but
> maybe new versions are more stable? At least a lot of software uses it under
> FreeBSD without problems... The problem is that ejabberd uses 60% of cpu
> under 1000 http-bind connections, and kqueue is known to be a great CPU
> saver.
> 
> Right now I got the following error:
> ============== 8< ============== >8 ==============
> checking for working poll()... ok
> checking whether kqueue() is known to be broken... yes; FreeBSD
> implementation
> checking whether kernel poll support should be enabled... configure: error:
> no; kernel poll support requested but not found
> configure: error: /bin/sh
> '/usr/local/ports/work/usr/ports/lang/erlang/work/otp_src_R11B-5/erts/configure'
> failed for erts
> ============== 8< ============== >8 ==============
> 




More information about the erlang-questions mailing list