<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:42:36 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-36271] saslStart { saslStart: 1, mechanism: &quot;SCRAM-SHA-1&quot;, payload: &quot;xxx&quot; } numYields:0 reslen: 155 locks:{} protocol:op_query 398387ms</title>
                <link>https://jira.mongodb.org/browse/SERVER-36271</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;HI&lt;/p&gt;

&lt;p&gt;One mongodb instance was killed by&#160; oom killer&#65292;&lt;/p&gt;

&lt;p&gt;After starting it&#65292; couldn&apos;t connect to it&#160; by using mongo client.&lt;/p&gt;

&lt;p&gt;Finding some logs&#160; from&#160; log:&lt;/p&gt;

&lt;p&gt;2018-07-24T19:15:40.241+0800 I COMMAND &lt;span class=&quot;error&quot;&gt;&amp;#91;conn33&amp;#93;&lt;/span&gt; command admin.$cmd command: saslStart { saslStart: 1, mechanism: &quot;SCRAM-SHA-1&quot;, payload: &quot;xxx&quot; } numYields:0 reslen:&lt;br/&gt;
155 locks:{} protocol:op_query 458411ms&lt;br/&gt;
2018-07-24T19:15:40.241+0800 I COMMAND &lt;span class=&quot;error&quot;&gt;&amp;#91;conn22&amp;#93;&lt;/span&gt; command admin.$cmd command: saslStart { saslStart: 1, mechanism: &quot;SCRAM-SHA-1&quot;, payload: &quot;xxx&quot; } numYields:0 reslen:&lt;br/&gt;
155 locks:{} protocol:op_query 638498ms&lt;br/&gt;
2018-07-24T19:15:40.241+0800 I COMMAND &lt;span class=&quot;error&quot;&gt;&amp;#91;conn41&amp;#93;&lt;/span&gt; command admin.$cmd command: saslStart { saslStart: 1, mechanism: &quot;SCRAM-SHA-1&quot;, payload: &quot;xxx&quot; } numYields:0 reslen:&lt;br/&gt;
155 locks:{} protocol:op_query 278339ms&lt;br/&gt;
2018-07-24T19:15:40.241+0800 I COMMAND &lt;span class=&quot;error&quot;&gt;&amp;#91;conn26&amp;#93;&lt;/span&gt; command admin.$cmd command: saslStart { saslStart: 1, mechanism: &quot;SCRAM-SHA-1&quot;, payload: &quot;xxx&quot; } numYields:0 reslen:&lt;br/&gt;
155 locks:{} protocol:op_query 578470ms&lt;br/&gt;
2018-07-24T19:15:40.241+0800 I COMMAND &lt;span class=&quot;error&quot;&gt;&amp;#91;conn29&amp;#93;&lt;/span&gt; command admin.$cmd command: saslStart { saslStart: 1, mechanism: &quot;SCRAM-SHA-1&quot;, payload: &quot;xxx&quot; } numYields:0 reslen:&lt;br/&gt;
155 locks:{} protocol:op_query 518439ms&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;mongodb&#160; server version is&#160; 3.4.9&lt;/p&gt;</description>
                <environment></environment>
        <key id="575905">SERVER-36271</key>
            <summary>saslStart { saslStart: 1, mechanism: &quot;SCRAM-SHA-1&quot;, payload: &quot;xxx&quot; } numYields:0 reslen: 155 locks:{} protocol:op_query 398387ms</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="13202">Works as Designed</resolution>
                                        <assignee username="nick.brewer">Nick Brewer</assignee>
                                    <reporter username="shawn001">shawn</reporter>
                        <labels>
                    </labels>
                <created>Wed, 25 Jul 2018 07:24:37 +0000</created>
                <updated>Fri, 27 Oct 2023 13:53:38 +0000</updated>
                            <resolved>Thu, 2 Aug 2018 13:59:52 +0000</resolved>
                                    <version>3.4.9</version>
                                                                        <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="1963920" author="nick.brewer" created="Thu, 2 Aug 2018 13:59:37 +0000"  >&lt;p&gt;From your responses, I do not see anything to indicate a bug in the MongoDB server. For MongoDB-related support discussion please post on the &lt;a href=&quot;https://groups.google.com/group/mongodb-user&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;mongodb-user group&lt;/a&gt; or &lt;a href=&quot;https://stackoverflow.com/questions/tagged/mongodb&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Stack Overflow with the &lt;tt&gt;mongodb&lt;/tt&gt; tag&lt;/a&gt;. A question like this involving more discussion would be best posted on the mongodb-user group.&lt;/p&gt;

&lt;p&gt;-Nick&lt;/p&gt;</comment>
                            <comment id="1961160" author="shawn001" created="Tue, 31 Jul 2018 09:38:51 +0000"  >&lt;p&gt;I&apos;m sure , it isn&apos;t&#160; cause by not having enough&#160; available memory.&lt;/p&gt;

&lt;p&gt;When restart mongod ,&#160; the memory&#160; that&#160; mongod used is released to OS.&lt;/p&gt;

