Re: IMAP hibernate feature committed

2015-08-29 Thread Thomas Leuxner
* Timo Sirainen 2015.08.29 12:20: > 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. dovenull 1318 0.0 0.0 18340 4772 ?S17:5

Re: IMAP hibernate feature committed

2015-08-29 Thread Timo Sirainen
On 29 Aug 2015, at 13:20, Timo Sirainen wrote: > >> 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: Also if you set mail_debug=yes Dovecot will log "Couldn't hibernate imap client:" lines if

Re: IMAP hibernate feature committed

2015-08-29 Thread Timo Sirainen
On 26 Aug 2015, at 13:33, Thomas Leuxner wrote: > > With this I see messages like this in the logs: > > Aug 26 09:48:06 nihlus dovecot: imap-hibernate(t...@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(t...@le

Re: IMAP hibernate feature committed

2015-08-28 Thread Teemu Huovila
On 08/27/2015 07:39 PM, Thomas Leuxner wrote: > * Teemu Huovila 2015.08.27 13:58: > >> Did you specify a value other than zero for 'imap_hibernate_timeout'? > > Yes I did: > > $ doveconf imap_hibernate_timeout > imap_hibernate_timeout = 1 mins > > I sometimes see one imap-hibernate process (on

Re: IMAP hibernate feature committed

2015-08-28 Thread Axel Luttgens
> Le 25 août 2015 à 01:27, Timo Sirainen a écrit : > > http://hg.dovecot.org/dovecot-2.2/rev/64c73e6bd397 > > Today I finally committed the "imap-hibernate" feature that I first started > developing about a year ago (and had been thinking about for several years > before that). The main purpos

Re: IMAP hibernate feature committed

2015-08-27 Thread Thomas Leuxner
* Teemu Huovila 2015.08.27 13:58: > Did you specify a value other than zero for 'imap_hibernate_timeout'? Yes I did: $ doveconf imap_hibernate_timeout imap_hibernate_timeout = 1 mins I sometimes see one imap-hibernate process (only one), but several imap processes active which should be idlin

Re: IMAP hibernate feature committed

2015-08-27 Thread Teemu Huovila
On 08/26/2015 01:33 PM, Thomas Leuxner wrote: > * Timo Sirainen 2015.08.25 22:21: > >> There's no good default setting here. It depends on your userdb settings >> and/or mail_uid setting. So for example if your imap processes are running >> as vmail user, you should set service imap-hibernate {

Re: IMAP hibernate feature committed

2015-08-26 Thread Thomas Leuxner
* Timo Sirainen 2015.08.25 22:21: > There's no good default setting here. It depends on your userdb settings > and/or mail_uid setting. So for example if your imap processes are running as > vmail user, you should set service imap-hibernate { unix_listener > imap-hibernate { user = vmail } }.

Re: IMAP hibernate feature committed

2015-08-25 Thread Timo Sirainen
> On 25 Aug 2015, at 20:55, Thomas Leuxner wrote: > > * Timo Sirainen 2015.08.25 17:28: > ==> /var/log/dovecot/dovecot.log <== Aug 25 09:42:07 nihlus dovecot: imap(t...@leuxner.net): Error: net_connect_unix(/var/run/dovecot/imap-hibernate) failed: Permission denied Aug 25

Re: IMAP hibernate feature committed

2015-08-25 Thread Thomas Leuxner
* Timo Sirainen 2015.08.25 17:28: > >> ==> /var/log/dovecot/dovecot.log <== > >> Aug 25 09:42:07 nihlus dovecot: imap(t...@leuxner.net): Error: > >> net_connect_unix(/var/run/dovecot/imap-hibernate) failed: Permission denied > >> Aug 25 09:42:07 nihlus dovecot: imap(t...@leuxner.net): Error: Cou

Re: IMAP hibernate feature committed

2015-08-25 Thread Timo Sirainen
On 25 Aug 2015, at 11:01, Thomas Leuxner wrote: > > * Thomas Leuxner 2015.08.25 09:45: > >>> http://hg.dovecot.org/dovecot-2.2/rev/64c73e6bd397 >> >> ==> /var/log/dovecot/dovecot.log <== >> Aug 25 09:42:07 nihlus dovecot: imap(t...@leuxner.net): Error: >> net_connect_unix(/var/run/dovecot/ima

Re: IMAP hibernate feature committed

2015-08-25 Thread Thomas Leuxner
* Thomas Leuxner 2015.08.25 09:45: > > http://hg.dovecot.org/dovecot-2.2/rev/64c73e6bd397 > > ==> /var/log/dovecot/dovecot.log <== > Aug 25 09:42:07 nihlus dovecot: imap(t...@leuxner.net): Error: > net_connect_unix(/var/run/dovecot/imap-hibernate) failed: Permission denied > Aug 25 09:42:07 nih

Re: IMAP hibernate feature committed

2015-08-25 Thread Thomas Leuxner
> http://hg.dovecot.org/dovecot-2.2/rev/64c73e6bd397 ==> /var/log/dovecot/dovecot.log <== Aug 25 09:42:07 nihlus dovecot: imap(t...@leuxner.net): Error: net_connect_unix(/var/run/dovecot/imap-hibernate) failed: Permission denied Aug 25 09:42:07 nihlus dovecot: imap(t...@leuxner.net): Error: Could

IMAP hibernate feature committed

2015-08-24 Thread Timo Sirainen
http://hg.dovecot.org/dovecot-2.2/rev/64c73e6bd397 Today I finally committed the "imap-hibernate" feature that I first started developing about a year ago (and had been thinking about for several years before that). The main purpose here is to reduce the number of imap processes and the amount