Closed xDarkicex closed 6 years ago
You should try parsing all your templates up front, before you start serving content. Particularly the ones that are constant across all views, like layout.
jade.ParseFile() immediately closes parsed files. The descriptor leakage is because of some other parts of code.
ParseFile Error Open ./app/views/layouts/application.pug too many open files, this seem to be an issue once my site begins to see continuous traffic. It will crash my server.
Parse code
` package helpers
`