Next time before "rebooting" do a stack-dump that should help you.

regards, Achim


2014-05-07 8:18 GMT+02:00 Laci Gaspar <[email protected]>:

> I had to restart karaf because it rendered the system unusable. Of course
> the CPU usage is down to 5% now.
> Do you think it's a good idea to uninstall the activemq features I don't
> need?
> I probably only need activemq-karaf. Is that correct?
>
> Regards,
> Laci
>
>
> On 06.05.2014 19:03, Jean-Baptiste Onofré wrote:
>
>> OK ;)
>>
>> I'm surprised that you have a lot of Object for queues. Especially do you
>> have a bunch of objects for the same queue name ?
>>
>> Do you install ActiveMQ in Karaf (using the ActiveMQ features) ?
>>
>> Regards
>> JB
>>
>> On 05/06/2014 06:09 PM, Laci Gaspar wrote:
>>
>>> Hi JB
>>> We're using AMQ 5.9
>>>
>>> Am 06.05.2014 18:02 schrieb "Jean-Baptiste Onofré" <[email protected]
>>> <mailto:[email protected]>>:
>>>
>>>     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]>
>>>             <mailto:jamie.goodyear@gmail.__com
>>>             <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]>
>>>                  <mailto:[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/
>>> <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] <mailto:[email protected]>
>>>     http://blog.nanthrax.net
>>>     Talend - http://www.talend.com
>>>
>>>
>>
>


-- 

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

Reply via email to