Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re^3: Controlling Thread Numbers

by NetWallah (Canon)
on Oct 21, 2007 at 20:44 UTC ( #646309=note: print w/replies, xml ) Need Help??

in reply to Re^2: Controlling Thread Numbers
in thread Controlling Thread Numbers

Sorry - the snippet was indeed incomplete without an explanation of external variables.

"$count" comes from the number of servers I was processing - Under test conditions, it would be well under 20, and I would do all work in less than 5 sub processes/threads (Only one thread, if $count was less than 5). Under "Normal" conditions, it was in the 200 range, resulting in 10 threads.

The %serverinfo was a HOH had other info besides IP - Server Name, and related info. I was laid off work on Tuesday 10/16, and no longer have access to the code I wrote, or I would gladly share it.

     "As you get older three things happen. The first is your memory goes, and I can't remember the other two... " - Sir Norman Wisdom

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2023-01-31 22:42 GMT
Find Nodes?
    Voting Booth?

    No recent polls found