<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:14:08 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-7298] thousands of &quot;waiting till out of critical section&quot;</title>
                <link>https://jira.mongodb.org/browse/SERVER-7298</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;We are running mongodb v2.2.0 Linux 64 Bit, 3 shards each having 3 nodes.&lt;br/&gt;
One node seemed to be dead, so we restarted it. In the logs we found thousands of &quot;waiting till out of critical section&quot;, filling up our logs very fastly and making mongodb inaccessible.&lt;br/&gt;
What does this error mean?&lt;br/&gt;
Here are the logs from the restart, if it matters:&lt;br/&gt;
&lt;a href=&quot;http://pastebin.com/raw.php?i=cZeRJ7NV&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://pastebin.com/raw.php?i=cZeRJ7NV&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This happened to other nodes as well already to another time.&lt;/p&gt;

&lt;p&gt;Could it be related to v2.2.0 or to authentification? We&apos;re using both since a few time and we encounter this error only since then. Should we downgrade or disable authentification?&lt;/p&gt;</description>
                <environment>linux 64 bit</environment>
        <key id="52647">SERVER-7298</key>
            <summary>thousands of &quot;waiting till out of critical section&quot;</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="tad">Tad Marshall</assignee>
                                    <reporter username="kay.agahd@idealo.de">Kay Agahd</reporter>
                        <labels>
                            <label>crash</label>
                            <label>replicaset</label>
                            <label>sharding</label>
                    </labels>
                <created>Tue, 9 Oct 2012 08:27:54 +0000</created>
                <updated>Fri, 8 Mar 2013 15:55:50 +0000</updated>
                            <resolved>Fri, 12 Oct 2012 12:51:12 +0000</resolved>
                                    <version>2.2.0</version>
                                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="187877" author="ian@10gen.com" created="Tue, 13 Nov 2012 15:09:26 +0000"  >&lt;p&gt;Klebert, the issue in question, &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-7034&quot; title=&quot;timeouts for all connections in migrate critical section&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-7034&quot;&gt;&lt;del&gt;SERVER-7034&lt;/del&gt;&lt;/a&gt;, has not yet been resolved (and thus not backported.)  Please add yourself as a watcher to &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-7034&quot; title=&quot;timeouts for all connections in migrate critical section&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-7034&quot;&gt;&lt;del&gt;SERVER-7034&lt;/del&gt;&lt;/a&gt; so that you&apos;ll receive an update when it is backported.&lt;/p&gt;</comment>
                            <comment id="187600" author="k.hodin@criteo.com" created="Tue, 13 Nov 2012 08:55:22 +0000"  >&lt;p&gt;We don&apos;t use authentification and had the same issue after upgrading our whole cluter from 2.0.6 to 2.2.1.&lt;/p&gt;</comment>
                            <comment id="174613" author="agiamas" created="Sun, 14 Oct 2012 14:13:25 +0000"  >&lt;p&gt;Thanks all for the answers, added 7034 to my watch list.&lt;/p&gt;</comment>
                            <comment id="174194" author="tad" created="Fri, 12 Oct 2012 12:51:13 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-7034&quot; title=&quot;timeouts for all connections in migrate critical section&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-7034&quot;&gt;&lt;del&gt;SERVER-7034&lt;/del&gt;&lt;/a&gt; is the primary ticket for dealing with this issue.  Resolving this one as incomplete for now.&lt;/p&gt;</comment>
                            <comment id="174191" author="kay.agahd@idealo.de" created="Fri, 12 Oct 2012 12:36:13 +0000"  >&lt;p&gt;Yes, ok, please follow up the support ticket, so this one can be closed.&lt;/p&gt;</comment>
                            <comment id="174183" author="tad" created="Fri, 12 Oct 2012 12:18:31 +0000"  >&lt;p&gt;We don&apos;t have any indication at this point that this is related to authentication.  We think that the fundamental problem is the lack of a timeout on the connection to the config server, making it possible for a single non-responsive config server to &quot;hang&quot; multiple mongod processes.  That issue (&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-7034&quot; title=&quot;timeouts for all connections in migrate critical section&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-7034&quot;&gt;&lt;del&gt;SERVER-7034&lt;/del&gt;&lt;/a&gt;) is scheduled to be fixed for version 2.3.0 and will be backported to the 2.2 series pending testing results.&lt;/p&gt;

