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 usage.