<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:16:41 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>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-27944] mongodb 3.4.1   OOM when add new node to replica set  </title>
                <link>https://jira.mongodb.org/browse/SERVER-27944</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;OOM when add new node to replica set&lt;/p&gt;

&lt;p&gt;We meet a OOM problem when we add a new node(with 16GB memory)  to replica set , there are about 200GB data on primary node , it takes 1 hours before OOM . We have tried some times, but same result.&lt;/p&gt;

&lt;p&gt;  &quot;top&quot; command has been run on our linux system there are almost  no buffer,Cache,Free memory before OOM.&lt;/p&gt;

&lt;p&gt;We notice there are much  &quot;building index using bulk method; build may temporarily use up to 500 megabytes of RAM&quot; in log. We found a parameter named &quot;secondaryIndexPrefetch&quot; to release resource for building index , but it  doesn&apos;t work in WT.&lt;/p&gt;</description>
                <environment></environment>
        <key id="352533">SERVER-27944</key>
            <summary>mongodb 3.4.1   OOM when add new node to replica set  </summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.mongodb.org/images/icons/priorities/critical.svg">Critical - P2</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="3">Duplicate</resolution>
                                        <assignee username="mark.agarunov">Mark Agarunov</assignee>
                                    <reporter username="zhangyu.liu">zhangyu.liu</reporter>
                        <labels>
                    </labels>
                <created>Wed, 8 Feb 2017 09:41:53 +0000</created>
                <updated>Thu, 16 Feb 2017 22:36:08 +0000</updated>
                            <resolved>Thu, 16 Feb 2017 22:36:08 +0000</resolved>
                                    <version>3.4.1</version>
                                                    <component>Admin</component>
                                        <votes>0</votes>
                                    <watches>11</watches>
                                                                                                                <comments>
                            <comment id="1500591" author="mark.agarunov" created="Thu, 16 Feb 2017 22:31:02 +0000"  >&lt;p&gt;Hello &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=zhangyu.liu&quot; class=&quot;user-hover&quot; rel=&quot;zhangyu.liu&quot;&gt;zhangyu.liu&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Thank you for providing the data. We have managed to reproduce the described behavior and it appears to be a symptom of the issue described in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-27678&quot; title=&quot;CollectionCloner should call _finishCallback at most once&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-27678&quot;&gt;&lt;del&gt;SERVER-27678&lt;/del&gt;&lt;/a&gt;. As this issue has been fixed in version 3.4.2, the best approach would be to upgrade to the latest version of MongoDB. If the issue is still present after upgrading, please let me know and we will continue investigating.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Mark&lt;/p&gt;</comment>
                            <comment id="1498373" author="zhangyu.liu" created="Tue, 14 Feb 2017 04:36:30 +0000"  >&lt;p&gt;Hi Mark&lt;/p&gt;

&lt;p&gt;Thanks for reply. &lt;/p&gt;

&lt;p&gt;I have uploaded diagnostic.data ( heapProfilingEnabled=true ) , but it is not a natural OOM log , we manually kill the instance when there are only 200mb (free+buffers+cached) memory left , we start the testing from 12GB free memory.&lt;/p&gt;

&lt;p&gt;If the log is not work for your team to  diagnose  the issue , we will run another natural OOM test later.&lt;/p&gt;</comment>
                            <comment id="1498117" author="mark.agarunov" created="Mon, 13 Feb 2017 21:02:51 +0000"  >&lt;p&gt;Hello &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=zhangyu.liu&quot; class=&quot;user-hover&quot; rel=&quot;zhangyu.liu&quot;&gt;zhangyu.liu&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Thank you for providing the diagnostic data. Looking over the data, there may be an issue with the heap allocations, which is causing excess memory use. To better understand this issue, we will need the data from the heap profiler. To get this data, please do the following:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Start mongod with the additional flag &lt;tt&gt;--setParameter heapProfilingEnabled=true&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;Run mongod until reaching the OOM condition&lt;/li&gt;
	&lt;li&gt;Upload the &lt;tt&gt;diagnostic.data&lt;/tt&gt; so that we can examine the data.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Thanks,&lt;br/&gt;
Mark&lt;/p&gt;</comment>
                            <comment id="1495615" author="zhangyu.liu" created="Thu, 9 Feb 2017 02:04:43 +0000"  >&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://jira.mongodb.org/secure/attachment/149093/149093_screenshot-1.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;    Already uploaded Thank you&lt;/p&gt;</comment>
                            <comment id="1494827" author="dan@10gen.com" created="Wed, 8 Feb 2017 14:06:00 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=zhangyu.liu&quot; class=&quot;user-hover&quot; rel=&quot;zhangyu.liu&quot;&gt;zhangyu.liu&lt;/a&gt;, can you attach the &lt;tt&gt;diagnostic.data&lt;/tt&gt; files found in the data directory of the mongod?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="345664">SERVER-27678</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="149494" name="Screen Shot 2017-02-14 at 11.23.28 AM.png" size="147333" author="mark.agarunov" created="Tue, 14 Feb 2017 16:24:18 +0000"/>
                            <attachment id="149221" name="disk-mem.png" size="143063" author="kelsey.schubert@mongodb.com" created="Fri, 10 Feb 2017 20:26:00 +0000"/>
                            <attachment id="149090" name="metrics.2017-01-22T07-45-36Z-00000" size="816616" author="zhangyu.liu" created="Thu, 9 Feb 2017 01:50:12 +0000"/>
                            <attachment id="149449" name="metrics.2017-02-14T02-34-24Z-00000" size="2323345" author="zhangyu.liu" created="Tue, 14 Feb 2017 04:35:40 +0000"/>
                            <attachment id="149027" name="mongod.zip" size="232718" author="zhangyu.liu" created="Wed, 8 Feb 2017 09:41:20 +0000"/>
                            <attachment id="149448" name="mongod_log.gz" size="333743" author="zhangyu.liu" created="Tue, 14 Feb 2017 04:36:00 +0000"/>
                            <attachment id="149093" name="screenshot-1.png" size="12462" author="zhangyu.liu" created="Thu, 9 Feb 2017 01:58:34 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 8 Feb 2017 14:06:00 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        6 years, 51 weeks, 6 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>mark.agarunov</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            6 years, 51 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>dan@mongodb.com</customfieldvalue>
            <customfieldvalue>mark.agarunov</customfieldvalue>
            <customfieldvalue>zhangyu.liu</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|ht25j3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hsur6v:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hs4h2n:</customfieldvalue>

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