I want to thank all of you for your suggestions and advice.  After I
upgraded my ithreads package, this joker started behaving appropriately.
I have now completed the core architecture of this software and it works
beautifully.  

Rather than have several loops doing monitoring, I am spawning a thread
for each file that is in queue.  The performance of this joker was
unbelievable after I re-thought the architecture.  I am using
Threads::Queue to block resources and another queue for jobs to do.  It
was a bit hairy but it works and I very thankful for the challenges of
this program.

Thanks again Guys,

Dan J. Rychlik
IT Projects Engineer.

-----Original Message-----
From: Daniel Rychlik [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 19, 2006 11:53 AM
To: Jerry D. Hedden; [email protected]
Subject: RE: iThreads troubles

I am downloading it now.  I missed the earlier email when you
recommended it. 

Thanks Jerry



-----Original Message-----
From: Jerry D. Hedden [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 19, 2006 11:44 AM
To: [email protected]
Subject: RE: iThreads troubles

Daniel Rychlik wrote:
> It worked fairly well however my memory usage was on a steady climb

I tried your sample code, and saw constant memory usage (i.e. not
increasing).  Again, I recommend that you download threads v1.23 from
CPAN as that (i.e., an older version of threads) may be the cause of
your memory problem.

> as well as my processor hitting that 100% mark.

I didn't see this either, nor did I expect to because of the sleep()s in
the code.  Obviously, you must be referring to your 'real' code, so I
can't comment on its cause.

Reply via email to