http://qs321.pair.com?node_id=11124520


in reply to Perl 5.32.0 Too many open files ... Runtime.pm

On *NIX there's a notion of a per-process limit for file descriptors (among other things). There's a command ulimit built into your shell which will let you manipulate these values. Depending on the shell the exact output will vary, but running ulimit -a should dump out what the current limit is (and show you what the specific option is for file descriptors; probably -n). You can bump that value up to whatever hard limit the OS has in place (displayed with something like ulimit -H -a).

Edit: slightly related: if you ever needed to manipulate these directly from perl you can use the BSD::Resource module; your particular case though sounds like you're inheriting a small limit and you might want to bump things up in the shell you're running stuff from (child processen inherit their parent's limit settings and pass them on to their subprocessen).

The cake is a lie.
The cake is a lie.
The cake is a lie.