Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

Revision history [back]

click to hide/show revision 1
initial version

Controller uses 100% cpu without anything to do

Hello everyone,

As soon as i start my controller (hydrogen release) it consumes 100% cpu even though there is no traffic to handle at all. I already tried to stop some modules that may possibly cause this (like the one i am developing) but i did not find anything yet. I thought this might help as i think it is some kind of infinit-loop in one of the modules or something like that.

Did anyone else experience this issue and knows how to solve this?

Following is a list of installed modules i got from the osgi console:

osgi> ss
"Framework is launched."


id  State       Bundle
0   ACTIVE      org.eclipse.osgi_3.8.1.v20120830-144521
1   ACTIVE      org.apache.felix.fileinstall_3.1.6
2   ACTIVE      org.eclipse.jdt.core.compiler.batch_3.8.0.I20120518-2145
3   ACTIVE      org.eclipse.equinox.ds_1.4.0.v20120522-1841
4   ACTIVE      org.eclipse.equinox.util_1.0.400.v20120522-2049
5   ACTIVE      org.eclipse.osgi.services_3.3.100.v20120522-1822
6   ACTIVE      org.eclipse.equinox.console_1.0.0.v20120522-1841
7   ACTIVE      slf4j.api_1.7.2
8   ACTIVE      ch.qos.logback.classic_1.0.9
9   ACTIVE      ch.qos.logback.core_1.0.9
10  ACTIVE      com.sun.jersey.core_1.17.0
11  ACTIVE      com.sun.jersey.jersey-server_1.17.0
12  ACTIVE      jcl.over.slf4j_1.7.2
13  ACTIVE      org.sdnhub.odl.protocol_plugins.openflow13_0.1.0.SNAPSHOT
14  ACTIVE      org.opendaylight.controller.topology.web_0.4.1
15  ACTIVE      com.google.guava_14.0.1
16  ACTIVE      org.opendaylight.controller.arphandler_0.5.1
17  ACTIVE      org.opendaylight.controller.flows.web_0.4.1
18  ACTIVE      org.opendaylight.controller.forwardingrulesmanager.implementation_0.4.1
19  ACTIVE      org.opendaylight.controller.thirdparty.com.sun.jersey.jersey-servlet_1.17.0
20  ACTIVE      org.apache.commons.lang3_3.1.0
21  ACTIVE      org.opendaylight.controller.configuration_0.4.1
22  ACTIVE      org.springframework.beans_3.1.3.RELEASE
23  ACTIVE      org.eclipse.virgo.util.osgi_3.6.0.RELEASE
24  ACTIVE      org.springframework.transaction_3.1.3.RELEASE
25  ACTIVE      org.opendaylight.controller.switchmanager.implementation_0.4.1
26  ACTIVE      org.springframework.web.servlet_3.1.3.RELEASE
27  ACTIVE      org.opendaylight.controller.usermanager_0.4.1
28  ACTIVE      org.opendaylight.controller.containermanager.implementation_0.5.1
29  ACTIVE      com.google.gson_2.2.4
30  ACTIVE      controllermanager.northbound_0.0.1
31  ACTIVE      javax.servlet.jsp.jstl_1.2.0.v201105211821
32  ACTIVE      org.apache.el_7.0.32.v201211081135
33  ACTIVE      org.springframework.security.taglibs_3.1.3.RELEASE
34  ACTIVE      org.eclipse.gemini.web.tomcat_2.2.0.RELEASE
35  ACTIVE      org.opendaylight.controller.statisticsmanager.implementation_0.4.1
36  ACTIVE      org.springframework.core_3.1.3.RELEASE
37  ACTIVE      javax.ejb_3.1.1.v201204261316
38  ACTIVE      org.opendaylight.controller.commons.northbound_0.4.1
39  RESOLVED    org.apache.tomcat.util_7.0.32.v201211201952
                Master=64
40  ACTIVE      com.fasterxml.jackson.core.jackson-annotations_2.3.0
41  RESOLVED    org.opendaylight.controller.security_0.4.1
                Master=64
