[erlang-questions] kqueue support

Lev Walkin vlm@REDACTED
Mon Nov 19 19:28:02 CET 2007


The patch applies cleanly to RELENG_6_1, at least.

Kip Macy wrote:
> On Nov 19, 2007 7:47 AM, Lev Walkin <vlm@REDACTED> wrote:
>>  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
>>
> 
> 
> Thanks for that information - Bob mentioned switching to Linux because
> of this issue but when I tried to follow up with the list about a
> month ago I got absolutely no responses. Bear in mind that this patch
> has only gone into HEAD, in order to be useful it needs to be MFC'd to
> RELENG_6 and RELENG_7. Assuming that happens, it will be fixed in 6.3
> and 7.0.
> 
> -Kip
> 
> 
>> === 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 ==============
>>>
>>
>> _______________________________________________
>> erlang-questions mailing list
>> erlang-questions@REDACTED
>> http://www.erlang.org/mailman/listinfo/erlang-questions
>>




More information about the erlang-questions mailing list