3 Jun
2007
3 Jun
'07
6:05 p.m.
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. :)