<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:44:27 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-36915] Config servers using large amount of RAM</title>
                <link>https://jira.mongodb.org/browse/SERVER-36915</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;In our production setup, we see a rather large (5-6GB) RAM footprint for the config servers. This seems an unreasonable amount of RAM used by the config server. The DB servers in the cluster use approximately 10GB of RAM.&lt;/p&gt;

&lt;p&gt;We have 2 shards, both consisting of a 3-member replica set. For this cluster we have 3 config servers setup in a replica set. Furthermore, we have approximately 15 mongos processes running on various machines.&lt;/p&gt;

&lt;p&gt;I can&apos;t imagine that this level of memory usage is by design or intended. It is unclear to me at the moment what is causing the size of the footprint, and what will cause it to increase. This makes it impossible to determine how this will scale with future changes to the data and setup.&lt;/p&gt;

&lt;p&gt;I&apos;ve attached the (sanitized w.r.t. host names) output of serverStatus on both the primary and a secondary config server. My question is whether or not this behaviour is expected. If so, what causes it to scale? If not, what is causing it?&lt;/p&gt;</description>
                <environment></environment>
        <key id="597068">SERVER-36915</key>
            <summary>Config servers using large amount of RAM</summary>
                <type id="6" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14720&amp;avatarType=issuetype">Question</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="13203">Gone away</resolution>
                                        <assignee username="nick.brewer">Nick Brewer</assignee>
                                    <reporter username="rspijker">Roelof Spijker</reporter>
                        <labels>
                    </labels>
                <created>Wed, 29 Aug 2018 11:46:30 +0000</created>
                <updated>Fri, 27 Oct 2023 20:43:17 +0000</updated>
                            <resolved>Mon, 1 Oct 2018 20:18:13 +0000</resolved>
                                    <version>3.4.9</version>
                                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="2019728" author="nick.brewer" created="Mon, 1 Oct 2018 20:18:02 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=rspijker&quot; class=&quot;user-hover&quot; rel=&quot;rspijker&quot;&gt;rspijker&lt;/a&gt; Since there&apos;s been no activity on this ticket in some time, I&apos;m going to close it. Feel free to update this ticket with the requested information, and we&apos;ll reopen it for you. &lt;/p&gt;

&lt;p&gt;-Nick&lt;/p&gt;
</comment>
                            <comment id="2003796" author="nick.brewer" created="Fri, 14 Sep 2018 21:40:54 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=rspijker&quot; class=&quot;user-hover&quot; rel=&quot;rspijker&quot;&gt;rspijker&lt;/a&gt; Have you had a chance to gather the information we requested? Thanks in advance. &lt;/p&gt;

&lt;p&gt;-Nick&lt;/p&gt;</comment>
                            <comment id="1989980" author="nick.brewer" created="Thu, 30 Aug 2018 15:18:33 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=rspijker&quot; class=&quot;user-hover&quot; rel=&quot;rspijker&quot;&gt;rspijker&lt;/a&gt; I&apos;ve generated a &lt;a href=&quot;https://10gen-httpsupload.s3.amazonaws.com/upload_forms/58ab35f9-4fa3-4cf5-afc4-5b14c8a7d131.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;secure portal&lt;/a&gt; for you. Let us know once you&apos;ve uploaded the files and we&apos;ll take a look. &lt;/p&gt;

&lt;p&gt;-Nick&lt;/p&gt;</comment>
                            <comment id="1989610" author="rspijker" created="Thu, 30 Aug 2018 08:12:21 +0000"  >&lt;p&gt;Hey Nick,&lt;/p&gt;

&lt;p&gt;I&apos;d prefer a secure portal. Furthermore, I&apos;d prefer to capture the logs etc. from our acceptance environment, since the data there is somewhat less sensitive. We are seeing the same behaviour here, albeit on a slightly smaller scale (absolute RAM taken is around 3GB, but compared to machine limits and DB size it&apos;s comparable).&lt;/p&gt;</comment>
                            <comment id="1988738" author="nick.brewer" created="Wed, 29 Aug 2018 14:16:26 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=rspijker&quot; class=&quot;user-hover&quot; rel=&quot;rspijker&quot;&gt;rspijker&lt;/a&gt; The amount of memory used by the config servers is determined by a few things: the number of databases / collections (and how active the balancer is across them), the number of mongos in use, and and the number of users. As  these numbers increase, so does the amount of RAM needed on the config server. &lt;/p&gt;

&lt;p&gt;If you&apos;d like us to take a closer look at this, could you archive (tar or zip) the &lt;tt&gt;diagnostic.data&lt;/tt&gt; directory from the &lt;tt&gt;dbpath&lt;/tt&gt; of both the config server replica set and the mongod(s), along with their logs? We can provide a secure portal if you&apos;d prefer not to upload the logs publicly on this ticket. &lt;/p&gt;

&lt;p&gt;-Nick&lt;/p&gt;
</comment>
                    </comments>
                    <attachments>
                            <attachment id="194967" name="serverstatus_primary.json" size="30679" author="rspijker" created="Wed, 29 Aug 2018 11:45:56 +0000"/>
                            <attachment id="194966" name="serverstatus_secondary.json" size="29778" author="rspijker" created="Wed, 29 Aug 2018 11:45:56 +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, 29 Aug 2018 12:07:58 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            5 years, 19 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>nick.brewer</customfieldvalue>
            <customfieldvalue>rspijker</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hu6pwv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|htx8vj:</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|hu6c67:</customfieldvalue>

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