On Thursday, June 12, 2003, at 06:52 PM, Shash Chatterjee wrote:
I am also noticing (when debugging using Eclipse under Win-XP as well as Solaris) that there is a new thread being created rapidly about once a second and which dies (at least disappears) quickly. Whenever I've been able to suspend it, the thread stack is:
Thread [Thread-293] (Suspended) Object.wait(long) line: not available [native method] SynchronousChannel.poll(long) line: 353 PooledExecutor.getTask() line: 707 PooledExecutor$Worker.run() line: 731 Thread.run() line: 536 [local variables unavailable]
(without the TPCThreadManager). I've no clue where this thread is created ....any ideas?

according to the documentation, the PooledExecutor will create a new thread if there is work to be done and there aren't enough free threads. I believe that thread won't stick around (or it can stick around for a configurable amount of time) before dying..


My suggestion would be to increase the number of threads that the TPCThreadManager is using and see if that behavior goes away..
-pete



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to