<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:33:30 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-833] OOM due to suspected memory leak in akka.dispatch.Dispatcher found by MAT in hprof</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-833</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;OOM error seen about 4 hours after ODL bring up:&lt;/p&gt;

&lt;p&gt;2016-12-14 12:34:35,306 | WARN  | entLoopGroup-6-1 | NioServerSocketChannel           | 136 - io.netty.common - 4.0.37.Final | Failed to create a new channel from an accepted socket.&lt;br/&gt;
java.lang.OutOfMemoryError: Java heap space&lt;/p&gt;


&lt;p&gt;2016-12-14 12:34:27,756 | ERROR | ntLoopGroup-7-28 | ExceptionHandler                 | 285 - org.opendaylight.ovsdb.library - 1.3.2.Boron-SR2 | Exception occurred while processing connection pipeline &lt;br/&gt;
io.netty.handler.codec.DecoderException: java.lang.OutOfMemoryError: Java heap space&lt;/p&gt;


&lt;p&gt;karaf logs attached&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="28101">OPNFLWPLUG-833</key>
            <summary>OOM due to suspected memory leak in akka.dispatch.Dispatcher found by MAT in hprof</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="10003">Cannot Reproduce</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="trozet">Tim Rozet</reporter>
                        <labels>
                    </labels>
                <created>Wed, 14 Dec 2016 17:18:08 +0000</created>
                <updated>Mon, 27 Sep 2021 09:01:58 +0000</updated>
                            <resolved>Wed, 21 Jun 2017 13:33:56 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="58583" author="trozet@redhat.com" created="Wed, 14 Dec 2016 17:18:08 +0000"  >&lt;p&gt;Attachment karaf.zip has been added with description: karaf logs&lt;/p&gt;</comment>
                            <comment id="58575" author="vishnoianil@gmail.com" created="Wed, 14 Dec 2016 17:21:43 +0000"  >&lt;p&gt;Hi Tim,&lt;/p&gt;

&lt;p&gt;do you have heapdump from this OOM? It will help us figure out where the leak is actually happening. Also do you have some detail about what operations were happening during these 4 hours of up time?&lt;/p&gt;</comment>
                            <comment id="58576" author="trozet@redhat.com" created="Wed, 14 Dec 2016 18:09:27 +0000"  >&lt;p&gt;Due to the size of the heap, I uploaded it to here:&lt;br/&gt;
&lt;a href=&quot;http://artifacts.opnfv.org/apex/random/java_pid19570.hprof.zip&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://artifacts.opnfv.org/apex/random/java_pid19570.hprof.zip&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;All that happened on this setup was an external network/subnet create + a basic healthcheck, which consists of creating a tenant network, and then bringing up a few instances and checking if they got dhcp ip (which they didnt). The deployment then sat idle until crash.&lt;/p&gt;</comment>
                            <comment id="58577" author="vishnoianil@gmail.com" created="Thu, 15 Dec 2016 03:33:43 +0000"  >&lt;p&gt;Hi Tim,&lt;/p&gt;

&lt;p&gt;Quick question, are you running it in clustered setup?&lt;/p&gt;</comment>
                            <comment id="58578" author="trozet@redhat.com" created="Thu, 15 Dec 2016 15:39:01 +0000"  >&lt;p&gt;There are multiple OpenStack neutron nodes, but ODL is only running as a single instance and not clustered.&lt;/p&gt;</comment>
                            <comment id="58584" author="vorburger" created="Mon, 29 May 2017 11:34:45 +0000"  >&lt;p&gt;Attachment java_pid19570_Leak_Suspects.zip has been added with description: MAT akka.dispatch.Dispatcher memory leak suspect HTML report&lt;/p&gt;</comment>
                            <comment id="58579" author="vorburger" created="Mon, 29 May 2017 11:40:09 +0000"  >&lt;p&gt;Just had a look at this one using MAT, see report in attachment.&lt;/p&gt;

