<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:59:02 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-2122] memory leak of shard + replication</title>
                <link>https://jira.mongodb.org/browse/SERVER-2122</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;I have a system with 2 shard where each shard is a replica set &lt;/p&gt;

&lt;p&gt;in my 3 server run:&lt;/p&gt;

&lt;p&gt;1 mongod for replicaset 1&lt;br/&gt;
1 mongod for replicaset 2&lt;br/&gt;
1 mongod --cfg&lt;br/&gt;
1 mongos&lt;/p&gt;

&lt;p&gt;after few hours the mongod instance are killed by oom-killer, on dmesg I have:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;12179.894393&amp;#93;&lt;/span&gt; Out of memory: kill process 4747 (mongod) score 378148 or a child&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;12179.896914&amp;#93;&lt;/span&gt; Killed process 4747 (mongod)&lt;/p&gt;</description>
                <environment>ubuntu server 10.04 &lt;br/&gt;
cpu: dual core xeon &lt;br/&gt;
RAM: 1GB&lt;br/&gt;
HDD: 30GB</environment>
        <key id="13746">SERVER-2122</key>
            <summary>memory leak of shard + replication</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</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="9">Done</resolution>
                                        <assignee username="mathias@mongodb.com">Mathias Stearn</assignee>
                                    <reporter username="andrew">Andrea Nicotra</reporter>
                        <labels>
                    </labels>
                <created>Fri, 19 Nov 2010 14:08:28 +0000</created>
                <updated>Tue, 12 Jul 2016 00:19:01 +0000</updated>
                            <resolved>Fri, 2 Sep 2011 11:40:14 +0000</resolved>
                                    <version>1.6.4</version>
                                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="52197" author="eliot" created="Fri, 2 Sep 2011 11:40:14 +0000"  >&lt;p&gt;Great - thanks.&lt;/p&gt;</comment>
                            <comment id="52182" author="andrew" created="Fri, 2 Sep 2011 09:51:48 +0000"  >&lt;p&gt;I try the test with mongo 1.8.2 and seems fixed&lt;/p&gt;</comment>
                            <comment id="52119" author="eliot" created="Fri, 2 Sep 2011 04:44:21 +0000"  >&lt;p&gt;Last comment had wrong permissions.&lt;br/&gt;
Can you try with 1.8.3 or 2.0.0-rc0.&lt;br/&gt;
There were a bunch of memory leaks fixed.&lt;/p&gt;</comment>
                            <comment id="20484" author="andrew" created="Fri, 19 Nov 2010 17:33:42 +0000"  >&lt;p&gt;memory chart, vmstat and mongostat output &lt;/p&gt;</comment>
                            <comment id="20478" author="andrew" created="Fri, 19 Nov 2010 15:23:34 +0000"  >&lt;p&gt;Are you running on openvz by any chance?&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;the system is running on vmware ESX4&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Do you have any graphs of memory usage?&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;no, but now I start a test with mongostat I will send you the report.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;cheers&lt;br/&gt;
Andrea&lt;/p&gt;

&lt;p&gt;2010/11/19 Eliot Horowitz (JIRA) &amp;lt;jira@mongodb.org&amp;gt;&lt;/p&gt;
</comment>
                            <comment id="20477" author="eliot" created="Fri, 19 Nov 2010 14:49:19 +0000"  >&lt;p&gt;Are you running on openvz by any chance?&lt;/p&gt;

&lt;p&gt;Do you have any graphs of memory usage?&lt;/p&gt;

&lt;p&gt;What would be great is to run with mongostat so we can correlate to what&apos;s going on&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="10609" name="2_memory_leak_shard+repset.zip" size="369470" author="andrew" created="Fri, 19 Nov 2010 17:33:42 +0000"/>
                            <attachment id="10608" name="memory_leak_shard+repset.zip" size="193007" author="andrew" created="Fri, 19 Nov 2010 14:14:43 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 19 Nov 2010 14:49:19 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        12 years, 24 weeks, 5 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>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            12 years, 24 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </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>andrew</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>mathias@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpb4n:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>7472</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|hrlihj:</customfieldvalue>

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