Forums

EMFILE: too many open files, open '/home/{account}/.npm/_cacache

ulimit -a shows file locks unlimited, but not for node?

I have an application that uses node, has a react frontend, and the action is python and playwright.

Is this not a candidate for PythonAnywhere? Do I maybe need to upgrade from $5 a month?

Or to find a VPS somewhere else?

I think upgrading your account might solve your issue, since the file limit will be higher. You can always try this and request a refund within the first 30 days if it doesn't work out for you.

I've got paid account but still getting this error.

Please advise.

Hey, you should have 16k open files which really should be enough for anything youre doing. I think what you need to look at is what is holding all these open files. Do you have a code path that is leaking open files? Are you getting the error when youre doing an npm install?