<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:43:35 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-36600] mongos failed on error - Failed to mlock: Unknown error</title>
                <link>https://jira.mongodb.org/browse/SERVER-36600</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;I installed mongodb in sharding, but the mongos process was down suddenly not long after the start. There&apos;s error in the log file:&lt;/p&gt;

&lt;p&gt;2018-08-11T22:11:18.010+0800 I NETWORK &lt;span class=&quot;error&quot;&gt;&amp;#91;listener&amp;#93;&lt;/span&gt; connection accepted from &lt;br/&gt;
2018-08-11T22:11:18.011+0800 I NETWORK &lt;span class=&quot;error&quot;&gt;&amp;#91;listener&amp;#93;&lt;/span&gt; connection accepted from 111.199.184.231:25765 #1609 (1539 connections now open)&lt;br/&gt;
2018-08-11T22:11:18.037+0800 F - &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1275&amp;#93;&lt;/span&gt; Failed to mlock: Unknown error&lt;br/&gt;
2018-08-11T22:11:18.037+0800 F - &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1275&amp;#93;&lt;/span&gt; Fatal Assertion 28832 at src/mongo/base/secure_allocator.cpp 246&lt;br/&gt;
2018-08-11T22:11:18.038+0800 F - &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1275&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;***aborting after fassert() failure&lt;/p&gt;


&lt;p&gt;2018-08-11T22:11:18.051+0800 F - &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1275&amp;#93;&lt;/span&gt; Got signal: 6 (Aborted).&lt;br/&gt;
 0x561133b129b1 0x561133b11bc9 0x561133b120ad 0x7fe63b7ac5e0 0x7fe63b40f1f7 0x7fe63b4108e8 0x561132ef0e3f 0x561133aa6ca7 0x5611335b7559 0x5611335b83c8 0x5611332a9b50 0x5611332ab7d0 0x5611334e6789 0x56113303e4c0 0x56113303f927 0x561132f43b77 0x561132f6126a 0x561132f5bf27 0x561132f5f731 0x5611333ba7b2 0x561132f5a13f 0x561132f5d2d5 0x561132f5b667 0x561132f5bfad 0x561132f5f731 0x5611333bad15 0x561133a8dc44 0x7fe63b7a4e25 0x7fe63b4d234d&lt;/p&gt;

&lt;p&gt;...&lt;/p&gt;</description>
                <environment></environment>
        <key id="587066">SERVER-36600</key>
            <summary>mongos failed on error - Failed to mlock: Unknown error</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="13202">Works as Designed</resolution>
                                        <assignee username="dmitry.agranat@mongodb.com">Dmitry Agranat</assignee>
                                    <reporter username="sword2000">jiancai.hao</reporter>
                        <labels>
                    </labels>
                <created>Sun, 12 Aug 2018 01:56:03 +0000</created>
                <updated>Fri, 27 Oct 2023 13:53:36 +0000</updated>
                            <resolved>Tue, 14 Aug 2018 09:52:56 +0000</resolved>
                                    <version>4.0.1</version>
                                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="1975107" author="dmitry.agranat" created="Tue, 14 Aug 2018 09:52:22 +0000"  >&lt;p&gt;Thank you for the clarification &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=sword2000&quot; class=&quot;user-hover&quot; rel=&quot;sword2000&quot;&gt;sword2000&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1973752" author="sword2000" created="Mon, 13 Aug 2018 10:18:57 +0000"  >&lt;p&gt;Thanks Dmitry,&lt;/p&gt;

&lt;p&gt;Yes, this maybe one factor. I have set locked memory as the recommended value. At the same time, I found the direct cause &#8211; in one of my client, there is a NoSQLBooster for mongoDB process who is false death and is continously connecting to this mongos server, so that the mongos server exhausted all the locked memory in seconds.&lt;/p&gt;

&lt;p&gt;I think this ticket can be closed now. Thanks.&lt;/p&gt;</comment>
                            <comment id="1973359" author="dmitry.agranat" created="Sun, 12 Aug 2018 07:59:42 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=sword2000&quot; class=&quot;user-hover&quot; rel=&quot;sword2000&quot;&gt;sword2000&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;The reported error suggests that the ulimit &lt;tt&gt;max locked memory&lt;/tt&gt; setting is not set to our &lt;a href=&quot;https://docs.mongodb.com/manual/reference/ulimit/index.html#linux-distributions-using-upstart&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;recommended&lt;/a&gt; value. Please adjust the ulimit settings for &lt;tt&gt;max locked memory&lt;/tt&gt; and try starting the node again to see if that resolves the issue.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Dima&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="193838" name="mongos.log.tar.gz" size="332823" author="sword2000" created="Sun, 12 Aug 2018 01:55:06 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Sun, 12 Aug 2018 07:59:42 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 26 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>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, 26 weeks, 1 day ago
                        </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>dmitry.agranat@mongodb.com</customfieldvalue>
            <customfieldvalue>sword2000</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hu5a7b:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|htvvrb:</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>
                                    <customfieldvalue><![CDATA[dmitry.agranat@mongodb.com]]></customfieldvalue>
    

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hu4wgn:</customfieldvalue>

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