karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Commented] (KARAF-2340) Huge CPU consumption with Felix framework
Date Wed, 05 Jun 2013 19:34:21 GMT

    [ https://issues.apache.org/jira/browse/KARAF-2340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13676270#comment-13676270
] 

Jean-Baptiste Onofré commented on KARAF-2340:
---------------------------------------------

Basically, the "update" methods in BundleSupport class (startBundle, etc) should check the
local current state of the bundle before updating the state. For instance, when receiving
the bundle start cluster event, Cellar should check if the bundle is not yet already start
locally. If the bundle is already started, Cellar should not do anything. If the bundle is
not started, Cellar should start the bundle.
                
> Huge CPU consumption with Felix framework
> -----------------------------------------
>
>                 Key: KARAF-2340
>                 URL: https://issues.apache.org/jira/browse/KARAF-2340
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-feature
>    Affects Versions: 2.3.1, cellar-2.3.0
>         Environment: Windows 7 JDK7_17
>            Reporter: Ryan Moquin
>            Assignee: Jean-Baptiste Onofré
>         Attachments: console_screen.JPG, karaf-2.3.1-cellar-2.3.0-installing-eventadmin.JPG,
karaf-2.3.1-cellar-2.3.0-profile.nps, karaf.bat
>
>
> I've been working on a demo for several weeks to promote Karaf and Cellar.  Even thought
Karaf 3.0.0 seems to work great, the addition of Cellar just isn't ready yet.  When I tried
Karaf 2.3.2-SNASHOT with Cellar 2.3.0, my CPU went to 25% and hazelcase 5 seemed to be going
a bit crazy.  So I moved to Karaf 2.3.1 and Celler 2.3.0.  I was able to install cellar but
when I finally typed the correct comment to install the admin, my cpu utilization went to
25% and the features:install command never returned.
> Attached are some screenshots of sampling from jvisualvm (the profiler seems to through
karaf into fits).  I'm a little lost on how to get Karad and Cellar running correctly together.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message