ericf / express-handlebars

A Handlebars view engine for Express which doesn't suck.
BSD 3-Clause "New" or "Revised" License
2.31k stars 384 forks source link

EMFILE: Too many open files when using partials #283

Open santhoshsk1918 opened 4 years ago

santhoshsk1918 commented 4 years ago

We just started using partials this error keeps popping up in our logs

glob error { Error: EMFILE: too many open files, scandir '/home/ubuntu/node/build/releases/v3.0.3.0/prod/public/views/partials/alerts.handlebars'}

Is there a way to close files once usage is complete