[Dovecot] BSD people, please test kqueue changes
tss at iki.fi
Thu Aug 17 13:21:14 EEST 2006
On Thu, 2006-08-17 at 08:36 +0200, Geert Hendrickx wrote:
> On Thu, Aug 17, 2006 at 12:45:46AM +0300, Timo Sirainen wrote:
> > Hmm.. Wonder if this is a valid event actually. Maybe the whole call
> > should be removed, since it's possible that this happens if an I/O
> > handler calls io_remove() for a fd that's already in the returned events
> > list. I couldn't reproduce this doing the same with epoll code though.
> > So.. What if you just comment out the i_panic() call in the end of
> > ioloop-kqueue.c, does it work then?
> Yes, then of course it keeps running (in a non-production environment).
I think it might just as well have not worked at all then anyway :)
Also if you now trace all of Dovecot's processes, do they show that
they're nicely waiting in kevent() syscall, or is it doing lots of
kevent() calls constantly? I guess that should also increase its CPU
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20060817/2eb69c56/attachment.pgp
More information about the dovecot