<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:56:03 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-1094] mongostat completly locks under high load</title>
                <link>https://jira.mongodb.org/browse/SERVER-1094</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;When the MongoDB has a high load and lots of connections, mongostat locks after connecting. Accessing the shell still works.&lt;/p&gt;

&lt;p&gt;This isn&apos;t the incremental lock I saw earlier, the command does not return any data (just hangs).&lt;/p&gt;

&lt;p&gt;Estimated load:&lt;/p&gt;

&lt;p&gt;Connections: 2k&lt;br/&gt;
Updates per second: ~ 4k&lt;/p&gt;</description>
                <environment>Linux FC8</environment>
        <key id="11923">SERVER-1094</key>
            <summary>mongostat completly locks under high load</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="5">Cannot Reproduce</resolution>
                                        <assignee username="eliot">Eliot Horowitz</assignee>
                                    <reporter username="rn@deftlabs.com">Ryan Nitz</reporter>
                        <labels>
                    </labels>
                <created>Thu, 6 May 2010 09:36:38 +0000</created>
                <updated>Mon, 24 May 2010 10:51:54 +0000</updated>
                            <resolved>Mon, 24 May 2010 10:51:23 +0000</resolved>
                                    <version>1.4.2</version>
                                                    <component>Admin</component>
                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="14386" author="eliot" created="Mon, 24 May 2010 10:51:54 +0000"  >&lt;p&gt;if you still want to preheat, can you make a separate case for that&lt;/p&gt;</comment>
                            <comment id="14202" author="rgnitz" created="Wed, 12 May 2010 11:34:22 +0000"  >&lt;p&gt;Ignore my comment about the mongo CPU spiking when adding connections. There was a bug in our app and we were loading a lot of data on app startup.&lt;/p&gt;</comment>
                            <comment id="14111" author="rgnitz" created="Fri, 7 May 2010 09:07:51 +0000"  >&lt;p&gt;Ok... after more investigation, I know what happened.&lt;/p&gt;

&lt;p&gt;I did a restore on a database (moved to another machine)&lt;/p&gt;

&lt;p&gt;I ran a db.repairDatabase()&lt;/p&gt;

&lt;p&gt;I restarted Mongo&lt;/p&gt;

&lt;p&gt;At this point the server load average was ~ 7&lt;/p&gt;

&lt;p&gt;I added the load above. When initializing a lot of rapid new connections, the Mongo CPU consumption spikes a bit. &lt;/p&gt;

&lt;p&gt;The 60 CPUs started interacting with Mongo.&lt;/p&gt;

&lt;p&gt;Mongo did not have most of data in core, resulting in a lot of disk access.&lt;/p&gt;

&lt;p&gt;The server load average jumped to ~ 12&lt;/p&gt;

&lt;p&gt;mongostat started hanging on connect (strange part is that the shell was still working well)&lt;/p&gt;

&lt;p&gt;The good news is that I ran the same test with 80 CPUs (db was already all in core) and everything was perfect.&lt;/p&gt;

&lt;p&gt;Feature request: The ability to preheat data on startup (e.g.,  load X bytes worth of data from collections x,y and z before accepting connections).&lt;/p&gt;</comment>
                            <comment id="14102" author="rgnitz" created="Thu, 6 May 2010 10:16:43 +0000"  >&lt;p&gt;Well... I am just telling you what I saw on 1.4.2 on an xl EC2 instance (FC8).&lt;/p&gt;

&lt;p&gt;FYI - After I reduced the load, the command was working again.&lt;/p&gt;

&lt;p&gt;I am going to run some tests again later in the day. I&apos;ll attach the info after the tests.&lt;/p&gt;</comment>
                            <comment id="14101" author="eliot" created="Thu, 6 May 2010 09:45:18 +0000"  >&lt;p&gt;We&apos;ve seen it used under much higher load without a problem.&lt;br/&gt;
Can you view the web console and/or db.currentOp()?&lt;br/&gt;
if So - can you send those.&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>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, 6 May 2010 09:45:18 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            13 years, 39 weeks, 2 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_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>rn@deftlabs.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpmof:</customfieldvalue>

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

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

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