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

System limit for number of file watchers reached when using millions of reads #90

Open
jagos01 opened this issue May 20, 2021 · 1 comment

Comments

@jagos01
Copy link

jagos01 commented May 20, 2021

when running rampart with a large number of reads (~2 milion) I get the following error:

(node:13233) UnhandledPromiseRejectionWarning: Error: ENOSPC: System limit for number of file watchers reached, watch '/home/data1/Raw_Data/ncov2_seq/Z444_Zymo/ghac_4.5.4-2/pass/fastq_runid_0792bc9fc34b63218e65ffa397ba92c0fa945c17_2299_1.fastq'
at FSWatcher.start (internal/fs/watchers.js:169:26)
at Object.watch (fs.js:1444:11)
at createFsWatchInstance (/mnt/data0/miniconda3/envs/artic/lib/node_modules/artic-rampart/node_modules/chokidar/lib/nodefs-handler.js:118:15)
at setFsWatchListener (/mnt/data0/miniconda3/envs/artic/lib/node_modules/artic-rampart/node_modules/chokidar/lib/nodefs-handler.js:165:15)
at NodeFsHandler._watchWithNodeFs (/mnt/data0/miniconda3/envs/artic/lib/node_modules/artic-rampart/node_modules/chokidar/lib/nodefs-handler.js:330:14)
at NodeFsHandler._handleFile (/mnt/data0/miniconda3/envs/artic/lib/node_modules/artic-rampart/node_modules/chokidar/lib/nodefs-handler.js:360:23)
at NodeFsHandler._addToNodeFs (/mnt/data0/miniconda3/envs/artic/lib/node_modules/artic-rampart/node_modules/chokidar/lib/nodefs-handler.js:620:21)
(node:13233) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2178)

Do you have any suggestions on how to resolve this issue?
Thanks,
Scott

@BenjaminSchwessinger
Copy link

Hi there. We are getting a similar error with about 1.75 Million reads. Any pointers welcome.

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

2 participants