in reply to Parallel::ForkManager leaves a zombie process from last child
anyway, this seems to work better
it reuses processes and I don't see zombies.while (1) { $pm->start and next; while ($inputcon = $daemon->accept()) { do_client_stuff($inputcon); } $pm->finish(); }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Parallel::ForkManager leaves a zombie process from last child
by ikegami (Patriarch) on Jun 01, 2013 at 23:15 UTC | |
A reply falls below the community's threshold of quality. You may see it by logging in. |
In Section
Seekers of Perl Wisdom