42  ACTIVE      org.opendaylight.controller.connectionmanager.northbound_0.1.1
43  <<LAZY>>    org.eclipse.equinox.http.servlet_1.0.0.v20070606
44  ACTIVE      org.opendaylight.controller.hosttracker_0.5.1
45  ACTIVE      org.opendaylight.controller.statisticsmanager_0.5.0
46  ACTIVE      org.opendaylight.controller.statistics.northbound_0.4.1
47  RESOLVED    org.apache.coyote_7.0.32.v201211201952
                Master=64
48  ACTIVE      org.eclipse.virgo.util.parser.manifest_3.6.0.RELEASE
49  ACTIVE      org.springframework.security.config_3.1.3.RELEASE
50  ACTIVE      org.opendaylight.controller.sal.connection_0.1.1
51  ACTIVE      org.opendaylight.controller.hosttracker.implementation_0.5.1
52  RESOLVED    org.apache.jasper_7.0.32.v201211201952
                Master=64
53  ACTIVE      org.opendaylight.controller.switchmanager_0.7.0
54  ACTIVE      org.eclipse.gemini.web.core_2.2.0.RELEASE
55  ACTIVE      org.opendaylight.controller.sal.connection.implementation_0.1.1
56  ACTIVE      org.apache.felix.dependencymanager.shell_3.0.1
57  ACTIVE      org.eclipse.virgo.util.math_3.6.0.RELEASE
58  ACTIVE      org.springframework.security.web_3.1.3.RELEASE
59  ACTIVE      log4j.over.slf4j_1.7.2
60  ACTIVE      com.fasterxml.jackson.core.jackson-core_2.3.0
61  ACTIVE      org.eclipse.virgo.util.io_3.6.0.RELEASE
62  ACTIVE      javax.persistence_2.0.4.v201112161009
63  ACTIVE      javax.servlet.jsp.jstl.impl_1.2.0.v201210211230
64  ACTIVE      org.apache.catalina_7.0.32.v201211201336
                Fragments=39, 41, 47, 52, 113
65  ACTIVE      org.opendaylight.controller.routing.dijkstra_implementation_0.4.1
66  ACTIVE      org.springframework.context.support_3.1.3.RELEASE
67  ACTIVE      javax.annotation_1.1.0.v201209060031
68  ACTIVE      org.opendaylight.controller.sal.networkconfiguration_0.0.2
69  ACTIVE      org.springframework.context_3.1.3.RELEASE
70  ACTIVE      org.springframework.expression_3.1.3.RELEASE
71  ACTIVE      org.springframework.security.core_3.1.3.RELEASE
72  ACTIVE      com.fasterxml.jackson.jaxrs.jackson-jaxrs-base_2.3.0
73  ACTIVE      javax.xml.rpc_1.1.0.v201005080400
74  ACTIVE      javax.servlet_3.0.0.v201112011016
75  ACTIVE      org.opendaylight.controller.sal_0.7.0
76  ACTIVE      org.opendaylight.controller.devices.web_0.4.1
77  ACTIVE      org.opendaylight.controller.hosttracker.northbound_0.4.1
78  ACTIVE      io.netty.transport_4.0.10.Final
79  ACTIVE      javax.el_2.2.0.v201108011116
80  ACTIVE      org.opendaylight.controller.connectionmanager.implementation_0.1.1
81  ACTIVE      org.sdnhub.odl.ofbroker_0.1.0.SNAPSHOT
82  ACTIVE      org.opendaylight.controller.containermanager_0.5.1
83  ACTIVE      org.apache.felix.gogo.command_0.8.0
84  ACTIVE      javax.mail.glassfish_1.4.1.v201108011116
85  ACTIVE      org.opendaylight.controller.forwarding.staticrouting.northbound_0.4.1
86  ACTIVE      org.sdnhub.odl.test_application_0.5.0.SNAPSHOT
87  ACTIVE      com.fasterxml.jackson.module.jackson-module-jaxb-annotations_2.3.0
88  ACTIVE      org.apache.juli.extras_7.0.32.v201211081135
89  ACTIVE      org.opendaylight.controller.clustering.services_0.5.0
90  ACTIVE      javax.activation_1.1.0.v201211130549
91  ACTIVE      javax.servlet.jsp_2.2.0.v201112011158
92  ACTIVE      org.opendaylight.controller.switchmanager.northbound_0.4.1
93  ACTIVE      org.opendaylight.controller.troubleshoot.web_0.4.1
94  ACTIVE      org.opendaylight.controller.sal.implementation_0.4.1
95  ACTIVE      org.springframework.asm_3.1.3.RELEASE
96  ACTIVE      io.netty.buffer_4.0.10.Final
97  ACTIVE      org.springframework.aop_3.1.3.RELEASE
98  ACTIVE      io.netty.codec_4.0.10.Final
99  ACTIVE      org.opendaylight.controller.configuration.implementation_0.4.1
100 ACTIVE      org.opendaylight.controller.thirdparty.net.sf.jung2_2.0.1
101 ACTIVE      org.opendaylight.controller.subnets.northbound_0.4.1
102 ACTIVE      io.netty.handler_4.0.10.Final
103 ACTIVE      org.opendaylight.controller.usermanager.northbound_0.0.1
104 ACTIVE      org.apache.felix.dependencymanager_3.1.0
105 ACTIVE      org.opendaylight.controller.bundlescanner.implementation_0.4.1
106 ACTIVE      org.jboss.spec.javax.transaction.jboss-transaction-api_1.1_spec_1.0.1.Final
107 ACTIVE      org.opendaylight.controller.usermanager.implementation_0.4.1
108 ACTIVE      org.opendaylight.controller.containermanager.northbound_0.4.1
109 ACTIVE      org.eclipse.virgo.util.osgi.manifest_3.6.0.RELEASE
110 ACTIVE      org.opendaylight.controller.topologymanager_0.4.1
111 ACTIVE      org.apache.felix.gogo.runtime_0.8.0.v201108120515
112 ACTIVE      org.eclipse.gemini.web.extender_2.2.0.RELEASE
113 RESOLVED    org.opendaylight.controller.thirdparty.org.apache.catalina.filters.CorsFilter_7.0.42
                Master=64
