limit for user exceeded

Maciej Milaszewski maciej.milaszewski at iq.pl
Tue Mar 31 15:31:59 EEST 2020


Hi
I Dont understand or  I im thinking wrong:

process_limit = 25000


Older:

#fs.inotify.max_user_watches= 8192
#fs.inotify.max_user_instances = 16384

New:
fs.inotify.max_user_instances = 8192
 
fs.inotify.max_user_watches= process_limit x 2 + fs.inotify.max_user_instances
fs.inotify.max_user_watches= 58192


On 31.03.2020 13:44, Aki Tuomi wrote:
> I would prefer replies on the list... =)
>
> no. the idea is to *increase* the *current* value of fs.inotify.max_user_watches and fs.inotify.max_user_instances with 50000
>
> fs.inotify.max_user_watches = 8192 + 50000 = 58192
>
> Aki
>
>> On 31/03/2020 14:21 Maciej Milaszewski <maciej.milaszewski at iq.pl> wrote:
>>
>>  
>> Hi
>> How I understood it correctly
>>
>> service imap {
>>   process_limit = 25000
>> }
>>
>> fs.inotify.max_user_watches= 50000
>> fs.inotify.max_user_instances = 50000
>>
>> ?
>>
>>
>> On 31.03.2020 12:14, Aki Tuomi wrote:
>>> Sorry, ment that we *increase* the current value with twice the process limit for IMAP.
>>>
>>> Aki
>>>
>>>> On 31/03/2020 13:12 Aki Tuomi <aki.tuomi at open-xchange.com> wrote:
>>>>
>>>>  
>>>> We usually set them to twice the number of process_limit for imap.
>>>>
>>>> Aki
>>>>
>>>>> On 31/03/2020 12:29 Maciej Milaszewski <maciej.milaszewski at iq.pl> wrote:
>>>>>
>>>>>  
>>>>> Hi
>>>>> System debian 8.11 dovecot-2.2.36.4 and I have some warnings in log likes:
>>>>>
>>>>> Warning: Inotify watch limit for user exceeded, disabling. Increase
>>>>> /proc/sys/fs/inotify/max_user_watches
>>>>>
>>>>>
>>>>> cat /proc/sys/fs/inotify/max_user_watches
>>>>> 8192
>>>>>
>>>>> in sysctl i change
>>>>>
>>>>> #fs.inotify.max_user_watches= 8192
>>>>> #fs.inotify.max_user_instances = 16384
>>>>>
>>>>> fs.inotify.max_user_watches= 16384
>>>>> fs.inotify.max_user_instances = 24576
>>>>>
>>>>> One questions - should these values be equal?




More information about the dovecot mailing list