error: EMFILE, too many open files
I pulled the latest code from the repo yesterday and I get "error: EMFILE, too many open files" at startup. Upon looking further there were recommendations for using "graceful-fs" instead of "fs" module. The problems seems to have come back up again. Anyone else have the same issue.
I know that this has been for forever since this was posted. But this can still happen.
You can check your current EMFILE limit with "uname -n". Typically this will be set to 1024.
You can raise this temporarily to something much higher like this...
uname -e 20480
That will typically fix things.
@scottalanmiller that's weird, we do use graceful-fs which should handle that automatically
It's possible in done cases this doesn't apply before an operation is executed. When did you encounter an issue?