114 ACTIVE      org.opendaylight.controller.forwarding.staticrouting_0.5.1
115 ACTIVE      com.fasterxml.jackson.core.jackson-databind_2.3.0
116 ACTIVE      com.springsource.org.aopalliance_1.0.0
117 ACTIVE      org.opendaylight.controller.appauth_0.4.1
118 ACTIVE      org.opendaylight.controller.flowprogrammer.northbound_0.4.1
119 ACTIVE      org.opendaylight.controller.web_0.4.1
120 ACTIVE      org.sdnhub.odl.protocol_plugins.openflow10_0.1.0.SNAPSHOT
121 ACTIVE      org.opendaylight.controller.topology.northbound_0.4.1
122 ACTIVE      org.apache.felix.gogo.shell_0.8.0.v201110170705
123 ACTIVE      org.sdnhub.odl.tutorial_L2_forwarding_0.5.0.SNAPSHOT
124 ACTIVE      org.eclipse.virgo.util.common_3.6.0.RELEASE
125 ACTIVE      io.netty.common_4.0.10.Final
126 ACTIVE      org.opendaylight.controller.clustering.services-implementation_0.4.1
127 ACTIVE      org.springframework.web_3.1.3.RELEASE
128 ACTIVE      org.opendaylight.controller.connectionmanager_0.1.1
129 ACTIVE      org.apache.tomcat.api_7.0.32.v201211081135
130 ACTIVE      org.opendaylight.controller.clustering.test_0.4.1
131 ACTIVE      org.opendaylight.controller.forwardingrulesmanager_0.5.0
132 INSTALLED   org.opendaylight.controller.osgi-brandfragment.web_0.0.1
133 ACTIVE      org.opendaylight.controller.sal.networkconfiguration.implementation_0.0.2
134 ACTIVE      javax.resource_1.5.0.v200906010428
135 ACTIVE      com.fasterxml.jackson.jaxrs.jackson-jaxrs-json-provider_2.3.0
136 ACTIVE      org.opendaylight.controller.bundlescanner_0.4.1
137 ACTIVE      org.objectweb.asm.all_4.1.0

