[Dovecot] RE: epoll error when running as proxy

Bill Boebel bill at webmail.us
Fri Feb 10 00:40:58 EET 2006


> > imap-login: io_loop_handle_add: epoll_ctl(op=3, fd=10, ret=-1, errno=2):
> > No such file or directory
> >
> Could it be that similarly to kqueue on *BSD the Linux kernel
> unregisters/removes the handle automatically when it gets closed? And
> that dovecot closes it before unregistering it from epoll?
>

I don't know enough about epoll to answer that.  I do see that in
src/lib/ioloop-epoll.c, the "io_loop_handler_init()" function calls this,
which sounds related.:

       fd_close_on_exec(ctx->epfd, TRUE);

But again, I am not very familiar with the specifics of epoll.  Maybe
somebody else on this list knows?

Thanks,
Bill



More information about the dovecot mailing list