[Dovecot] Inotify max_user_instances
Daniel L. Miller
dmiller at amfes.com
Fri Mar 8 14:21:54 EET 2013
On 3/8/2013 12:31 AM, Steffen Kaiser wrote:
>
> see
> http://stackoverflow.com/questions/11110245/inotify-fd-why-is-the-limit-per-user-id-and-not-per-process
>
>
> Dovecot needs one inotify entity per IDLE, maybe more for internal
> purposes. So in theory, you will need: <max number of simultaneous
> users> * <number of watched mailboxes per users> + <fixed amount>,
> because you use one _system_ user for all IMAP-users.
Thanks. I actually had this increased previously - but for whatever
reason my sysctl.d/60-inotify.conf didn't get applied last reboot.
>
>> I'm also fighting a netfilter issue - my connection tracking counters
>> keep climbing. Don't know if this is in any way related.
>
> Do you use NAT on the same machine? Or some intrusion detection
> system? When you get many short connections, esp. UDP ones, the
> connection tracker fills up easily.
Yes and Yes. Could fail2ban be hurting more than it's helping?
--
Daniel
More information about the dovecot
mailing list