this is going to be tough, but possible. You can scan thru all the thread stacks and look for the one that spins ( ie not locking on a pause/sleep/pause method)
-D On Tue, May 6, 2014 at 8:30 AM, Jean-Baptiste Onofré <[email protected]>wrote: > Hi Laci, > > What's the version of ActiveMQ that you use ? If you use ActiveMQ 5.7, > there's a bug in the ConnectionFactory (it doesn't release correctly the > session). Maybe it's your issue (but not fully sure). > > Regards > JB > > > On 05/06/2014 04:37 PM, Laci Gaspar wrote: > >> Ok, after a little struggle, I installed jmxterm because I have only a >> terminal access to the host. >> Unfortunately I have no idea what to do now... no jmx experience. >> When I list the mbeans, I get TONS of entries representing my ActiveMQ >> queues. Is that correct? >> >> Then, how can I find out which process uses most cpu? >> >> Thanks for your help. >> Laci >> >> >> On 06.05.2014 14:44, Achim Nierbeck wrote: >> >>> Also, do you have some trace levels activated with your camel routes? >>> This might also produce a high load :) >>> But as Jamie already said, it's good to enable JMX Monitoring ... this >>> way you also find out about the camel routes ;) >>> >>> regards, Achim >>> >>> >>> 2014-05-06 14:07 GMT+02:00 Jamie G. <[email protected] >>> <mailto:[email protected]>>: >>> >>> >>> Connect to the JMX management console and see what's running up >>> the CPU. >>> >>> --Jamie >>> >>> On Tue, May 6, 2014 at 9:31 AM, Laci Gaspar <[email protected] >>> <mailto:[email protected]>> wrote: >>> > Hi >>> > I noticed that our karaf runtime is using 100% CPU. >>> > We are running karaf version 2.2.6 with some camel routes. There >>> is hardly >>> > any load. >>> > >>> > Looking at the log file with level DEBUG didn't reveal anything. >>> > >>> > >>> > What can I do to find out what's causing the high cpu load? >>> > >>> > Regards >>> > Laci >>> >>> >>> >>> >>> -- >>> >>> Apache Karaf <http://karaf.apache.org/> Committer & PMC >>> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> >>> Committer & Project Lead >>> blog <http://notizblog.nierbeck.de/> >>> >>> Software Architect / Project Manager / Scrum Master >>> >>> >> > -- > Jean-Baptiste Onofré > [email protected] > http://blog.nanthrax.net > Talend - http://www.talend.com >
