magicseth
magicseth2y ago

EMfile error

I'm seeing a new error using the run function dashboard:
request to https://dusty-caterpillar-550.convex.cloud/api/actions/query failed, reason: connect EMFILE 34.207.37.34:443 - Local (undefined:undefined)
at async <anonymous> (../../convex/wonderSearch/injestGames.ts:23:16)
request to https://dusty-caterpillar-550.convex.cloud/api/actions/query failed, reason: connect EMFILE 34.207.37.34:443 - Local (undefined:undefined)
at async <anonymous> (../../convex/wonderSearch/injestGames.ts:23:16)
9 Replies
jamwt
jamwt2y ago
that's an extremely low-level error! it sounds like some kind of file descriptor ulimit exhaustion thing... in the browser?
presley
presley2y ago
Based on the api path, this error comes from an a action running in Node.js? Is that correct?
jamwt
jamwt2y ago
ah yeah, that would make more sense we probably have the default ulimit -n in the action environment @presley ?
presley
presley2y ago
The file descriptor limit in our Node.js environemnt to be 1,024.
jamwt
jamwt2y ago
yep, that's the default
presley
presley2y ago
@magicseth is it possible you create 1024 parallel queries from a single action or that doesn't seem like a likely explanation?
magicseth
magicsethOP2y ago
That seems likelu
presley
presley2y ago
Ok, I will make sure we throw a better error message.
magicseth
magicsethOP2y ago
thanks!

Did you find this page helpful?