Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] dovecot + inotify max_user instances
Date: Wed, 08 Jan 2014 05:11:28
Message-Id: 608c2787-d621-4f22-815b-225738a7f535@email.android.com
In Reply to: Re: [gentoo-user] dovecot + inotify max_user instances by Tanstaafl
1 Tanstaafl <tanstaafl@×××××××××××.org> wrote:
2 >On 2014-01-06 2:53 PM, covici@××××××××××.com <covici@××××××××××.com>
3 >wrote:
4 >> I put such a thing in /etc/sysctl.conf like this -- I don't have
5 >> dovecot, but I needed it for crashplan
6 >> fs.inotify.max_user_watches=1000000
7 >> or whatever value suits.
8 >
9 >Ok, after your and Alans comments and some more reading, I guess I
10 >agree, but...
11 >
12 >man sysctl, and the README in /etc/sysctl.d aren't very helpful.
13 >
14 >Would the proper line be:
15 >
16 ># Increase inotify.max_user_instances for dovecot
17 >fs.inotify.max_user_instances=1024
18 >
19 >?
20 >
21 >And how would I have ascertained this? Ie, I wouldn't have known to use
22 >
23 >the fs.prefix...
24 >
25 >Thanks
26
27 Tanstaafl,
28
29 You remove '/proc/sys/' from the path. Then replace every '/' with a '.' :)
30
31 --
32 Joost
33 --
34 Sent from my Android device with K-9 Mail. Please excuse my brevity.