[ejabberd] kqueue support

George Hazan george.hazan at gmail.com
Fri Nov 16 18:59:36 MSK 2007


   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 ==============
-- 
WMBR, George Hazan (ghazan at postman.ru) 




More information about the ejabberd mailing list