[Bug 5323] New: watchman demands huge number of monitored files

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Tue Aug 9 22:57:55 UTC 2016


https://bz.mercurial-scm.org/show_bug.cgi?id=5323

            Bug ID: 5323
           Summary: watchman demands huge number of monitored files
           Product: Mercurial
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: fsmonitor
          Assignee: bugzilla at selenic.com
          Reporter: sphink at gmail.com
                CC: mercurial-devel at selenic.com

I used to use watchman successfully via hgwatchman, but since upgrading to hg
3.9 and switching to fsmonitor, it now keeps breaking and saying I need to
increase the number of monitored files.

It started out at 8192, and still wasn't happy when I bumped it to 65536. It
never complained before with hgwatchman.

I do have some large untracked directories inside of my tracked directories.
Perhaps the behavior wrt those has changed? (Just speculating wildly.)

warning: Watchman unavailable: A non-recoverable condition has triggered. 
Watchman needs your help!
The triggering condition was at timestamp=1470783293:
inotify-add-watch(/home/sfink/src/mozilla2/testing/web-platform/tests/presentation-api/receiving-ua)
-> The user limit on the total number of inotify watches was reached; increase
the fs.inotify.max_user_watches sysctl

I tried playing with it to recreate the problem, but so far it's only made me
bump it from 8192 -> 65536. I will continue using it to see if it gets angry
again. But previously, 8192 was enough.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list