Re: ActiveMQ uses 100% CPU

2015-07-21 Thread Kevin Burton
See if you can enable Java mission control and then use a threaded profile of it in production. I’m REALLY happy with JMC. The license says you can use it for development which I think is ok if you have a production box to debug a problem and then disable it afterwards. Either way it’s very easy t

Re: ActiveMQ uses 100% CPU

2015-07-17 Thread Tim Bain
It's possible that's the cause. It's also possible that it's not. If you finish characterizing your problem, you should be able to tell whether it is or not. Or you could just make the change (though I don't know whether it's possible to configure LevelDB as your temp store provider; I assume yo

Re: ActiveMQ uses 100% CPU

2015-07-16 Thread Kacu
Yes, I have non-persisting messages, but also I have configured fileQueueCursor in my AMQ. So I have store mym messages on a disk (temp percent used). http://webcache.googleusercontent.com/search?q=cache:WDoRDaC3PvwJ:akuntamukkala.blogspot.com/2014/01/understanding-memory-usage-in-activemq.html+&c

Re: ActiveMQ uses 100% CPU

2015-07-16 Thread Tim Bain
Didn't you say in you SO question that you're using non-persistent messages? What makes you think a persistence store is causing problems if you're not persisting messages? If you finish characterizing your problem, you should be able to narrow in on what the problem actually is; to me that seems

Re: ActiveMQ uses 100% CPU

2015-07-16 Thread Kacu
I found on AMQ site http://activemq.apache.org/leveldb-store.html that "Both KahaDB and the LevelDB store have to do periodic garbage collection cycles to determine which log files can deleted. In the case of KahaDB, this can be quite expensive as you increase the amount of data stored and can cau

Re: ActiveMQ uses 100% CPU

2015-07-15 Thread Kacu
Yeah, I want to, but after this error occur my AMQ reboot and I have to do all process again. -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-uses-100-CPU-tp4699129p4699323.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: ActiveMQ uses 100% CPU

2015-07-15 Thread Tim Bain
Want to tell us what that error message was? JVisualVM isn't the only way to take a thread dump: https://access.redhat.com/solutions/18178 On Jul 15, 2015 2:12 AM, "Kacu" wrote: > I use jvisualvm to do a dump, but when I have 100% CPU I can't do this, > because I get failed message. > I use Wind

Re: ActiveMQ uses 100% CPU

2015-07-15 Thread Kacu
I use jvisualvm to do a dump, but when I have 100% CPU I can't do this, because I get failed message. I use Windows Server 2012, where is only one instance of AcitveMQ. When I send messages to queue, they stay there for a night, and after that I send a few more messages and problem begin. -- Vi

Re: ActiveMQ uses 100% CPU

2015-07-14 Thread artnaseef
Another thing here - what else is running in the same JVM as ActiveMQ? Also, are the messages being consumed, and are consumers keeping up with producers? -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-uses-100-CPU-tp4699129p4699302.html Sent from the ActiveMQ

Re: ActiveMQ uses 100% CPU

2015-07-13 Thread Christopher Shannon
To elaborate on the thread dump, it would be good to know the specific thread that is using the CPU usage. If using linux, you can run "top -H" and that will show you the PID of each of the individual threads. You can then find the PID with the highest cpu usage and convert it to hex. Then look

Re: ActiveMQ uses 100% CPU

2015-07-13 Thread Tim Bain
Can you take a thread dump so we can see what the various threads are doing? On Jul 13, 2015 2:40 AM, "Kacu" wrote: > Hi, > > I have a strange situation with my AMQ 5.9.0. I describe it here: > http://stackoverflow.com/questions/31314867/activemq-uses-100-cpu > > Maybe, someone knows what is wron