JefVersavel / WebAssembly-for-Evolutionary-Computation

BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

too many open files #11

Closed JefVersavel closed 4 years ago

JefVersavel commented 4 years ago

when running ALife_1.hs, I get " Exception: node: readCreateProcess: runInteractiveProcess: pipe: resource exhausted (Too many open files)" after about 20 generations

TerrorJack commented 4 years ago

I'm trying to run it on macos via github actions to reproduce the behavior. What's your macos & node version?

JefVersavel commented 4 years ago

node version is 14.13.0 and macOS is 10.15.7

TerrorJack commented 4 years ago

According to https://github.com/JefVersavel/WebAssembly-for-Evolutionary-Computation/runs/1331523216?check_suite_focus=true it runs fine, given the macos/node version. Is this bug occasional or always showing up? If it always shows up I'll try to implement a mitigation anyway.

JefVersavel commented 4 years ago

yea it always shows up when running the main function of ALife_1 usually its is after about 10-18 iterations. Could there be something else on my machine that is not configured correct?

TerrorJack commented 4 years ago

I figured out what's wrong. It's an inline-js bug that creates zombie node processes. Will fix this tomorrow.

JefVersavel commented 4 years ago

thanks!