[Dovecot] Dovecot waking every 50ms when doing nothing

Timo Sirainen tss at iki.fi
Sun Jun 3 18:05:36 EEST 2007


On Sun, 2007-06-03 at 14:06 +0100, Ross Burton wrote:
> Hi,
> 
> My laptop runs a local IMAP server so that I'm immune from breaking my
> mail client, and when playing around with powertop I discovered that
> Dovecot (in particular imap-login) wakes up every 1000ms and then every
> 50ms even when no clients are connected.  A bit of stracing shows this:

I did once try to reduce these unnecessary wakeups, but then I thought
it's probably not worth the trouble. No-one's going to run an IMAP
server in their laptop.. :)

This fixes it for imap/pop3-login:
http://hg.dovecot.org/dovecot/rev/0021765627f3

Fixing dovecot-auth and dovecot processes is a bit more difficult.
Patches welcome. :)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070603/61afb3e3/attachment.bin 


More information about the dovecot mailing list