Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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

by tybalt89 (Monsignor)
on Jan 27, 2023 at 15:29 UTC ( [id://11149935]=note: print w/replies, xml ) Need Help??


in reply to Script exponentially slower as number of files to process increases

New theory: the fork is failing with EAGAIN or ERESTARTNOINTR.
To prove fork is not failing, add the following line immediately before the open my $IN, '<', $infile or exit(0); line.

defined $pid or die "fork failed $!";

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-23 23:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found