node-persist icon indicating copy to clipboard operation
node-persist copied to clipboard

(node:1127) UnhandledPromiseRejectionWarning: Error: EMFILE: too many open files, open '.node-persist/storage/filename'

Open jpleva91 opened this issue 7 years ago • 1 comments

Version: v9.5.0 Platform: Linux Node-persist version: 3.0.1

Reading json files stored under the storage folder, and getting an error intermittently.

(node:1127) UnhandledPromiseRejectionWarning: Error: EMFILE: too many open files, open '.node-persist/storage/#####'

jpleva91 avatar Oct 30 '18 21:10 jpleva91

I'm running into the same issue on AWS Lambda, which has a hard limit of 1024 file descriptors...

deldrid1 avatar Sep 10 '24 19:09 deldrid1