Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Script exponentially slower as number of files to process increases

by tybalt89 (Monsignor)
on Jan 26, 2023 at 03:00 UTC ( [id://11149883]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $forkcount -= waitpid(-1, WNOHANG) > 0 while $forkcount >= $maxforks;
    
  2. or download this
    wait, $forkcount-- while $forkcount >= $maxforks;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11149883]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2024-04-20 01:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found