<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:23:40 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-10631] MongoDB periodically consumes excessive system cpu and refuses new connections</title>
                <link>https://jira.mongodb.org/browse/SERVER-10631</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;During the course of the day one of our replica-sets will appear to &quot;lock&quot; up on us. These locks occur every few minutes during our higher load times, but not necessarily at any regular interval. From what I&apos;ve been able to determine they don&apos;t appear to be correlated with bursts in traffic or background syncs. Each of these events occur every few minutes and last anywhere between 2 and 5 seconds. During this time we see spikes in system cpu usage and the server does not accept any additional connections.&lt;/p&gt;

&lt;p&gt;I&apos;ve provided some statistics from one of the most recent events below. We&apos;ve run tcpdump and determined that while our clients are attempting to connect the server does not accept the connection until after the event has passed. This causes a build up in connection attempts over the course of the event many of which will be closed again upon the event&apos;s termination. We have another replica-set that is also running 2.2.6, but doesn&apos;t show the same issue.&lt;/p&gt;

&lt;p&gt;mpstat:&lt;br/&gt;
  Linux 3.2.0-38-virtual (db-event4.songza.com)   08/27/2013      &lt;em&gt;x86_64&lt;/em&gt;        (2 CPU)&lt;/p&gt;

&lt;p&gt;  02:52:19 PM  CPU    %usr   %nice    %sys %iowait    %irq   %soft  %steal  %guest   %idle&lt;/p&gt;

&lt;p&gt;  03:00:16 PM  all   22.45    0.00    7.65    1.53    0.00    3.57    0.51    0.00   64.29&lt;br/&gt;
  03:00:17 PM  all   21.72    0.00   10.10    1.52    0.00    2.53    0.51    0.00   63.64&lt;br/&gt;
  03:00:18 PM  all   18.56    0.00   56.19    0.00    0.00    2.06    0.00    0.00   23.20&lt;br/&gt;
  03:00:19 PM  all   15.58    0.00   83.92    0.00    0.00    0.50    0.00    0.00    0.00&lt;br/&gt;
  03:00:20 PM  all   11.50    0.00   87.50    0.00    0.00    1.00    0.00    0.00    0.00&lt;br/&gt;
  03:00:21 PM  all    9.95    0.00   89.05    0.00    0.00    1.00    0.00    0.00    0.00&lt;br/&gt;
  03:00:22 PM  all    6.53    0.00   92.96    0.00    0.00    0.50    0.00    0.00    0.00&lt;br/&gt;
  03:00:23 PM  all    8.00    0.00   92.00    0.00    0.00    0.00    0.00    0.00    0.00&lt;br/&gt;
  03:00:24 PM  all   28.06    0.00   42.35   13.27    0.00    3.06    0.51    0.00   12.76&lt;br/&gt;
  03:00:25 PM  all   53.47    0.00   27.72    0.50    0.00    5.94    0.50    0.00   11.88&lt;br/&gt;
  03:00:26 PM  all   49.48    0.00   23.20    2.06    0.00    6.70    0.00    0.00   18.56&lt;br/&gt;
  03:00:27 PM  all   47.55    0.00   25.00    1.96    0.00    2.45    0.49    0.00   22.55&lt;/p&gt;

&lt;p&gt;mongostat:&lt;br/&gt;
   269     60    724      0    1091     776       0   882g  1766g  5.86g      0  play_history:29.7%          0       0|0     1|1   299k   361k  2401 event  PRI   15:00:16&lt;br/&gt;
   279     44    797      0    1186     800       0   882g  1766g  5.88g      0  play_history:28.9%          0       0|0     0|1   320k   366k  2401 event  PRI   15:00:17&lt;br/&gt;
  &amp;#8212; discontinuity &amp;#8212;&lt;br/&gt;
  1132    205   2261      0     894    2183       0   882g  1766g  5.86g      0  play_history:32.4%          0       1|0     0|1   732k   507k  2402 event  PRI   15:00:24&lt;br/&gt;
   372    111   1935      0     766    1474       0   882g  1766g  5.98g      0         local:10.2%          0    1498|0     0|2   554k     1m  2429 event  PRI   15:00:25&lt;br/&gt;
   791     47   1425      0     953    2026       0   882g  1766g  6.02g      0  play_history:81.5%          0     846|0     0|2   646k   790k  2410 event  PRI   15:00:26&lt;br/&gt;
   503     46   1478      0    1075    1997       0   882g  1766g  5.94g      0  play_history:86.3%          0     262|0     0|2   660k   716k  2376 event  PRI   15:00:27&lt;/p&gt;

