activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hwl <>
Subject Re: activemq 5.3 slower than 4.1.2?
Date Mon, 08 Feb 2010 03:16:58 GMT

Thanks rajdavies for the quick response. 

it will be difficult or time-consuming to create a junit test case, as the
application is complex and uses UCP as the receiving interface. 

Maybe i can give more info on the problem encountered here. We found out the
threads in our application were stuck with the following error through
JConsole when we used activemq 4.1.2.
Name: ClearTextSMSUCPAdp02-UcpAdapterUcpTextHandler_015
State: WAITING on
Total blocked: 33,632  Total waited: 24,745

Stack trace: 
java.lang.Object.wait(Native Method)

The search result from the web suggests it's fixed at a higher version of
activemq, and hence we decided to give the latest version a try, but found
out our application slowed down. I also tried using a lower version,
activemq 5.1.0. The application failed within seconds and we are yet to
identify the root cause. If it's hard to investigate the difference, can we
solve the locking issue by applying some patches to activemq 4.1.2 copy
instead? Or is there any better suggestion?

rajdavies wrote:
> There's been a lot of changes - if you could provide a junit test case  
> that is representative of your application - that would enable us to  
> investigate the difference
> On 7 Feb 2010, at 07:36, hwl wrote:
>> Our application previously ran on activemq 4.1.2 and was able to  
>> achieve <
>> 500ms response time in average. However, some locking issue was  
>> observed
>> (WAITING on  
>> and we upgraded the activemq component to 5.3.0. The locking issue  
>> does not
>> occur so far, but the performance drops to >2 second on average  
>> response
>> time which breaches the performance critieria.
>> Any idea what could introduce such significant overhead and any way  
>> to tune
>> it?
>> Our messaging service is non-persistent and activemq has been  
>> configured
>> accordingly.
>> thanks!
>> - Wanling
>> -- 
>> View this message in context:
>> Sent from the ActiveMQ - User mailing list archive at
> Rob Davies
> I work here:
> My Blog:
> I'm writing this:

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message