Re: difficult multi-threading debugging scenario

2008-03-19 Thread starlight
At 03:03 PM 3/19/2008 +0800, you wrote: >Some questions to ask: . . . Don't have endless time for this--otherwise it would be written in C++ and, ironically, a simple debug attach would tell what's going on when it hangs. Probably the single-thread version will run forever, so can't justify sp

difficult multi-threading debugging scenario

2008-03-18 Thread starlight
Here's a difficult 'perl' debugging problem. Have a relatively simple but multi-threaded script that runs a bunch of remote 'tasklist' commands via pipe opens every five minutes, collects the outputs, checks that certain programs and services are running, and generates e-mail alarms when things