RE: iThreads troubles

[email protected] ("Daniel Rychlik")
Newsgroups perl.ithreads
Message-ID <60EF0688716ED54E87435A187FB6BD6A018DE7CB@IS-MAILX.corp.securustech.net>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.