Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENOSPC: System limit for number of file watchers reached #1577

Open
bes-internal opened this issue Oct 19, 2023 · 0 comments
Open

ENOSPC: System limit for number of file watchers reached #1577

bes-internal opened this issue Oct 19, 2023 · 0 comments

Comments

@bes-internal
Copy link
Contributor

bes-internal commented Oct 19, 2023

Ungit trying watch all files in subdirs, ignore .gitignore, and dies. But should only watch to tracked files(git ls-files).

2023-10-19T12:54:30.466Z - error: Error: ENOSPC: System limit for number of file watchers reached, watch '/var/www/00host/core/test_38/vendor/local/lib/perl5/site_perl/5.36.1/x86_64-linux/auto/Mozilla/CA'
at FSWatcher.<computed> (node:internal/fs/watchers:247:19)
at Object.watch (node:fs:2442:36)
at /usr/lib64/node_modules/ungit/node_modules/node-watch/lib/watch.js:398:22
    asNativeRecursive (/usr/lib64/node_modules/ungit/node_modules/node-watch/lib/has-native-recursive.js:61:12)
    at Watcher.watchDirectory (/usr/lib64/node_modules/ungit/node_modules/node-watch/lib/watch.js:381:3)
    at /usr/lib64/node_modules/ungit/node_modules/node-watch/lib/watch.js:414:16
    at /usr/lib64/node_modules/ungit/node_modules/node-watch/lib/watch.js:143:35
    at Array.forEach (<anonymous>)
    at /usr/lib64/node_modules/ungit/node_modules/node-watch/lib/watch.js:141:13
    at FSReqCallback.oncomplete (node:fs:189:23)
Stopped keeping ungit alive

version: 1.5.23+68bfabe6

Related to #1544

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant