DragonFly bugs List (threaded) for 2009-09
DragonFly BSD
DragonFly bugs List (threaded) for 2009-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: [issue1513] Postfix kqueue(2) support broken


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 17 Sep 2009 09:30:18 -0700 (PDT)

:Alexander Polakov <polachok@gmail.com> added the comment:
:
:>If it is a file descriptor limit it will be a different issue than
:>the postfix kqueue failure.
:It works fine with kqueue disabled ("using select polling") with the same n=
:umber=20
:of torrents. So select() is not affected by the file descriptor limit?

    No, but select() probably wouldn't return EBADF if a bad descriptor
    were specified in the bitmap.

    Did using kqueue w/rtorrent work in an earlier kernel?  It still feels
    like it's a different problem but the only way to really tell would be
    to instrument the kernel with some kprintf()'s for kevent() to track
    down which element in the event array being passed is causing the
    error.

    The kevent call is being called with a change list but no event
    return list so any error in the change list will cause the call to
    fail with that error (instead of recording it in a returned event
    list).  Presumably some descriptor within that event list has been
    closed.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]