<div dir="ltr">Hi,<div>we had developed a java application. We are using jar eslclient0.9.3 to connect with freeswitch.Parser we had used is netty. Now when we start the application the thread count continually keep on increasing till they reach 32000. when we use jstack to analyse the behavior we are getting following output.</div>
<div><div style="font-family:arial,sans-serif;font-size:13px">Threads in state Blocked by Locks</div><div style="font-family:arial,sans-serif;font-size:13px"><span style="white-space:pre-wrap">        </span>3054 threads running in org.freeswitch.esl.client.internal.AbstractEslClientHandler.messageReceived(AbstractEslClientHandler.java:81)</div>
<div style="font-family:arial,sans-serif;font-size:13px"><span style="white-space:pre-wrap">        </span>515 threads running in org.freeswitch.esl.client.internal.AbstractEslClientHandler$SyncCallback.get(AbstractEslClientHandler.java:234)</div>
<div style="font-family:arial,sans-serif;font-size:13px"><span style="white-space:pre-wrap">        </span>515 threads running in org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:112)</div>
<div style="font-family:arial,sans-serif;font-size:13px"><span style="white-space:pre-wrap">        </span>268 threads running in System Thread</div><div style="font-family:arial,sans-serif;font-size:13px"><span style="white-space:pre-wrap">        </span>8 threads running in org.apache.tomcat.util.threads.TaskQueue.poll(TaskQueue.java:86)</div>
<div style="font-family:arial,sans-serif;font-size:13px">Total Blocked by Locks Threads: 4360</div></div><div><br></div><div style>Any help on this is greatly appreciated.</div><div><br></div><div><div><br></div>-- <br>Regards<br>
Ashutosh Bhomia
</div></div>