Hi,
You need configure threadpool to handle this con current issue, take
a look at [1] to get more details.
[1]http://servicemix.apache.org/thread-pools.html
Freeman
On 2012-2-3, at 下午3:54, yoleng wrote:
Hi,
I used the servicemix 3.3.2 with the component servicemix-
http-2011.01. now
there is one problem: when I concurrently send http requests to my
servicemix about 8/second, after some time, my servicemix could not
handle
any request.
I used j-console and found that there be some deadlock threads. one is
below:
Name: 1512326615@qtp-229172540-1 - Acceptor0
[email protected]:4000
State: BLOCKED on
org.mortbay.jetty.nio.SelectChannelConnector
$RetryContinuation@52583b29
owned by: pool-flow.seda.servicemix-bean-thread-7589
Total blocked: 11,999 Total waited: 132
Stack trace:
org.mortbay.jetty.nio.SelectChannelConnector
$RetryContinuation.expire(SelectChannelConnector.java:511)
org.mortbay.thread.Timeout.tick(Timeout.java:137)
- locked org.mortbay.io.nio.SelectorManager$SelectSet@31fe40d7
org.mortbay.thread.Timeout.tick(Timeout.java:153)
org.mortbay.io.nio.SelectorManager
$SelectSet.doSelect(SelectorManager.java:739)
org.mortbay.io.nio.SelectorManager.doSelect(SelectorManager.java:191)
org
.mortbay
.jetty.nio.SelectChannelConnector.accept(SelectChannelConnector.java:
124)
org.mortbay.jetty.AbstractConnector
$Acceptor.run(AbstractConnector.java:707)
org.mortbay.thread.QueuedThreadPool
$PoolThread.run(QueuedThreadPool.java:582)
and then lots of thread had below trace:
Name: pool-flow.seda.servicemix-bean-thread-7430
State: BLOCKED on org.mortbay.io.nio.SelectorManager
$SelectSet@31fe40d7
owned by: 1512326615@qtp-229172540-1 - Acceptor0
[email protected]:4000
Total blocked: 60 Total waited: 241
Stack trace:
org.mortbay.jetty.nio.SelectChannelConnector
$RetryContinuation.resume(SelectChannelConnector.java:497)
org
.apache
.servicemix
.http.processors.ConsumerProcessor.process(ConsumerProcessor.java:113)
- locked
org.mortbay.jetty.nio.SelectChannelConnector
$RetryContinuation@5d5de7d7
org.apache.servicemix.soap.SoapEndpoint.process(SoapEndpoint.java:400)
org
.apache
.servicemix
.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:627)
org
.apache
.servicemix
.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:
598)
org
.apache
.servicemix
.common.AsyncBaseLifeCycle.onMessageExchange(AsyncBaseLifeCycle.java:
535)
org
.apache
.servicemix
.common
.SyncLifeCycleWrapper.onMessageExchange(SyncLifeCycleWrapper.java:60)
org
.apache
.servicemix
.jbi
.messaging
.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:632)
org
.apache
.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:185)
org
.apache
.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:168)
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue
$1.run(SedaQueue.java:134)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.lang.Thread.run(Unknown Source)
How can I invesgate this problem? Thanks.
Regards.
Leng Yong.
--
View this message in context:
http://servicemix.396122.n5.nabble.com/http-BC-not-receive-any-http-request-tp5453027p5453027.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
---------------------------------------------
Freeman Fang
FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com