Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re: Introduction to Parallel::ForkManager

by sierpinski (Chaplain)
on May 14, 2010 at 13:49 UTC ( #839995=note: print w/replies, xml ) Need Help??

in reply to Introduction to Parallel::ForkManager

One caveat that I encountered when using this module was when I was using it along with Net::SSH::Expect to connect to a list of servers and run monitoring commands (checking for failed disks, full filesystems, etc). We use LDAP for authentication, and found that when running my script during the work day when everyone was here, it would have multiple failures connecting to servers, and I could never figure out why. Finally I realized when I ran it at night, it would always have 100% success rate. It turns out (and I had this verified with our LDAP team) that the forked processes would saturate the LDAP servers for requests, and some would end up failing.

I thought it interesting that even though my maxprocs was set to something like 20 or 25, it just couldn't process them fast enough to make ssh happy.

  • Comment on Re: Introduction to Parallel::ForkManager

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://839995]
[erix]: Harakiri with a nuke on the white house, that'd clean up the staff there a bit too ;)
[erix]: (sorry, I'm always a bit violent on fridays)
LanX predicts problems for Erix next time he lines up at an US immigration counter
[erix]: but tuesdays just as bad
[erix]: thanks for the heads-up but that's a line-up studiiously avoided :P
[LanX]: yeah too far for someone who can't even make it to Amsterdam
LanX looking for a good magit tutorial
LanX ... and git in general
[erix]: I've been to Amsterdam before you were born
[LanX]: 1899?

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (12)
As of 2017-08-18 13:16 GMT
Find Nodes?
    Voting Booth?
    Who is your favorite scientist and why?

    Results (302 votes). Check out past polls.