&lt;p&gt;This very most likely isn&apos;t actually OVSDB or io.netty.handler.codec.DecoderException related; that&apos;s just when it hit, so moving project and editing summary.&lt;/p&gt;

&lt;p&gt;I&apos;ll now email mdsal-dev &amp;amp; controller-dev to get first reactions about this.&lt;/p&gt;</comment>
                            <comment id="58585" author="vorburger" created="Mon, 29 May 2017 13:19:07 +0000"  >&lt;p&gt;Attachment Bug7370_Threads.zip has been added with description: MAT list of 604 threads with stack traces HTML report&lt;/p&gt;</comment>
                            <comment id="58580" author="vorburger" created="Mon, 29 May 2017 13:58:07 +0000"  >&lt;p&gt;&lt;a href=&quot;https://lists.opendaylight.org/pipermail/mdsal-dev/2017-May/001218.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://lists.opendaylight.org/pipermail/mdsal-dev/2017-May/001218.html&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="58581" author="vorburger" created="Mon, 19 Jun 2017 12:59:03 +0000"  >&lt;p&gt;Moving project again, from mdsal to openflowplugin, because &lt;a href=&quot;https://lists.opendaylight.org/pipermail/mdsal-dev/2017-May/001219.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://lists.opendaylight.org/pipermail/mdsal-dev/2017-May/001219.html&lt;/a&gt; clarified that this means that a listener (in openflowplugin) instead of async dealing with events locked an Akka Dispatcher thread (and lead to an OOM there).&lt;/p&gt;

&lt;p&gt;I had had a closer look at the org.opendaylight.openflowplugin.impl.util.DeviceInitializationUtils.initializeNodeInformation on master as of 3 weeks ago, and found that the code there meanwhile considerably changed - the &quot;blocking get on a Future&quot; which Tom picked up on in the trace doesn&apos;t seem to be there anymore.  &lt;a href=&quot;https://lists.opendaylight.org/pipermail/mdsal-dev/2017-May/001220.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://lists.opendaylight.org/pipermail/mdsal-dev/2017-May/001220.html&lt;/a&gt; seems to say the same.&lt;/p&gt;

&lt;p&gt;I&apos;m thus closing this particular OOM as &quot;WORKSFORME&quot; (in master; no interest in chasing this in stable maintenance).  Of course, this does not mean that there could not be other OOM issues, elsewhere... we need people to reproduce them and provide more HPROF dump we can analyze (just like first did Tim here; thanks again).&lt;/p&gt;</comment>
                            <comment id="58582" author="vorburger" created="Wed, 21 Jun 2017 13:33:56 +0000"  >&lt;p&gt;&amp;gt; closer look at the org.opendaylight.openflowplugin.impl.util.DeviceInitializationUtils.initializeNodeInformation on master as of 3 weeks ago, and found that the code there meanwhile considerably changed - the &quot;blocking get on a Future&quot; which Tom picked up on in the trace doesn&apos;t seem to be there anymore. &lt;/p&gt;

&lt;p&gt;I&apos;ve also had a (very quick) look at stable/boron branch, and it&apos;s the same there already; the code there meanwhile considerably changed - the &quot;blocking get on a Future&quot; which Tom picked up on in the trace doesn&apos;t seem to be there anymore.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="14106" name="Bug7370_Threads.zip" size="785461" author="vorburger" created="Mon, 29 May 2017 13:19:07 +0000"/>
                            <attachment id="14105" name="java_pid19570_Leak_Suspects.zip" size="78282" author="vorburger" created="Mon, 29 May 2017 11:34:45 +0000"/>
                            <attachment id="14104" name="karaf.zip" size="192458" author="trozet" created="Wed, 14 Dec 2016 17:18:08 +0000"/>
                    </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>7370</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=7370]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10202" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Priority</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10312"><![CDATA[High]]></customfieldvalue>

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

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