Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
cellar-3.0.1, cellar-2.3.4
-
None
Description
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