[
https://issues.apache.org/jira/browse/KARAF-3482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jean-Baptiste Onofré resolved KARAF-3482.
-----------------------------------------
Resolution: Fixed
> 100% cpu usage
> --------------
>
> Key: KARAF-3482
> URL: https://issues.apache.org/jira/browse/KARAF-3482
> Project: Karaf
> Issue Type: Bug
> Components: cellar-core
> Affects Versions: cellar-3.0.1, cellar-2.3.4
> Environment: Karaf
> Karaf version: 3.0.2
> OSGi Framework: org.apache.felix.framework - 4.2.1
> JVM
> Java Virtual Machine: Java HotSpot(TM) 64-Bit Server VM version 25.25-b02
> Version: 1.8.0_25
> Vendor: Oracle Corporation
> Operating system
> Name: Linux version 3.16.0-23-generic
> Architecture: amd64
> Processors: 4
> Reporter: Thiago Souza
> Assignee: Jean-Baptiste Onofré
> Fix For: cellar-3.0.2, cellar-2.3.5
>
>
> I'm seeing constant 100% cpu usage after installing cellar.
> Steps to reproduce:
> 1. Download Karaf 3.0.2
> 2. Run bin/karaf
> 3. Run feature:repo-add
> mvn:org.apache.karaf.cellar/apache-karaf-cellar/3.0.1/xml/features
> 4. Run feature:install cellar cellar-eventadmin
> After this, cpu usage goes near 100% and won't drop.
> After setting DEBUG log I see tons of:
> 2015-01-27 10:45:38,388 | DEBUG | Thread-45 | configadmin
> | 6 - org.apache.felix.configadmin - 1.8.0 | getProperties()
> 2015-01-27 10:45:38,388 | DEBUG | Thread-45 | configadmin
> | 6 - org.apache.felix.configadmin - 1.8.0 | getProperties()
> 2015-01-27 10:45:38,388 | DEBUG | Thread-45 | configadmin
> | 6 - org.apache.felix.configadmin - 1.8.0 | getProperties()
> 2015-01-27 10:45:38,388 | DEBUG | Thread-44 | configadmin
> | 6 - org.apache.felix.configadmin - 1.8.0 | getProperties()
> 2015-01-27 10:45:38,388 | DEBUG | Thread-45 | configadmin
> | 6 - org.apache.felix.configadmin - 1.8.0 | getProperties()
> 2015-01-27 10:45:38,388 | DEBUG | Thread-45 | configadmin
> | 6 - org.apache.felix.configadmin - 1.8.0 | getProperties()
> 2015-01-27 10:45:38,388 | DEBUG | Thread-47 | configadmin
> | 6 - org.apache.felix.configadmin - 1.8.0 | getProperties()
> 2015-01-27 10:45:38,388 | DEBUG | Thread-45 | configadmin
> | 6 - org.apache.felix.configadmin - 1.8.0 | getProperties()
> 2015-01-27 10:45:38,388 | DEBUG | Thread-45 | configadmin
> | 6 - org.apache.felix.configadmin - 1.8.0 | getProperties()
> 2015-01-27 10:45:38,388 | DEBUG | Thread-44 | configadmin
> | 6 - org.apache.felix.configadmin - 1.8.0 | getProperties()
> 2015-01-27 10:45:38,388 | DEBUG | Thread-45 | configadmin
> | 6 - org.apache.felix.configadmin - 1.8.0 | getProperties()
> 2015-01-27 10:45:38,388 | DEBUG | Thread-45 | configadmin
> | 6 - org.apache.felix.configadmin - 1.8.0 | getProperties()
> 2015-01-27 10:45:38,388 | DEBUG | Thread-47 | configadmin
> | 6 - org.apache.felix.configadmin - 1.8.0 | getProperties()
> 2015-01-27 10:45:38,388 | DEBUG | Thread-45 | configadmin
> | 6 - org.apache.felix.configadmin - 1.8.0 | getProperties()
> 2015-01-27 10:45:38,389 | DEBUG | Thread-45 | configadmin
> | 6 - org.apache.felix.configadmin - 1.8.0 | getProperties()
> 2015-01-27 10:45:38,389 | DEBUG | Thread-44 | configadmin
> | 6 - org.apache.felix.configadmin - 1.8.0 | getProperties()
> 2015-01-27 10:45:38,389 | DEBUG | Thread-45 | configadmin
> | 6 - org.apache.felix.configadmin - 1.8.0 | getProperties()
> 2015-01-27 10:45:38,389 | DEBUG | Thread-45 | configadmin
> | 6 - org.apache.felix.configadmin - 1.8.0 | getProperties()
> 2015-01-27 10:45:38,389 | DEBUG | Thread-47 | configadmin
> | 6 - org.apache.felix.configadmin - 1.8.0 | getProperties()
> Notes:
> This does not happens with cellar 3.0.0
> I could also reproduce it with Java 7
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)