[issue1998] kqueue issues with nginx

Andrey N. Oktyabrski (via DragonFly issue tracker) sinknull at leaf.dragonflybsd.org
Wed Sep 7 00:20:35 PDT 2011


Andrey N. Oktyabrski <ano at bestmx.ru> added the comment:

I have some problems between nginx and backends too.
Nginx can not see when the backend closed connection.
The nginx developers said there is a kqueue problem: kqueue does not set EV_EOF
flag. They has made test program (attached), which works well under the FreeBSD
and NetBSD, but do not work properly under DragonFly.

Using "select" or "poll" methods in the nginx solves the problem, but kqueue is
preferred.

$ uname -iprs
DragonFly 2.10-RELEASE x86_64 X86_64_GENERIC_SMP

_____________________________________________________
DragonFly issue tracker <bugs at lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1998>
_____________________________________________________Attachment:
test-kqueue.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bin00000.bin
Type: application/octet-stream
Size: 1044 bytes
Desc: "Description: Binary data"
URL: <http://lists.dragonflybsd.org/pipermail/bugs/attachments/20110907/0e5ac388/attachment-0016.bin>


More information about the Bugs mailing list