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


instance creation is very slow in lithium

asked 2015-07-19 22:11:01 -0700

hjdeore gravatar image

Hi Guys,

In my ODL instances are getting created very slowly. Any idea about how to resolve this issue & make ODL run faster?

My system configuration is very high considering all aspects, so there is hardware or memory issue.

Regards, Harish

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2015-07-19 23:43:50 -0700

Vishal Thapar gravatar image

updated 2015-07-19 23:44:09 -0700

I suspect this could be due to JAVA_OPTS. Take a look at this link and try increasing memory in your JAVA_OPTS and see if it helps.

edit flag offensive delete publish link more


Thanks for the reply but its not resolving the issue.

hjdeore ( 2015-07-20 00:23:39 -0700 )edit

answered 2015-07-20 09:32:25 -0700

jamoluhrsen gravatar image

two things come to mind:

  1. are you loading a lot of features at startup? those would be defined in etc/org.apache.karaf.features.cfg

  2. there was an issue in the past where starting things required a connection to the internet because it was trying to download some packages. If you are using a version with this bug, and are behind a proxy you can add proxy info to your .m2 settings.xml.

Also, you can look in data/log/karaf.log for any obvious trouble while trying to start up.

edit flag offensive delete publish link more


for 2nd option, was that bug in Lithium version ? if yes then how to resolve that?

hjdeore ( 2015-07-23 06:05:14 -0700 )edit

I don't think #2 was an issue for Lithium. here is the original bug: also, there is a CI job that is passing that checks for this:

jamoluhrsen ( 2015-07-23 09:44:32 -0700 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-07-19 22:11:01 -0700

Seen: 177 times

Last updated: Jul 20 '15