<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:32:45 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[OPNFLWPLUG-539] memory leak with single switch connected having a lot of flows (50k)</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-539</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;This is occurring when using the karaf feature &quot;odl-openflowplugin-flow-services-ui&quot;, but &lt;b&gt;NOT&lt;/b&gt; coming when using the re-designed plugin &quot;old-openflowplugin-flow-services-ui-li&quot;.&lt;/p&gt;

&lt;p&gt;Using the Lithium release bits.&lt;br/&gt;
&lt;a href=&quot;https://nexus.opendaylight.org/content/groups/public/org/opendaylight/integration/distribution-karaf/0.3.0-Lithium/distribution-karaf-0.3.0-Lithium.zip&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://nexus.opendaylight.org/content/groups/public/org/opendaylight/integration/distribution-karaf/0.3.0-Lithium/distribution-karaf-0.3.0-Lithium.zip&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Steps to recreate:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;start karaf and install odl-openflowplugin-flow-services-ui&lt;/li&gt;
&lt;/ul&gt;


&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;connect one OVS switch (ovs version 2.0.2 was used when creating this bug)&lt;/li&gt;
&lt;/ul&gt;


&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;configure 50k flows via NB REST API.&lt;br/&gt;
  I used our robot test &lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt; to do this, which in turn calls a python script &lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;, but&lt;br/&gt;
  it&apos;s possible that any method to configure 50k flows will reproduce this.  If you &lt;br/&gt;
  want to try the robot method, edit the robot script to have &quot;FATAL ERROR&quot; after&lt;br/&gt;
  line 44 which configures the flows.  That forces robot to quit after installing the&lt;br/&gt;
  flows.  The pybot command line that I used is here &lt;span class=&quot;error&quot;&gt;&amp;#91;2&amp;#93;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;wait.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;after some time (maybe many hours) you will see messages like this on the karaf console:&lt;/p&gt;

&lt;p&gt;java.lang.OutOfMemoryError: Java heap space&lt;br/&gt;
	at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.growArray(ForkJoinPool.java:1090)&lt;br/&gt;
Exception in thread &quot;Timer-0&quot; &lt;br/&gt;
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread &quot;Timer-0&quot;&lt;br/&gt;
Exception in thread &quot;qtp1473670433-83&quot; Exception in thread &quot;Karaf Console Local for user karaf&quot; Exception in thread &quot;qtp1473670433-80&quot; at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1978)&lt;br/&gt;
Exception in thread &quot;pool-38-thread-1&quot; Exception in thread &quot;qtp1473670433-1550&quot; Exception in thread &quot;qtp1473670433-85&quot; Exception in thread &quot;RMI TCP Connection(idle)&quot; Exception in thread &quot;sshd-SshServer&lt;span class=&quot;error&quot;&gt;&amp;#91;27195dd9&amp;#93;&lt;/span&gt;-timer-thread-1&quot; Exception in thread &quot;pool-34-thread-1&quot; Exception in thread &quot;RMI TCP Connection(idle)&quot; Exception in thread &quot;qtp1473670433-81&quot; 	at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)&lt;br/&gt;
Exception in thread &quot;RMI TCP Connection(idle)&quot; java.lang.OutOfMemoryError: Java heap space&lt;br/&gt;
Exception in thread &quot;Timer-1&quot; Exception in thread &quot;RMI TCP Connection(idle)&quot; Exception in thread &quot;RMI TCP Connection(idle)&quot; java.lang.OutOfMemoryError: Java heap space&lt;br/&gt;
java.lang.OutOfMemoryError: Java heap space&lt;/p&gt;


&lt;p&gt;I neglected to collect the karaf.log, but can do so if it&apos;s needed.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt; &lt;a href=&quot;https://github.com/opendaylight/integration/blob/master/test/csit/suites/openflowplugin/Performance_Flow_Config/070_Stats_Collection_100k_WithMininetRestart.robot&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/opendaylight/integration/blob/master/test/csit/suites/openflowplugin/Performance_Flow_Config/070_Stats_Collection_100k_WithMininetRestart.robot&lt;/a&gt;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt; &lt;a href=&quot;https://github.com/opendaylight/integration/blob/master/test/csit/libraries/ScaleClient.py&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/opendaylight/integration/blob/master/test/csit/libraries/ScaleClient.py&lt;/a&gt;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;2&amp;#93;&lt;/span&gt; pybot -d /tmp/RobotResults/ -c critical -e exclude -v BUNDLEFOLDER:distribution-karaf-0.4.0-SNAPSHOT -v WORKSPACE:/tmp -v NEXUSURL_PREFIX:&lt;a href=&quot;http://nexus01.dfw.opendaylight.org:8081/nexus&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://nexus01.dfw.opendaylight.org:8081/nexus&lt;/a&gt; -v CONTROLLER:&amp;lt;your controller ip&amp;gt; -v CONTROLLER_USER:fedora -v MININET:&amp;lt;your mininet vm ip&amp;gt; -v MININET1: -v MININET2: -v MININET_USER:ubuntu -v DEFAULT_LINUX_PROMPT:\$ -v USER_HOME:/home/jluhrsen -L TRACE Performance_Flow_Config/070_Stats_Collection_100k_WithMininetRestart.robot&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="27807">OPNFLWPLUG-539</key>
            <summary>memory leak with single switch connected having a lot of flows (50k)</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10001">Won&apos;t Do</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="jluhrsen">Jamo Luhrsen</reporter>
                        <labels>
                    </labels>
                <created>Tue, 25 Aug 2015 17:17:07 +0000</created>
                <updated>Mon, 27 Sep 2021 09:01:38 +0000</updated>
                            <resolved>Tue, 12 Dec 2017 01:17:52 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="60404" author="vishnoianil@gmail.com" created="Tue, 12 Dec 2017 01:17:44 +0000"  >&lt;p&gt;No activity on the bug and lithium branch is not supported now. Please re-open the bug if you hit the issue with the latest carbon/nitrgeon/oxygen branch.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4186</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10201" key="com.atlassian.jira.plugin.system.customfieldtypes:url">
                        <customfieldname>External issue URL</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[https://bugs.opendaylight.org/show_bug.cgi?id=4186]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i031rz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>