Skip to content

Instantly share code, notes, and snippets.

@thiagosf
Last active July 24, 2019 20:20
Show Gist options
  • Save thiagosf/f7848e1303b0a836c08946df57b4c7ae to your computer and use it in GitHub Desktop.
Save thiagosf/f7848e1303b0a836c08946df57b4c7ae to your computer and use it in GitHub Desktop.
Error: Too many open files (node)

Error: Too many open files (node)

Simple test to know:

lsof | awk '{print $1}' | uniq -c | sort -n

And check the absurd number of files opened by node.

Replace fs by graceful-fs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment