1

Topic: Warning: Inotify instance limit for user 2000 (UID vmail) exceeded, di

Am receiving this warning in the dovecot logs - how do I resolve?

Warning: Inotify instance limit for user 2000 (UID vmail) exceeded, disabling. Increase /proc/sys/fs/inotify/max_user_instances

==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
====

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Warning: Inotify instance limit for user 2000 (UID vmail) exceeded, di

Just ran into this with fully up-to-date iRedMail and iRedAdmin-Pro. We use SQL, Apache.

Customer called having gotten a "too many logins" message. I saw the message in /var/log/dovecot.log as well.

Sep 15 14:18:35 imap(XX@XXXXXX.com): Warning: Inotify instance limit for user 2000 (UID vmail) exceeded, disabling. Increase /proc/sys/fs/inotify/max_user_instances

Need a clean way to address this.

3

Re: Warning: Inotify instance limit for user 2000 (UID vmail) exceeded, di

Please append settings below in /etc/sysctl.conf:

fs.inotify.max_user_instances=256
fs.inotify.max_user_watches=256

Then run command 'sysctl -a' to load new settings. it will increase max_user_instances.

4

Re: Warning: Inotify instance limit for user 2000 (UID vmail) exceeded, di

ZhangHuangbin wrote:

Please append settings below in /etc/sysctl.conf:

fs.inotify.max_user_instances=256
fs.inotify.max_user_watches=256

Then run command 'sysctl -a' to load new settings. it will increase max_user_instances.

To load 'sysctl.conf' new settings I used 'sysctl -p' because 'sysctl -a' only list current config.

5

Re: Warning: Inotify instance limit for user 2000 (UID vmail) exceeded, di

Thanks for the correction. smile