> too many open files
I thought nodejs magically webscales ? /sarcasm
sidenote : please ditch this horrible unreadable font in the text body.that's fine for a few headers but , Swap it with the serif font you are using in the subtitles.
Probably just hitting the fd-per-process ulimit
readFileSync ... not good not good .... nodejs is sexier async ;)
node.js is sexier when it doesn't serve stacktraces in production. Plus async files reads still happen in an internal threadpool (one thread per core, hardcoded, IIRC) so it's pretty easy to saturate that anyway, you should be caching static assets.
The express framework activates the view cache by default when configured for production, so both problems are actually the same.
I suspect it's not configured for prod, since I'm seeing a stacktrace
you are right but I'll still use async over sync anytime... :)
Idiots.......