&lt;p&gt;And, when i restart mongod,&#160; i won&apos;t connect to mongod&#160; rapidly still,&#160; &#160;mongodb monitor have a execption with&#160; &quot;i/o timeout&quot;.&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;   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;procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu-----&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&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;   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; r b swpd free buff cache si so bi bo in cs us sy id wa st&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&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;   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; 3 0 38320 100060912 324388 26699388 0 0 233 2008 0 0 14 3 83 1 0&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&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;   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; 3 1 38320 100000352 324392 26762752 0 0 0 65528 3762 1124 8 1 91 0 0&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&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;   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; 2 0 38320 99940304 324392 26824864 0 0 0 61836 3807 1160 8 1 91 0 0&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&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-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; 2 0 38320 99880288 324392 26886628 0 0 0 60464 3903 1435 8 1 91 0 0&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;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="1960633" author="nick.brewer" created="Mon, 30 Jul 2018 19:14:41 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=shawn001&quot; class=&quot;user-hover&quot; rel=&quot;shawn001&quot;&gt;shawn001&lt;/a&gt; From what you&apos;re describing, it seems likely that the server still doesn&apos;t have enough available memory when it is brought back up, which is why the attempts to authenticate to it are taking so long, and are ultimately timing out. What does the memory utilization look like when the mongod is brought back up? The output of &lt;tt&gt;vmstat 1 10&lt;/tt&gt; would be useful.&lt;/p&gt;

&lt;p&gt;Thanks, &lt;br/&gt;
Nick&lt;/p&gt;</comment>
                            <comment id="1956972" author="shawn001" created="Thu, 26 Jul 2018 01:16:47 +0000"  >&lt;p&gt;yes, these logs&#160; &#160;just after the mongod&#160; started.&lt;/p&gt;

&lt;p&gt;when it&#160; start, i connect to it, but&#160; the connection was&#160; blocked.&lt;/p&gt;

&lt;p&gt;i found some lock info&#160; from&#160; pstack:&lt;/p&gt;

&lt;p&gt;Thread 75 (Thread 0x7fa740b43700 (LWP 191319)):&lt;br/&gt;
#0 0x00007fa751ae598e in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0&lt;br/&gt;
#1 0x00007fa753ff49b8 in mongo::CondVarLockGrantNotification::wait(mongo::Duration&amp;lt;std::ratio&amp;lt;1l, 1000l&amp;gt; &amp;gt;) ()&lt;br/&gt;
#2 0x00007fa753ff9a1e in mongo::LockerImpl&amp;lt;false&amp;gt;::lockComplete(mongo::ResourceId, mongo::LockMode, mongo::Duration&amp;lt;std::ratio&amp;lt;1l, 1000l&amp;gt; &amp;gt;, bool) ()&lt;br/&gt;
#3 0x00007fa753fe8c3e in mongo::Lock::ResourceLock::lock(mongo::LockMode) ()&lt;br/&gt;
#4 0x00007fa753fe8cbd in mongo::Lock::GlobalLock::_enqueue(mongo::LockMode, unsigned int) ()&lt;br/&gt;
#5 0x00007fa753fe8d18 in mongo::Lock::GlobalLock::GlobalLock(mongo::Locker*, mongo::LockMode, unsigned int, mongo::Lock::GlobalLock::EnqueueOnly) ()&lt;br/&gt;
#6 0x00007fa753fe8d58 in mongo::Lock::GlobalLock::GlobalLock(mongo::Locker*, mongo::LockMode, unsigned int) ()&lt;br/&gt;
#7 0x00007fa753fe8de7 in mongo::Lock::DBLock::DBLock(mongo::Locker*, mongo::StringData, mongo::LockMode) ()&lt;br/&gt;
#8 0x00007fa75400d130 in mongo::AutoGetDb::AutoGetDb(mongo::OperationContext*, mongo::StringData, mongo::LockMode) ()&lt;br/&gt;
#9 0x00007fa75400dc3a in mongo::AutoGetCollection::AutoGetCollection(mongo::OperationContext*, mongo::NamespaceString const&amp;amp;, mongo::LockMode, mongo::LockMode, mong&lt;br/&gt;
o::AutoGetCollection::ViewMode) ()&lt;br/&gt;
#10 0x00007fa75400e27b in mongo::AutoGetCollectionForRead::AutoGetCollectionForRead(mongo::OperationContext*, mongo::NamespaceString const&amp;amp;, mongo::AutoGetCollection&lt;br/&gt;
::ViewMode) ()&lt;br/&gt;
#11 0x00007fa75400e37c in mongo::AutoGetCollectionOrViewForRead::AutoGetCollectionOrViewForRead(mongo::OperationContext*, mongo::NamespaceString const&amp;amp;) ()&lt;br/&gt;
#12 0x00007fa753ea3318 in mongo::GlobalCursorIdCache::timeoutCursors(mongo::OperationContext*, int) ()&lt;br/&gt;
#13 0x00007fa753ed375e in mongo::ClientCursorMonitor::run() ()&lt;br/&gt;
#14 0x00007fa754a3d851 in mongo::BackgroundJob::jobBody() ()&lt;br/&gt;
#15 0x00007fa7557f4a00 in execute_native_thread_routine ()&lt;br/&gt;
#16 0x00007fa751ae19d1 in start_thread () from /lib64/libpthread.so.0&lt;br/&gt;
#17 0x00007fa75182eb6d in clone () from /lib64/libc.so.6&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;detail pstack info&#160; file&#160; was attached as follows.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/attachment/192667/192667_pstack.log&quot; title=&quot;pstack.log attached to SERVER-36271&quot;&gt;pstack.log&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.mongodb.org/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="1956461" author="nick.brewer" created="Wed, 25 Jul 2018 17:28:00 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=shawn001&quot; class=&quot;user-hover&quot; rel=&quot;shawn001&quot;&gt;shawn001&lt;/a&gt; Are these logs from right after the mongod is started? What does the memory availability on the machine look like when this occurs?&lt;/p&gt;

&lt;p&gt;Thanks, &lt;br/&gt;
-Nick&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="192667" name="pstack.log" size="125059" author="shawn001" created="Thu, 26 Jul 2018 01:15:57 +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, 25 Jul 2018 17:28:00 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 27 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>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, 27 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>nick.brewer</customfieldvalue>
            <customfieldvalue>shawn001</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hu3dnb:</customfieldvalue>

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

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