[Dovecot] Get rid of inotify in 2.1.15

Timo Sirainen tss at iki.fi
Tue Feb 19 15:50:02 EET 2013


On 19.2.2013, at 13.23, Martin Rabl <martin.rabl at rablnet.de> wrote:

> Hi,
> 
> after update to Dovecot 2.1.5 (Ubuntu 12.04, dovecot from https://launchpad.net/~kokelnet/+archive/dovecot21) we are getting a huge ;-) bunch of log entries about " imap(USERNAME): Warning: Inotify instance limit for user 5000 (UID vmail)".
> 
> At last I did an
>   echo 512 > /proc/sys/fs/inotify/max_user_instances
> 
> but the logentries did appear again after some minutes.

Make it higher. Each imap process that is in IDLE needs to have an inotify instance. So with the above you can have max. 512 IDLEing IMAP processes before you get the error.




More information about the dovecot mailing list