Gentoo Archives: gentoo-user

From: William Kenworthy <billk@×××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] dovecot + inotify max_user instances
Date: Tue, 07 Jan 2014 03:18:56
Message-Id: 52CB71FC.3010203@iinet.net.au
In Reply to: [gentoo-user] dovecot + inotify max_user instances by Tanstaafl
1 On 07/01/14 02:50, Tanstaafl wrote:
2 > Hello,
3 >
4 > Last year Timo (the dovecot author) remoted into our server and migrated
5 > us from courier-imap to dovecot. One of the things we ran into
6 > afterwards was this warning in the logs:
7 >
8 >> Warning: Inotify instance limit for user 200 (UID vmail) exceeded,
9 >> disabling. Increase /proc/sys/fs/inotify/max_user_instances
10 >
11 > He solved it by doing:
12 >
13 > echo 1024 > /proc/sys/fs/inotify/max_user_instances
14 >
15 > Then he said he was going to solve this permanently by changing the init
16 > script...
17
18 Why initscript? - as a user you should put this in a /etc/local.d
19 script. Leave the system files as they are.
20
21 BillK