in reply to Re^2: Multithreaded Script CPU Usage
in thread Multithreaded Script CPU Usage

From what I can see, the functions you listed should be fine. My point about the single script went back to the initial problem. Your initial problem was that the main perl script was taking 75% CPU. As was pointed out, this was likely caused by the thread module itself. If you modified your script as I suggested, the perl script should end up using very little CPU, and could therefore run fine together on a single system. Of course, your mileage may vary...

Replies are listed 'Best First'.
Re^4: Multithreaded Script CPU Usage
by Zenshai (Sexton) on Sep 08, 2008 at 13:49 UTC
    You were absolutely right. I appolologize for not taking your advice sooner.