&lt;p&gt;sample connection attempt:&lt;br/&gt;
  15:00:21.011703 IP ip-10-38-246-165.ec2.internal.50594 &amp;gt; ip-10-139-28-208.ec2.internal.27017: Flags &lt;span class=&quot;error&quot;&gt;&amp;#91;S&amp;#93;&lt;/span&gt;, seq 648754701, win 14600, options &lt;span class=&quot;error&quot;&gt;&amp;#91;mss 1460,sackOK,TS val 648330510 ecr 0,nop,wscale 7&amp;#93;&lt;/span&gt;, length 0&lt;br/&gt;
  15:00:22.009600 IP ip-10-38-246-165.ec2.internal.50594 &amp;gt; ip-10-139-28-208.ec2.internal.27017: Flags &lt;span class=&quot;error&quot;&gt;&amp;#91;S&amp;#93;&lt;/span&gt;, seq 648754701, win 14600, options &lt;span class=&quot;error&quot;&gt;&amp;#91;mss 1460,sackOK,TS val 648330760 ecr 0,nop,wscale 7&amp;#93;&lt;/span&gt;, length 0&lt;br/&gt;
  15:00:24.013566 IP ip-10-38-246-165.ec2.internal.50594 &amp;gt; ip-10-139-28-208.ec2.internal.27017: Flags &lt;span class=&quot;error&quot;&gt;&amp;#91;S&amp;#93;&lt;/span&gt;, seq 648754701, win 14600, options &lt;span class=&quot;error&quot;&gt;&amp;#91;mss 1460,sackOK,TS val 648331261 ecr 0,nop,wscale 7&amp;#93;&lt;/span&gt;, length 0&lt;br/&gt;
  15:00:24.013581 IP ip-10-139-28-208.ec2.internal.27017 &amp;gt; ip-10-38-246-165.ec2.internal.50594: Flags &lt;span class=&quot;error&quot;&gt;&amp;#91;S.&amp;#93;&lt;/span&gt;, seq 597737666, ack 648754702, win 14480, options &lt;span class=&quot;error&quot;&gt;&amp;#91;mss 1460,sackOK,TS val 953554509 ecr 648331261,nop,wscale 7&amp;#93;&lt;/span&gt;, length 0&lt;br/&gt;
  15:00:24.024828 IP ip-10-38-246-165.ec2.internal.50594 &amp;gt; ip-10-139-28-208.ec2.internal.27017: Flags &lt;span class=&quot;error&quot;&gt;&amp;#91;F.&amp;#93;&lt;/span&gt;, seq 1, ack 1, win 115, options &lt;span class=&quot;error&quot;&gt;&amp;#91;nop,nop,TS val 648331263 ecr 953554509&amp;#93;&lt;/span&gt;, length 0&lt;br/&gt;
  15:00:24.024996 IP ip-10-139-28-208.ec2.internal.27017 &amp;gt; ip-10-38-246-165.ec2.internal.50594: Flags &lt;span class=&quot;error&quot;&gt;&amp;#91;F.&amp;#93;&lt;/span&gt;, seq 1, ack 2, win 114, options &lt;span class=&quot;error&quot;&gt;&amp;#91;nop,nop,TS val 953554512 ecr 648331263&amp;#93;&lt;/span&gt;, length 0&lt;br/&gt;
  15:00:25.561343 IP ip-10-195-130-15.ec2.internal.50594 &amp;gt; ip-10-139-28-208.ec2.internal.27017: Flags &lt;span class=&quot;error&quot;&gt;&amp;#91;S&amp;#93;&lt;/span&gt;, seq 1016537720, win 14600, options &lt;span class=&quot;error&quot;&gt;&amp;#91;mss 1460,sackOK,TS val 649068642 ecr 0,nop,wscale 7&amp;#93;&lt;/span&gt;, length 0&lt;br/&gt;
  15:00:25.561361 IP ip-10-139-28-208.ec2.internal.27017 &amp;gt; ip-10-195-130-15.ec2.internal.50594: Flags &lt;span class=&quot;error&quot;&gt;&amp;#91;S.&amp;#93;&lt;/span&gt;, seq 2809357988, ack 1016537721, win 14480, options &lt;span class=&quot;error&quot;&gt;&amp;#91;mss 1460,sackOK,TS val 953554896 ecr 649068642,nop,wscale 7&amp;#93;&lt;/span&gt;, length 0&lt;/p&gt;</description>
                <environment>Distributor ID: Ubuntu&lt;br/&gt;
Description:    Ubuntu 12.04.2 LTS&lt;br/&gt;
Release:        12.04&lt;br/&gt;
Codename:       precise&lt;br/&gt;
&lt;br/&gt;
5 member replica set (1 member is an arbiter) running on m1.large instances in AWS</environment>
        <key id="87545">SERVER-10631</key>
            <summary>MongoDB periodically consumes excessive system cpu and refuses new connections</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="-1">Unassigned</assignee>
                                    <reporter username="michael@songza.com">Michael Henson</reporter>
                        <labels>
                    </labels>
                <created>Tue, 27 Aug 2013 15:58:39 +0000</created>
                <updated>Wed, 10 Dec 2014 23:19:17 +0000</updated>
                            <resolved>Wed, 19 Mar 2014 07:25:04 +0000</resolved>
                                    <version>2.2.6</version>
                                                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="519014" author="stennie" created="Wed, 19 Mar 2014 07:25:04 +0000"  >&lt;p&gt;Hi Michael,&lt;/p&gt;

&lt;p&gt;I&apos;m going to close this issue due to inactivity.&lt;/p&gt;

&lt;p&gt;I would also note that the SERVER project is intended for reporting bugs or feature suggestions for the MongoDB server.&lt;/p&gt;

&lt;p&gt;For MongoDB-related support discussion please post on the mongodb-users group (&lt;a href=&quot;http://groups.google.com/group/mongodb-user&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://groups.google.com/group/mongodb-user&lt;/a&gt;) or ask specific questions on Stack Overflow / ServerFault.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Stephen&lt;/p&gt;</comment>
                            <comment id="471009" author="stennie" created="Mon, 16 Dec 2013 04:04:57 +0000"  >&lt;p&gt;Hi Michael,&lt;/p&gt;

&lt;p&gt;Apologies for the delayed response on this issue.  Are you still seeing the described behaviour?&lt;/p&gt;

&lt;p&gt;In order to investigate further we would need logs from the primary and a secondary during a period where MongoDB appears to be non-responsive.&lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Stephen&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>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 16 Dec 2013 04:04:57 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        9 years, 48 weeks 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>
                            9 years, 48 weeks 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>michael@songza.com</customfieldvalue>
            <customfieldvalue>stephen.steneker@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrmibz:</customfieldvalue>

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

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

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