IMAP hibernate feature committed
Timo Sirainen
tss at iki.fi
Sat Aug 29 10:20:38 UTC 2015
On 26 Aug 2015, at 13:33, Thomas Leuxner <tlx at leuxner.net> wrote:
>
> With this I see messages like this in the logs:
>
> Aug 26 09:48:06 nihlus dovecot: imap-hibernate(tlx at leuxner.net): Connection closed in=189 out=4252 hdr=0 body=0 del=0 exp=0 trash=0
> Aug 26 12:20:29 nihlus dovecot: imap-hibernate(tlx at leuxner.net): Connection closed in=109 out=4714 hdr=0 body=0 del=0 exp=0 trash=0
So hibernation is at least sometimes used. Here the IMAP client got disconnected while IDLEing.
> I'm a bit puzzled as to when hibernate actually kicks in because most of the time I see normal imap processes running without them being hibernated:
>
> $ ps aux | grep dovecot/imap
> vmail 8157 0.0 0.0 45624 9608 ? S 12:01 0:00 dovecot/imap
> dovenull 8158 0.0 0.0 18332 4628 ? S 12:01 0:00 dovecot/imap-login
> vmail 8159 0.0 0.0 44772 9256 ? S 12:01 0:00 dovecot/imap
> dovenull 8160 0.0 0.0 18196 4652 ? S 12:01 0:00 dovecot/imap-login
> vmail 8161 0.0 0.0 46072 9760 ? S 12:01 0:00 dovecot/imap
> dovenull 8162 0.0 0.0 18196 4548 ? S 12:01 0:00 dovecot/imap-login
> dovenull 8279 0.0 0.0 18332 4736 ? S 12:22 0:00 dovecot/imap-login
> vmail 8280 0.0 0.0 40712 5164 ? S 12:22 0:00 dovecot/imap
> dovenull 8341 0.0 0.0 18196 4740 ? S 12:25 0:00 dovecot/imap-login
> vmail 8344 0.0 0.0 46312 10568 ? S 12:25 0:00 dovecot/imap
Set verbose_proctitle=yes and you'll see what the imap processes are doing. It'll show IDLE in the ps output if the client is IDLEing. Although it doesn't say how long the client has been doing it.
More information about the dovecot
mailing list