EMFILE: too many open files, watch '.../assets/i18n/'
kelkunvictorPRO
8 months ago
Hello,
my services crash with this error :
node:internal/errors:496
ErrorCaptureStackTrace(err);
^
Error: EMFILE: too many open files, watch '/app/dist/apps/business/assets/i18n/'
The specified path is just the traduction files to display pretty error messages
Do you have any idea for me ?
Thanks
1 Replies
8 months ago
Hi, how are you opening the file ?
It's possible this comes from a lot of requests individually opening the file. Regardless, you can also try to use graceful-fs to better handle these.
Best,
Nicolas
Status changed to Awaiting User Response railway[bot] • 9 months ago