<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:44: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>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-36936] Mongos memory usage is too large&#65288;&gt;7G)</title>
                <link>https://jira.mongodb.org/browse/SERVER-36936</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Test mongodb cluster performance with ycsb:&lt;/p&gt;

&lt;p&gt;mongodb version: 3.4.0 or 3.4.16;&lt;/p&gt;

&lt;p&gt;mongodb sharded cluster : 3 shardSver;&lt;/p&gt;

&lt;p&gt;ycsb version:&#160; 0.12.0;&lt;/p&gt;

&lt;p&gt;system : centos7;&#160; memory: 48G; CPU: 24 core;&lt;/p&gt;

&lt;p&gt;Operation sequence&#65306;&#160;&lt;/p&gt;

&lt;p&gt;&#160; 1. start sharded cluster;&lt;/p&gt;

&lt;p&gt;&#160; 2.&#160;sh.enableSharding(&apos;ycsb&apos;);&lt;/p&gt;

&lt;p&gt;&#160; 3.&#160;sh.shardCollection(&apos;ycsb.usertable&apos;,{_id:&quot;hashed&quot;});&lt;/p&gt;

&lt;p&gt;&#160; 4. ycsb load data (&#160;recordcount=20000,&#160;&#160;operationcount=20000, threads=64);&lt;/p&gt;

&lt;p&gt;&#160; 5. ycsb run scan (recordcount=20000, operationcount=20000,&#160;**scanproportion=1&#65292; threads=64),&lt;/p&gt;

&lt;p&gt;&lt;b&gt;At this time, it will occupy 7G of memory and will not be released for a long time.&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;&#160;6. drop collection(ycsb.usertable),&#160; &#160;and drop database(ycsb)&lt;/p&gt;

&lt;p&gt;&#160; &#160;Memory usage still has not decreased&#65307;&lt;/p&gt;</description>
                <environment></environment>
        <key id="597496">SERVER-36936</key>
            <summary>Mongos memory usage is too large&#65288;&gt;7G)</summary>
                <type id="6" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14720&amp;avatarType=issuetype">Question</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="kelsey.schubert@mongodb.com">Kelsey Schubert</assignee>
                                    <reporter username="lkx">lkx</reporter>
                        <labels>
                    </labels>
                <created>Thu, 30 Aug 2018 02:49:56 +0000</created>
                <updated>Thu, 25 Oct 2018 19:46:24 +0000</updated>
                            <resolved>Thu, 25 Oct 2018 19:46:23 +0000</resolved>
                                    <version>3.4.16</version>
                                                                        <votes>0</votes>
                                    <watches>13</watches>
                                                                                                                <comments>
                            <comment id="2042518" author="thomas.schubert" created="Thu, 25 Oct 2018 19:46:24 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=lkx&quot; class=&quot;user-hover&quot; rel=&quot;lkx&quot;&gt;lkx&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;We haven&#8217;t heard back from you for some time, so I&#8217;m going to mark this ticket as resolved. If this is still an issue for you, please provide additional information and we will reopen the ticket.&lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Kelsey&lt;/p&gt;</comment>
                            <comment id="2019741" author="nick.brewer" created="Mon, 1 Oct 2018 20:25:12 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=lkx&quot; class=&quot;user-hover&quot; rel=&quot;lkx&quot;&gt;lkx&lt;/a&gt; Have you had a chance to collect the &lt;tt&gt;diagnostic.data&lt;/tt&gt; with the heap profiler enabled? &lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
-Nick&lt;/p&gt;</comment>
                            <comment id="2005083" author="nick.brewer" created="Mon, 17 Sep 2018 15:53:02 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=lkx&quot; class=&quot;user-hover&quot; rel=&quot;lkx&quot;&gt;lkx&lt;/a&gt; Based on the information you&apos;ve provided, we&apos;re not seeing the sort of memory utilization that was described previously - memory usage appears to be roughly 2GB. To investigate this, we&apos;ll need the &lt;tt&gt;diagnostic.data&lt;/tt&gt; information requested previously, once the heap profiler has been enabled on the mongos via:&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;mongos --setParameter heapProfilingEnabled=true&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;Thanks,&lt;br/&gt;
-Nick&lt;/p&gt;
</comment>
                            <comment id="2003926" author="lkx" created="Sat, 15 Sep 2018 08:58:37 +0000"  >&lt;p&gt;Yes&#65281;&#160; I added the result of serverStatus to the attachment.&lt;/p&gt;</comment>
                            <comment id="2003801" author="nick.brewer" created="Fri, 14 Sep 2018 21:43:41 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=lkx&quot; class=&quot;user-hover&quot; rel=&quot;lkx&quot;&gt;lkx&lt;/a&gt; Are you still experiencing this issue? If so, we&apos;ll need the heap profiler information requested previously, so that we can better diagnose the cause. &lt;/p&gt;

&lt;p&gt;Thanks, &lt;br/&gt;
-Nick&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="196081" name="session_mem.log" size="29448" author="lkx" created="Sat, 15 Sep 2018 10:03:23 +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>Thu, 30 Aug 2018 15:55:33 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            5 years, 15 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>kelsey.schubert@mongodb.com</customfieldvalue>
            <customfieldvalue>lkx</customfieldvalue>
            <customfieldvalue>nick.brewer</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hu6sif:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|htxb67:</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>
                                    <customfieldvalue><![CDATA[kelsey.schubert@mongodb.com]]></customfieldvalue>
    

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

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