Thank you in advance!

Controller uses 100% cpu without anything to do

Hello everyone,

As soon as i start my controller (hydrogen release) it consumes 100% cpu even though there is no traffic to handle at all. I already tried to stop some modules that may possibly cause this (like the one i am developing) but i did not find anything yet. I thought this might help as i think it is some kind of infinit-loop in one of the modules or something like that.

Did anyone else experience this issue and knows how to solve this?

Following is a list of installed modules i got from the osgi console:

osgi> ss
"Framework is launched."


id  State       Bundle
0   ACTIVE      org.eclipse.osgi_3.8.1.v20120830-144521
1   ACTIVE      org.apache.felix.fileinstall_3.1.6
2   ACTIVE      org.eclipse.jdt.core.compiler.batch_3.8.0.I20120518-2145
3   ACTIVE      org.eclipse.equinox.ds_1.4.0.v20120522-1841
4   ACTIVE      org.eclipse.equinox.util_1.0.400.v20120522-2049
5   ACTIVE      org.eclipse.osgi.services_3.3.100.v20120522-1822
6   ACTIVE      org.eclipse.equinox.console_1.0.0.v20120522-1841
7   ACTIVE      slf4j.api_1.7.2
8   ACTIVE      ch.qos.logback.classic_1.0.9
9   ACTIVE      ch.qos.logback.core_1.0.9
10  ACTIVE      com.sun.jersey.core_1.17.0
11  ACTIVE      com.sun.jersey.jersey-server_1.17.0
12  ACTIVE      jcl.over.slf4j_1.7.2
13  ACTIVE      org.sdnhub.odl.protocol_plugins.openflow13_0.1.0.SNAPSHOT
14  ACTIVE      org.opendaylight.controller.topology.web_0.4.1
15  ACTIVE      com.google.guava_14.0.1
16  ACTIVE      org.opendaylight.controller.arphandler_0.5.1
17  ACTIVE      org.opendaylight.controller.flows.web_0.4.1
18  ACTIVE      org.opendaylight.controller.forwardingrulesmanager.implementation_0.4.1
19  ACTIVE      org.opendaylight.controller.thirdparty.com.sun.jersey.jersey-servlet_1.17.0
20  ACTIVE      org.apache.commons.lang3_3.1.0
21  ACTIVE      org.opendaylight.controller.configuration_0.4.1
22  ACTIVE      org.springframework.beans_3.1.3.RELEASE
23  ACTIVE      org.eclipse.virgo.util.osgi_3.6.0.RELEASE
24  ACTIVE      org.springframework.transaction_3.1.3.RELEASE
25  ACTIVE      org.opendaylight.controller.switchmanager.implementation_0.4.1
26  ACTIVE      org.springframework.web.servlet_3.1.3.RELEASE
27  ACTIVE      org.opendaylight.controller.usermanager_0.4.1
28  ACTIVE      org.opendaylight.controller.containermanager.implementation_0.5.1
29  ACTIVE      com.google.gson_2.2.4
30  ACTIVE      controllermanager.northbound_0.0.1
31  ACTIVE      javax.servlet.jsp.jstl_1.2.0.v201105211821
32  ACTIVE      org.apache.el_7.0.32.v201211081135
33  ACTIVE      org.springframework.security.taglibs_3.1.3.RELEASE
34  ACTIVE      org.eclipse.gemini.web.tomcat_2.2.0.RELEASE
35  ACTIVE      org.opendaylight.controller.statisticsmanager.implementation_0.4.1
36  ACTIVE      org.springframework.core_3.1.3.RELEASE
37  ACTIVE      javax.ejb_3.1.1.v201204261316
38  ACTIVE      org.opendaylight.controller.commons.northbound_0.4.1
39  RESOLVED    org.apache.tomcat.util_7.0.32.v201211201952
                Master=64
40  ACTIVE      com.fasterxml.jackson.core.jackson-annotations_2.3.0
41  RESOLVED    org.opendaylight.controller.security_0.4.1
                Master=64
