[erlang-questions] kqueue support

Lev Walkin <>
Tue Dec 4 14:13:14 CET 2007


We've been using this patch in a loaded production 6.1
system for a couple of weeks already. I think this
validates its stability.

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