You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Sandeep Shankar Harikrishnan (JIRA)" <ji...@apache.org> on 2015/02/09 23:37:34 UTC
[jira] [Comment Edited] (KARAF-3482) 100% cpu usage
[ https://issues.apache.org/jira/browse/KARAF-3482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14313033#comment-14313033 ]
Sandeep Shankar Harikrishnan edited comment on KARAF-3482 at 2/9/15 10:36 PM:
------------------------------------------------------------------------------
Hi Jean,
Thanks for handling this issue.
I think the issue is still persisting with Karaf Cellar 2.3.4
I downloaded the latest code for 2.3.4 today and confirmed if your code changes are there. But my cpu utilization reaches 98% in just 20 seconds after i installed cellar-eventadmin
After sometime it prints the below messages on the console and the cpu utilizations comes down to 8%
karaf@root> 'org.apache.felix.eventadmin.impl.adapter.LogEventAdapter$1@8632ad6' is removed as a LogListener, since it threw an exception.
java.lang.OutOfMemoryError: GC overhead limit exceeded
- Sandeep Shankar Harikrishnan
was (Author: sandeepharikrishnan86):
Hi Jean,
Thanks for handling this issue.
I think the issue is still persisting with Karaf Cellar 2.3.4
I downloaded the latest code for 2.3.4 today and confirmed if you code changes are there. But my cpu utilization reaches 98% in just 20 seconds after i installed cellar-eventadmin
After sometime it prints the below messages on the console and the cpu utilizations comes down to 8%
karaf@root> 'org.apache.felix.eventadmin.impl.adapter.LogEventAdapter$1@8632ad6' is removed as a LogListener, since it threw an exception.
java.lang.OutOfMemoryError: GC overhead limit exceeded
- Sandeep Shankar Harikrishnan
> 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)