nodejs / nodejs/build

AIX: Error: ENOSPC: System limit for number of file watchers reached,

Open
#4,298 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

incident platform:aix
Dominant language
Jinja
Stars
541
Forks
185
Avg merge
22h 15m
Merged PRs (30d)
4

Description

File watch tests on test-ibm-aix72-ppc64_be-2 are failing,
e.g. https://ci.nodejs.org/job/node-test-commit-aix/nodes=aix72-power9/62122/

16:37:24 not ok 4849 pummel/test-fs-watch-non-recursive
16:37:24   ---
16:37:24   duration_ms: 208.57600
16:37:24   severity: fail
16:37:24   exitcode: 1
16:37:24   stack: |-
16:37:24     node:internal/fs/watchers:329
16:37:24         throw error;
16:37:24         ^
16:37:24     
16:37:24     Error: ENOSPC: System limit for number of file watchers reached, watch '/home/iojs/build/.tmp.4848'
16:37:24         at FSWatcher.<computed> (node:internal/fs/watchers:321:19)
16:37:24         at Object.watch (node:fs:2532:36)
16:37:24         at /home/iojs/build/workspace/node-test-commit-aix/nodes/aix72-power9/test/pummel/test-fs-watch-non-recursive.js:42:22
16:37:24         at /home/iojs/build/workspace/node-test-commit-aix/nodes/aix72-power9/test/common/index.js:508:15
16:37:24         at Object.<anonymous> (/home/iojs/build/workspace/node-test-commit-aix/nodes/aix72-power9/test/pummel/test-fs-watch-non-recursive.js:60:3)
16:37:24         at Module._compile (node:internal/modules/cjs/loader:1829:14)
16:37:24         at Object..js (node:internal/modules/cjs/loader:1969:10)
16:37:24         at Module.load (node:internal/modules/cjs/loader:1552:32)
16:37:24         at Module._load (node:internal/modules/cjs/loader:1354:12)
16:37:24         at wrapModuleLoad (node:internal/modules/cjs/loader:255:19) {
16:37:24       errno: -28,
16:37:24       syscall: 'watch',
16:37:24       code: 'ENOSPC',
16:37:24       path: '/home/iojs/build/.tmp.4848',
16:37:24       filename: '/home/iojs/build/.tmp.4848'
16:37:24     }
16:37:24     
16:37:24     Node.js v26.0.0-pre
16:37:24   ...

I've taken the machine offline in Jenkins.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the failing test/pummel/test-fs-watch-non-recursive.js at the reported fs.watch call, then review the linked Jenkins run and the test-ibm-aix72-ppc64_be-2 machine state. Determine why the AIX worker reaches its file-watcher limit; done means the test no longer fails for this ENOSPC condition and the worker can return to service.

Written by the indexing model from the issue text.

Assessment

Tech stack
nodejs
Domain
infrastructure, operating-systems, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.