Skip Menu |
Report information

Subject: Creating too many Proc::Async objects fills the file descriptor table, which causes libuv to abort()
See the attached script.
Subject: test.pl
Download test.pl
text/x-perl 183b
use v6; my @procs; for ^1000 { .say; my $proc = Proc::Async.new('sleep', '20', :w); $proc.stdout.tap(-> $ {}); $proc.start; @procs.push: $proc; } say 'done';
RT-Send-CC: perl6-compiler [...] perl.org
Download (untitled) / with headers
text/plain 198b
On Mon, 20 Jul 2015 20:09:39 -0700, rob@hoelz.ro wrote: Show quoted text
> See the attached script.
Still dying with version 2017.06-13-g6b634a369 built on MoarVM version 2017.06-2-gcc27eebf -- Will "Coke" Coleda
This only applies if you call .stdout or .stderr *and* never close them.
On 2017-07-12 22:49:43, ugexe@cpan.org wrote:
Show quoted text
> This only applies if you call .stdout or .stderr *and* never close them.

Hm, isn't it fixed now? Similarly to https://github.com/perl6/doc/issues/1304 ?
On 2017-07-13 08:18:20, alex.jakimenko@gmail.com wrote:
Show quoted text
> On 2017-07-12 22:49:43, ugexe@cpan.org wrote:
> > This only applies if you call .stdout or .stderr *and* never close
> > them.
>
> Hm, isn't it fixed now? Similarly to
> https://github.com/perl6/doc/issues/1304 ?

Ah, no, it's not. It's a completely different issue. Here we are intentionally running out of handles. nvm


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org