&lt;p&gt;Alex, you can add yourself as a &quot;watcher&quot; of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-7034&quot; title=&quot;timeouts for all connections in migrate critical section&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-7034&quot;&gt;&lt;del&gt;SERVER-7034&lt;/del&gt;&lt;/a&gt; if you want to follow its progress.&lt;/p&gt;

&lt;p&gt;agahd, we can follow up in the SUPPORT ticket you created, so we can close this one unless you have more that you want to add here.&lt;/p&gt;

&lt;p&gt;Tad&lt;/p&gt;</comment>
                            <comment id="174165" author="kay.agahd@idealo.de" created="Fri, 12 Oct 2012 10:50:40 +0000"  >&lt;p&gt;Alex: on our side it was just a guess that it&apos;s related to authentication. Maybe Tad can confirm that. &lt;br/&gt;
Do you need any other input from me?&lt;/p&gt;</comment>
                            <comment id="174064" author="agiamas" created="Fri, 12 Oct 2012 03:25:26 +0000"  >&lt;p&gt;Regardless of the solution, could you post if it&apos;s related to authentication or not? &quot;blackholed hosts&quot; would hint towards a yes but we need to make sure. In case it&apos;s not it would help those of us not using authentication from not putting it in our &quot;blocker&apos;s list&quot; for upgrade.&lt;br/&gt;
Yours,&lt;br/&gt;
Alex&lt;/p&gt;</comment>
                            <comment id="172876" author="kay.agahd@idealo.de" created="Tue, 9 Oct 2012 14:15:09 +0000"  >&lt;p&gt;Thanks Tad! Your explanation and the related issues reflect what we&apos;ve experienced. The whole system seemed to be down even though only 1 mongod node was affected. &lt;br/&gt;
Do you suggest us to disable authentication or downgrade to an earlier version to avoid this bug?&lt;/p&gt;

&lt;p&gt;I&apos;ve created a private jira in order to submit you our confidental logs:&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/SUPPORT-366&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/SUPPORT-366&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Yes, we are in mms. Our group name is idealo.&lt;br/&gt;
&lt;a href=&quot;https://mms.10gen.com/host/list/4f5f582287d1d86fa8b88186#hosts&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://mms.10gen.com/host/list/4f5f582287d1d86fa8b88186#hosts&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks!&lt;/p&gt;</comment>
                            <comment id="172823" author="tad" created="Tue, 9 Oct 2012 11:20:00 +0000"  >&lt;p&gt;Hi agahd,&lt;/p&gt;

&lt;p&gt;This may be related to &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-7034&quot; title=&quot;timeouts for all connections in migrate critical section&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-7034&quot;&gt;&lt;del&gt;SERVER-7034&lt;/del&gt;&lt;/a&gt;.  The issue in that ticket is that we do not have a timeout (i.e. timeout is infinite) for some connections that are made to the config servers, and if this connection hangs this can block other activity, leading to the &quot;waiting for critical section&quot; messages and an unresponsive server.&lt;/p&gt;

&lt;p&gt;Can you post a full log to this ticket so that we can compare symptoms with the cases we have seen?&lt;/p&gt;

&lt;p&gt;Are your servers in MMS?  Can you post a link?&lt;/p&gt;

&lt;p&gt;Tad&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="50453">SERVER-7034</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="54331">SERVER-7472</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="54578">SERVER-7493</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>10.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 9 Oct 2012 11:20:00 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        11 years, 14 weeks, 1 day 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, 14 weeks, 1 day 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>agiamas</customfieldvalue>
            <customfieldvalue>ian@mongodb.com</customfieldvalue>
            <customfieldvalue>kay.agahd@idealo.de</customfieldvalue>
            <customfieldvalue>k.hodin@criteo.com</customfieldvalue>
            <customfieldvalue>tad</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrnlu7:</customfieldvalue>

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

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

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