Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

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

未关闭
#4,298 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
冷清
技术栈
nodejs

调研方向

从报告的 fs.watch 调用处开始检查失败的测试 test/pummel/test-fs-watch-non-recursive.js,然后查看链接的 Jenkins 运行记录以及 test-ibm-aix72-ppc64_be-2 机器的状态。确定 AIX worker 达到文件监视器限制的原因;当测试不再因这一 ENOSPC 条件而失败,并且 worker 可以恢复服务时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

incident platform:aix

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.

主要语言
Jinja
星标
541
派生
185
平均合并
2 天 18 小时
30 天内合并 PR
6

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

nodejs/build 的其他 Issue

查看 nodejs/build 的全部 Issue

相似的 Issue

更多 DevOps Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。