[MonoDevelop] Which >8K files is MonoDevelop monitoring using inotify watches?

Robert Jordan robertj at gmx.net
Sun Mar 14 12:50:04 EDT 2010


On 14.03.2010 16:27, Martin Olsson wrote:
> Robert Jordan wrote:
>> On 13.03.2010 22:20, Martin Olsson wrote:
>>> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/408981
>>> http://monodevelop.com/Inotify_Watches_Limit
>>>
>>> I read the wiki but I can't figure out one thing.
>>> What does MonoDevelop need eight _thousand_ inotify watches
>>> for before I have even opened a solution/project?
>>
>> It does not need them at this moment. It's just emitting
>> the warning at this stage.
>
> Ok, but what hypothetical use do you have for 8K inotify watches?

This is definitely not a hypothetical value. The max number of
watches is a *per-user* value shared by all user's processes
at a given time.

Since inotify needs at least one watcher per directory, 8K is really
not too large, eg. it could be easily reached by attaching only one
recursive FileSystemWatcher to $HOME. MD does not do this, though,
but other processes may.

> This warning happens both with Ubuntu Lucid and Ubuntu Lucid coupled
> with a mainline .34-rc1 kernel. I assume the warning does not appear
> in OpenSUSE? If so, is that because OpenSUSE carries a kernel patch
> that changes the default maximum inotify watches limit?

No idea.

Robert



More information about the Monodevelop-list mailing list