On Thu, 2011-03-31 at 09:41 +0300, Adrian Stoica wrote: > Hi > > I allready have set 256 on max_user_instances , and in the log i keep > seeing > Mar 28 10:08:44 mail dovecot: imap(some.username): Warning: Inotify > instance limit for user 98 (UID vmail) exceeded, disabling. Increase > /proc/sys/fs/inotify/max_user_instances
Note that kernel only sees vmail as the user for everyone. > What can i do to resolve this issue ? Increase it more! > service imap { > process_limit = 2048 You can have a maximum of 2048 IMAP connections and every one of them could be IDLEing and using one inotify instance. So set it to 2048.