<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:09:20 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-5589] Possible memory leak in Linux 64-bit server</title>
                <link>https://jira.mongodb.org/browse/SERVER-5589</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;We have been running a &lt;tt&gt;mongod&lt;/tt&gt; process since March 28.  I&apos;ve noticed entries like the following since April 8.  The log has been rotated, but it&apos;s possible the warnings started appearing on April 7.&lt;/p&gt;

&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;Thu Apr 12 15:01:38 [conn89420] warning: virtual size (46611MB) - mapped size (41518MB) is large (5036MB). could indicate a memory leak&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;We have Mongo monitoring set up at &lt;a href=&quot;https://mms.10gen.com/host/detail/dcc39f13a93138e874baf774e498d6f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://mms.10gen.com/host/detail/dcc39f13a93138e874baf774e498d6f&lt;/a&gt;.  The increase in memory usage is after our most recently application deploy (on April 6) and a job on April 7 (around 12:00 PDT) to create a processed copy of all the files in GridFS, but I can&apos;t account for the increase in memory consumption that begins around 21:00 PDT on April 7 and has continued to a lesser degree.&lt;/p&gt;</description>
                <environment>Linux 2.6.18-128.1.1.el5 #1 SMP Mon Jan 26 13:58:24 EST 2009 x86_64 GNU/Linux&lt;br/&gt;
</environment>
        <key id="36135">SERVER-5589</key>
            <summary>Possible memory leak in Linux 64-bit server</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="4">Incomplete</resolution>
                                        <assignee username="dan@mongodb.com">Daniel Pasette</assignee>
                                    <reporter username="arun">Arun Bhalla</reporter>
                        <labels>
                    </labels>
                <created>Thu, 12 Apr 2012 20:09:51 +0000</created>
                <updated>Fri, 8 Mar 2013 15:55:47 +0000</updated>
                            <resolved>Thu, 16 Aug 2012 04:03:00 +0000</resolved>
                                    <version>2.0.3</version>
                                                                        <votes>1</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="153851" author="dan@10gen.com" created="Thu, 16 Aug 2012 04:03:00 +0000"  >&lt;p&gt;Please re-open if you have further information on this issue.&lt;/p&gt;</comment>
                            <comment id="142850" author="dan@10gen.com" created="Fri, 13 Jul 2012 17:57:28 +0000"  >&lt;p&gt;Hi Arun, I just took a peak at your MMS charts and it certainly is exhibiting leak symptoms: &lt;a href=&quot;https://mms.10gen.com/host/detail/dcc39f13a93138e874baf774e498d6fd#chartHour&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://mms.10gen.com/host/detail/dcc39f13a93138e874baf774e498d6fd#chartHour&lt;/a&gt;&lt;br/&gt;
Do you have time to share the map/reduce code and sample data?  If it is confidential we can convert this ticket to the community private project.&lt;/p&gt;</comment>
                            <comment id="137912" author="dcrosta" created="Fri, 29 Jun 2012 13:43:06 +0000"  >&lt;p&gt;Hi Arun, are you still experiencing these problems? If you could share your map-reduce jobs, perhaps we could isolate the issue.&lt;/p&gt;</comment>
                            <comment id="123808" author="dcrosta" created="Tue, 29 May 2012 12:36:00 +0000"  >&lt;p&gt;Would you mind sharing your map-reduce jobs here? (If they contain confidential information, we can create a ticket not visible to the public) We&apos;ll also need some sense of what the schema looks like &amp;#8211; example documents would be helpful.&lt;/p&gt;

&lt;p&gt;There have been some memory leaks with map-reduce (or, in particular, with the javascript engine we use) in the past, so this may be another case of that, and I&apos;d like to rule that out first.&lt;/p&gt;

&lt;p&gt;Another option might be to try using 2.0.5 instead of 2.0.3, to see if the non-mapped memory is comparably high using the latest version &amp;#8211; note also that 2.0.6 is due out soon. It would be best to do this in your development or staging environment, rather than in production, if that&apos;s an option for you.&lt;/p&gt;</comment>
                            <comment id="123678" author="arun" created="Mon, 28 May 2012 19:13:10 +0000"  >&lt;p&gt;The URL in the description was truncated.  It should be &lt;a href=&quot;https://mms.10gen.com/host/detail/dcc39f13a93138e874baf774e498d6fd&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://mms.10gen.com/host/detail/dcc39f13a93138e874baf774e498d6fd&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="123677" author="arun" created="Mon, 28 May 2012 19:10:56 +0000"  >&lt;p&gt;Yes, we have 8 map-reduce jobs that run every 5 minutes and another 4 that run nightly.&lt;/p&gt;

&lt;p&gt;We don&apos;t use &lt;tt&gt;db.eval&lt;/tt&gt; or &lt;tt&gt;$where&lt;/tt&gt;.&lt;/p&gt;</comment>
                            <comment id="123280" author="dcrosta" created="Fri, 25 May 2012 21:46:36 +0000"  >&lt;p&gt;Do you do anything extensive with javascript? Any db.eval, $where, or frequent map-reduce jobs?&lt;/p&gt;</comment>
                            <comment id="123264" author="pkaeding" created="Fri, 25 May 2012 20:34:14 +0000"  >&lt;p&gt;Hi Dan&lt;/p&gt;

&lt;p&gt;I&apos;m not sure how to determine the name of the MMS group, but this is for plugins.atlassian.com.&lt;/p&gt;</comment>
                            <comment id="123250" author="dcrosta" created="Fri, 25 May 2012 20:02:31 +0000"  >&lt;p&gt;Hi Arun,&lt;/p&gt;

&lt;p&gt;That MMS link does not seem to work for me &amp;#8211; what is your MMS group, and what is the hostname of the machine you&apos;d like us to look at?&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 25 May 2012 20:02:31 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        11 years, 26 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>ian@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            11 years, 26 weeks, 6 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="10020"><![CDATA[Linux]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>arun</customfieldvalue>
            <customfieldvalue>dcrosta</customfieldvalue>
            <customfieldvalue>dan@mongodb.com</customfieldvalue>
            <customfieldvalue>pkaeding</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hro633:</customfieldvalue>

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

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

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