On 07/20/2017 12:03 AM, Andrew Morgan wrote:
> On 07/19/2017 11:56 PM, Patrik Hagara wrote:
>> On 07/20/2017 07:42 AM, Andrew Morgan wrote:
>>> I'm currently trying to work out a bug where inotify_watch calls
>>> will fail around the 8000th folder that's created or moved in. I'm
>>> assuming this probably has to do with a limit coded somewhere so
>>> I'm looking out for that.
>>
>> Sounds like fs.inotify.max_user_watches sysctl [1] is the culprit (set
>> to 8192 by default).
>>
>>
>> Cheers,
>> Patrik
>>
>>
>> [1]
>> https://unix.stackexchange.com/questions/13751/kernel-inotify-watch-limi
>> t-reached
>>
> 
> That was it, thanks Patrik!
> 
> So should we just up this from the daemon or from within the template?
> Is there any reason not to I wonder?

Ah just checked the stackoverflow source, seems as if memory is the only
concern. We definitely don't want the daemon to be unable to correctly
mark files, so either we set it appropriately high and/or warn the user
when we've reached the limit.

> 
> Andrew Morgan
> 

Andrew Morgan

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-devel/okpktl%24j01%241%40blaine.gmane.org.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to