camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sjlee7373 <>
Subject Camel jetty Dead Lock and Threadfull based ServiceMix 5.3.0
Date Tue, 08 Mar 2016 01:15:00 GMT

I have a problem with camel in ServiceMix.

I made webservice throught camel-jetty, camel-recipentlist in servicemix.
This package is good performance but resource lock and thread full ocurred
it. This system process 40 Call per second.

The problem is that pool threads aren't released properly sometimes. After 
a few hours following the start of an application I can see using jstack 
tool that some threads are stuck in a WAITING state: 

configuration is as follows: 
- servicemix 5.3.0
- camel 2.13.2
- using component (camel-jetty , camel-recipentlist  based Spring DSL)

-------------- SOURCE
<route customId="true" >
    <from uri="direct:giop_addr_async">
        <bean ref="soapDecode" method="userDecode"/>
        <to uri="direct:sendEndPoint">

<route customId="true>
        <from uri="direct:sendEndPoint">
        <to uri="jetty://http://resultMap?httpClient.soTimeout=80000"/>

-------------- LOG
ps -eLf  | wc -l --> 32500

"CamelJettyClient(0x3d0b240d)-26916" damen prio=10 tid=0x000000000ff69800
nid =0x10ef wating on condition [0x00002b4b3ba3f0000]
   java.lang.Thread.State: TIMED_WAITNG(parking)
     at sun.misc.Unsafe.park(Native Method)
 - parging to wati for <0x000000006f13f19b0> (a
 at java.util.concurrent.locks.LocsSupport.parkNanos(LockSupport,java:226)

Above log more than 30000line...... 

Can you suggest what else can be checked? Am I missing something? Or may be 
this is a bug in Camel? 

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message