activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From liangwb2001 <liangwb2...@gmail.com>
Subject activemq5.5 client high cpu usage
Date Tue, 10 Dec 2013 01:47:28 GMT
Hi, I have an activemq server, and an application prodected message; Last
Saturday, the activemq host computer was down, then the product application
, occupy 2-3 cpu 100%, even after the activemq restart again,  and now
everything is ok, but high cpu usage;
here is a jstack slice:
"ActiveMQ Task-2799" daemon prio=10 tid=0x00007fcfbc4b9000 nid=0x1de7
waiting on condition [0x00007fcf75b5b000]
   java.lang.Thread.State: TIMED_WAITING (parking)
	at sun.misc.Unsafe.park(Native Method)
	- parking to wait for  <0x0000000669fb2770> (a
java.util.concurrent.SynchronousQueue$TransferStack)
	at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:196)
	at
java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:424)
	at
java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:323)
	at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:874)
	at
java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:945)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
	at java.lang.Thread.run(Thread.java:662)

"ActiveMQ Task-2789" daemon prio=10 tid=0x00007fcfbf0c0800 nid=0x1ba3
runnable [0x000000005a436000]
   java.lang.Thread.State: RUNNABLE
	at java.lang.Object.notifyAll(Native Method)
	at
org.apache.activemq.transport.failover.FailoverTransport.doReconnect(FailoverTransport.java:807)
	- locked <0x0000000669f9fe00> (a java.lang.Object)
	at
org.apache.activemq.transport.failover.FailoverTransport$2.iterate(FailoverTransport.java:137)
	- locked <0x0000000669f9fe18> (a java.lang.Object)
	at
org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:127)
	at
org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:48)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:662)

Thank you for attention.



--
View this message in context: http://activemq.2283324.n4.nabble.com/activemq5-5-client-high-cpu-usage-tp4675314.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message