Hi All,

            i have a written a simulator which uses sshd-core-0.14.0.jar.
When i do bulk requests to my simulator, some of the requests are stuck for
a long time without getting response. When i checked the thread dump, i
notice that the number of requests not getting response, has corresponding
number of threads stuck at the below state. Is there any solution or
workaround to get out of this situation?

"pool-1-thread-37" - Thread t@121
   java.lang.Thread.State: WAITING
at java.lang.Object.wait(Native Method)
- waiting on <23302ac1> (a org.apache.sshd.common.channel.Window)
at java.lang.Object.wait(Object.java:503)
at org.apache.sshd.common.channel.Window.waitForSpace(Window.java:152)
at
org.apache.sshd.common.channel.ChannelOutputStream.flush(ChannelOutputStream.java:116)
- locked <303e31bb> (a org.apache.sshd.common.channel.ChannelOutputStream)
at
org.apache.sshd.common.channel.ChannelOutputStream.write(ChannelOutputStream.java:84)
- locked <303e31bb> (a org.apache.sshd.common.channel.ChannelOutputStream)
at
net.j.deviceSim.netconf.NetconfProcessor.sendResponse(NetconfProcessor.java:153)
at
net.j.deviceSim.netconf.NetconfProcessor.processRequest(NetconfProcessor.java:91)
at net.j.deviceSim.netconf.NetconfProcessor.run(NetconfProcessor.java:172)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

   Locked ownable synchronizers:
- locked <66a8c396> (a java.util.concurrent.ThreadPoolExecutor$Worker)

Regards,
Sendilraj

Reply via email to