42  ACTIVE      org.opendaylight.controller.connectionmanager.northbound_0.1.1
43  <<LAZY>>    org.eclipse.equinox.http.servlet_1.0.0.v20070606
44  ACTIVE      org.opendaylight.controller.hosttracker_0.5.1
45  ACTIVE      org.opendaylight.controller.statisticsmanager_0.5.0
46  ACTIVE      org.opendaylight.controller.statistics.northbound_0.4.1
47  RESOLVED    org.apache.coyote_7.0.32.v201211201952
                Master=64
48  ACTIVE      org.eclipse.virgo.util.parser.manifest_3.6.0.RELEASE
49  ACTIVE      org.springframework.security.config_3.1.3.RELEASE
50  ACTIVE      org.opendaylight.controller.sal.connection_0.1.1
51  ACTIVE      org.opendaylight.controller.hosttracker.implementation_0.5.1
52  RESOLVED    org.apache.jasper_7.0.32.v201211201952
                Master=64
53  ACTIVE      org.opendaylight.controller.switchmanager_0.7.0
54  ACTIVE      org.eclipse.gemini.web.core_2.2.0.RELEASE
55  ACTIVE      org.opendaylight.controller.sal.connection.implementation_0.1.1
56  ACTIVE      org.apache.felix.dependencymanager.shell_3.0.1
57  ACTIVE      org.eclipse.virgo.util.math_3.6.0.RELEASE
58  ACTIVE      org.springframework.security.web_3.1.3.RELEASE
59  ACTIVE      log4j.over.slf4j_1.7.2
60  ACTIVE      com.fasterxml.jackson.core.jackson-core_2.3.0
61  ACTIVE      org.eclipse.virgo.util.io_3.6.0.RELEASE
62  ACTIVE      javax.persistence_2.0.4.v201112161009
63  ACTIVE      javax.servlet.jsp.jstl.impl_1.2.0.v201210211230
64  ACTIVE      org.apache.catalina_7.0.32.v201211201336
                Fragments=39, 41, 47, 52, 113
65  ACTIVE      org.opendaylight.controller.routing.dijkstra_implementation_0.4.1
66  ACTIVE      org.springframework.context.support_3.1.3.RELEASE
67  ACTIVE      javax.annotation_1.1.0.v201209060031
68  ACTIVE      org.opendaylight.controller.sal.networkconfiguration_0.0.2
69  ACTIVE      org.springframework.context_3.1.3.RELEASE
70  ACTIVE      org.springframework.expression_3.1.3.RELEASE
71  ACTIVE      org.springframework.security.core_3.1.3.RELEASE
72  ACTIVE      com.fasterxml.jackson.jaxrs.jackson-jaxrs-base_2.3.0
73  ACTIVE      javax.xml.rpc_1.1.0.v201005080400
74  ACTIVE      javax.servlet_3.0.0.v201112011016
75  ACTIVE      org.opendaylight.controller.sal_0.7.0
76  ACTIVE      org.opendaylight.controller.devices.web_0.4.1
77  ACTIVE      org.opendaylight.controller.hosttracker.northbound_0.4.1
78  ACTIVE      io.netty.transport_4.0.10.Final
79  ACTIVE      javax.el_2.2.0.v201108011116
80  ACTIVE      org.opendaylight.controller.connectionmanager.implementation_0.1.1
81  ACTIVE      org.sdnhub.odl.ofbroker_0.1.0.SNAPSHOT
82  ACTIVE      org.opendaylight.controller.containermanager_0.5.1
83  ACTIVE      org.apache.felix.gogo.command_0.8.0
84  ACTIVE      javax.mail.glassfish_1.4.1.v201108011116
85  ACTIVE      org.opendaylight.controller.forwarding.staticrouting.northbound_0.4.1
86  ACTIVE      org.sdnhub.odl.test_application_0.5.0.SNAPSHOT
87  ACTIVE      com.fasterxml.jackson.module.jackson-module-jaxb-annotations_2.3.0
88  ACTIVE      org.apache.juli.extras_7.0.32.v201211081135
89  ACTIVE      org.opendaylight.controller.clustering.services_0.5.0
90  ACTIVE      javax.activation_1.1.0.v201211130549
91  ACTIVE      javax.servlet.jsp_2.2.0.v201112011158
92  ACTIVE      org.opendaylight.controller.switchmanager.northbound_0.4.1
93  ACTIVE      org.opendaylight.controller.troubleshoot.web_0.4.1
94  ACTIVE      org.opendaylight.controller.sal.implementation_0.4.1
95  ACTIVE      org.springframework.asm_3.1.3.RELEASE
96  ACTIVE      io.netty.buffer_4.0.10.Final
97  ACTIVE      org.springframework.aop_3.1.3.RELEASE
98  ACTIVE      io.netty.codec_4.0.10.Final
99  ACTIVE      org.opendaylight.controller.configuration.implementation_0.4.1
100 ACTIVE      org.opendaylight.controller.thirdparty.net.sf.jung2_2.0.1
101 ACTIVE      org.opendaylight.controller.subnets.northbound_0.4.1
102 ACTIVE      io.netty.handler_4.0.10.Final
103 ACTIVE      org.opendaylight.controller.usermanager.northbound_0.0.1
104 ACTIVE      org.apache.felix.dependencymanager_3.1.0
105 ACTIVE      org.opendaylight.controller.bundlescanner.implementation_0.4.1
106 ACTIVE      org.jboss.spec.javax.transaction.jboss-transaction-api_1.1_spec_1.0.1.Final
107 ACTIVE      org.opendaylight.controller.usermanager.implementation_0.4.1
108 ACTIVE      org.opendaylight.controller.containermanager.northbound_0.4.1
109 ACTIVE      org.eclipse.virgo.util.osgi.manifest_3.6.0.RELEASE
110 ACTIVE      org.opendaylight.controller.topologymanager_0.4.1
111 ACTIVE      org.apache.felix.gogo.runtime_0.8.0.v201108120515
112 ACTIVE      org.eclipse.gemini.web.extender_2.2.0.RELEASE
113 RESOLVED    org.opendaylight.controller.thirdparty.org.apache.catalina.filters.CorsFilter_7.0.42
                Master=64
