hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: Thread spinning at ChunkEncoder.write method
Date Fri, 10 Feb 2017 10:14:08 GMT
On Fri, 2017-02-10 at 12:58 +0530, Kevin Ratnasekera wrote:
> 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]
> 

HttpCore 4.3.3 release is almost 2.5 year old. 6 more releases have
been made since then with a number of bug fixes.

Oleg 


> [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(SourceResp
> onse.java:248)
> at
> org.apache.synapse.transport.passthru.SourceHandler.outputReady(Sourc
> eHandler.java:260)
> at
> org.apache.http.impl.nio.DefaultNHttpServerConnection.produceOutput(D
> efaultNHttpServerConnection.java:312)
> at
> org.apache.synapse.transport.http.conn.LoggingNHttpServerConnection.p
> roduceOutput(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(Abstr
> actIODispatch.java:150)
> at
> org.apache.http.impl.nio.reactor.BaseIOReactor.writable(BaseIOReactor
> .java:180)
> at
> org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(Abstr
> actIOReactor.java:342)
> at
> org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(Abst
> ractIOReactor.java:316)
> at
> org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIO
> Reactor.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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message