Had this error trying to run EvilSeed.dump('...'):
Errno::EMFILE: Too many open files @ rb_sysopen - /tmp/evil_seed_prompts_users_20230929-89080-1h4sbb.sql
Resolved it by running ulimit -n 10240 before doing the dump (limit was 1024). This cannot be run inside the script itself, as it won't change the limit of the ruby process itself.
Just adding this in case it may help someone. And maybe there's a way to improve the dumping logic to not open so many files?
Had this error trying to run
EvilSeed.dump('...')
:Errno::EMFILE: Too many open files @ rb_sysopen - /tmp/evil_seed_prompts_users_20230929-89080-1h4sbb.sql
Resolved it by runningulimit -n 10240
before doing the dump (limit was 1024). This cannot be run inside the script itself, as it won't change the limit of the ruby process itself. Just adding this in case it may help someone. And maybe there's a way to improve the dumping logic to not open so many files?Thanks a lot for the great gem!