hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Ratnasekera <djkevincr1...@gmail.com>
Subject Thread spinning at ChunkEncoder.write method
Date Fri, 10 Feb 2017 07:28:07 GMT
Hi Dev,

We are recently experiencing a thread spinning issue related to HTTP Core
dependency when migrating from HTTP Core version  4.2.3 to 4.3.3. Is there
any known issue reported related to this? Please find the related partial
thread dump taken at thread spinning. [1]

[1]
"HTTPS-Listener I/O dispatcher-35" #595 prio=5 os_prio=0
tid=0x00007f39904f4000 nid=0xaaee runnable [0x00007f37649c8000]
   java.lang.Thread.State: RUNNABLE
at org.apache.http.impl.nio.codecs.ChunkEncoder.write(ChunkEncoder.java:134)
at org.apache.synapse.transport.passthru.Pipe.consume(Pipe.java:135)
at
org.apache.synapse.transport.passthru.SourceResponse.write(SourceResponse.java:248)
at
org.apache.synapse.transport.passthru.SourceHandler.outputReady(SourceHandler.java:260)
at
org.apache.http.impl.nio.DefaultNHttpServerConnection.produceOutput(DefaultNHttpServerConnection.java:312)
at
org.apache.synapse.transport.http.conn.LoggingNHttpServerConnection.produceOutput(LoggingNHttpServerConnection.java:125)
at
org.apache.synapse.transport.passthru.ServerIODispatch.onOutputReady(ServerIODispatch.java:87)
at
org.apache.synapse.transport.passthru.ServerIODispatch.onOutputReady(ServerIODispatch.java:39)
at
org.apache.http.impl.nio.reactor.AbstractIODispatch.outputReady(AbstractIODispatch.java:150)
at
org.apache.http.impl.nio.reactor.BaseIOReactor.writable(BaseIOReactor.java:180)
at
org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:342)
at
org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:316)
at
org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:277)
at
org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:105)
at
org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:586)
at java.lang.Thread.run(Thread.java:745)

   Locked ownable synchronizers:
- <0x00000006e4180218> (a
java.util.concurrent.locks.ReentrantLock$NonfairSync)

Regards
Kevin

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message