Hi,

One of the I/O dispatcher threads in Synapse is blocked
in SharedInputBuffer.read method. Here is the thread dump. I would really
appreciate if you can point me to the correct path for figuring out the root
cause of this.

This dispatcher is sending the message out from synapse. In this case it
tries to read the incoming message read by the listeners to send it out.

Thanks,
Supun..

"http-Sender I/O dispatcher-2" prio=10 tid=0x08505800 nid=0x1718 in
Object.wait() [0x613ac000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x8213c928> (a java.lang.Object)
        at java.lang.Object.wait(Object.java:485)
        at
org.apache.http.nio.util.SharedInputBuffer.waitForData(SharedInputBuffer.java:132)
        - locked <0x8213c928> (a java.lang.Object)
        at
org.apache.http.nio.util.SharedInputBuffer.read(SharedInputBuffer.java:192)
        - locked <0x8213c928> (a java.lang.Object)
        at
org.apache.http.nio.entity.ContentInputStream.read(ContentInputStream.java:64)
        at
java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:221)
        at
java.util.zip.InflaterInputStream.read(InflaterInputStream.java:141)
        at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:92)
        at java.io.FilterInputStream.read(FilterInputStream.java:90)
        at
org.wso2.carbon.relay.BinaryRelayBuilder.readAllFromInputSteam(BinaryRelayBuilder.java:48)
        at
org.wso2.carbon.relay.StreamingOnRequestDataSource.getInputStream(StreamingOnRequestDataSource.java:59)
        at javax.activation.DataHandler.writeTo(DataHandler.java:305)
        at
org.wso2.carbon.relay.ExpandingMessageFormatter.findAndWrite2OutputStream(ExpandingMessageFormatter.java:170)
        at
org.wso2.carbon.relay.ExpandingMessageFormatter.writeTo(ExpandingMessageFormatter.java:99)
        at
org.apache.synapse.transport.nhttp.util.GzipMessageFormatterDecorator.writeTo(GzipMessageFormatterDecorator.java:66)
        at
org.apache.synapse.transport.nhttp.Axis2HttpRequest.setStreamAsTempData(Axis2HttpRequest.java:332)
        at
org.apache.synapse.transport.nhttp.Axis2HttpRequest.getRequest(Axis2HttpRequest.java:169)
        at
org.apache.synapse.transport.nhttp.ClientHandler.processConnection(ClientHandler.java:194)
        at
org.apache.synapse.transport.nhttp.ClientHandler.connected(ClientHandler.java:160)
        at
org.apache.http.impl.nio.DefaultClientIOEventDispatch.connected(DefaultClientIOEventDispatch.java:134)
        at
org.apache.http.impl.nio.reactor.BaseIOReactor.sessionCreated(BaseIOReactor.java:284)
        at
org.apache.http.impl.nio.reactor.AbstractIOReactor.processNewChannels(AbstractIOReactor.java:423)
        at
org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:286)
        at
org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104)
        at
org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:528)
        at java.lang.Thread.run(Thread.java:619)


-- 
Software Engineer, WSO2 Inc
http://wso2.org
supunk.blogspot.com

Reply via email to