114 ACTIVE      org.opendaylight.controller.forwarding.staticrouting_0.5.1
115 ACTIVE      com.fasterxml.jackson.core.jackson-databind_2.3.0
116 ACTIVE      com.springsource.org.aopalliance_1.0.0
117 ACTIVE      org.opendaylight.controller.appauth_0.4.1
118 ACTIVE      org.opendaylight.controller.flowprogrammer.northbound_0.4.1
119 ACTIVE      org.opendaylight.controller.web_0.4.1
120 ACTIVE      org.sdnhub.odl.protocol_plugins.openflow10_0.1.0.SNAPSHOT
121 ACTIVE      org.opendaylight.controller.topology.northbound_0.4.1
122 ACTIVE      org.apache.felix.gogo.shell_0.8.0.v201110170705
123 ACTIVE      org.sdnhub.odl.tutorial_L2_forwarding_0.5.0.SNAPSHOT
124 ACTIVE      org.eclipse.virgo.util.common_3.6.0.RELEASE
125 ACTIVE      io.netty.common_4.0.10.Final
126 ACTIVE      org.opendaylight.controller.clustering.services-implementation_0.4.1
127 ACTIVE      org.springframework.web_3.1.3.RELEASE
128 ACTIVE      org.opendaylight.controller.connectionmanager_0.1.1
129 ACTIVE      org.apache.tomcat.api_7.0.32.v201211081135
130 ACTIVE      org.opendaylight.controller.clustering.test_0.4.1
131 ACTIVE      org.opendaylight.controller.forwardingrulesmanager_0.5.0
132 INSTALLED   org.opendaylight.controller.osgi-brandfragment.web_0.0.1
133 ACTIVE      org.opendaylight.controller.sal.networkconfiguration.implementation_0.0.2
134 ACTIVE      javax.resource_1.5.0.v200906010428
135 ACTIVE      com.fasterxml.jackson.jaxrs.jackson-jaxrs-json-provider_2.3.0
136 ACTIVE      org.opendaylight.controller.bundlescanner_0.4.1
137 ACTIVE      org.objectweb.asm.all_4.1.0

Thank you in advance!