<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:09:07 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-5512] All the connections were filled up after an assertion occurred.  Had to reboot Mongo to be able to reconnect to the server.s</title>
                <link>https://jira.mongodb.org/browse/SERVER-5512</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;I have been running Mongo for the last 6 months without an issue but the last two Tuesdays it stopped allowing for new connections to be established.  When I looked at the log I noticed that after the Assertion, a bunch of connections were opened.  At that point our application could no longer connect to Mongo. &lt;/p&gt;


&lt;p&gt;Sample Log File &lt;br/&gt;
Tue Apr 03 10:19:18 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2766&amp;#93;&lt;/span&gt; MapViewOfFileEx failed c:/mongodb/data/TED_LOGS/TED_LOGS.1 errno:487 Attempt to access invalid address.&lt;br/&gt;
Tue Apr 03 10:19:18 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2766&amp;#93;&lt;/span&gt;   Assertion failure p db\mongommf.cpp 198&lt;br/&gt;
Tue Apr 03 10:19:19 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2766&amp;#93;&lt;/span&gt; update ted.nfSession  query: &lt;/p&gt;
{ sid: &quot;eogx0tMwLkhwbxhJgyIo1LGW1UeIQUoAv7Jen1D2RI8NPovuEUbqfm8ke5qfzgO+1fx9eB...&quot; }
&lt;p&gt; exception 0 assertion db\mongommf.cpp:198 0ms&lt;br/&gt;
Tue Apr 03 10:19:20 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; connection accepted from 10.20.60.10:59606 #2773&lt;br/&gt;
Tue Apr 03 10:19:20 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; connection accepted from 10.20.60.10:59609 #2774&lt;br/&gt;
.&lt;br/&gt;
.&lt;br/&gt;
.&lt;/p&gt;

&lt;p&gt;Tue Apr 03 10:19:48 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2766&amp;#93;&lt;/span&gt; warning: ClientCursor::yield can&apos;t unlock b/c of recursive lock ns: ted.nfSession&lt;br/&gt;
Tue Apr 03 10:19:48 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2766&amp;#93;&lt;/span&gt; warning: ClientCursor::yield can&apos;t unlock b/c of recursive lock ns: ted.nfSession&lt;br/&gt;
Tue Apr 03 10:19:48 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2766&amp;#93;&lt;/span&gt; warning: ClientCursor::yield can&apos;t unlock b/c of recursive lock ns: ted.nfSession&lt;br/&gt;
Tue Apr 03 10:19:48 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2766&amp;#93;&lt;/span&gt; warning: ClientCursor::yield can&apos;t unlock b/c of recursive lock ns: ted.nfSession&lt;br/&gt;
Tue Apr 03 10:19:48 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2766&amp;#93;&lt;/span&gt; warning: ClientCursor::yield can&apos;t unlock b/c of recursive lock ns: ted.nfSession&lt;br/&gt;
Tue Apr 03 10:19:48 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2766&amp;#93;&lt;/span&gt; warning: ClientCursor::yield can&apos;t unlock b/c of recursive lock ns: ted.nfSession&lt;br/&gt;
Tue Apr 03 10:19:48 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2766&amp;#93;&lt;/span&gt; warning: ClientCursor::yield can&apos;t unlock b/c of recursive lock ns: ted.nfSession&lt;br/&gt;
Tue Apr 03 10:19:48 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2766&amp;#93;&lt;/span&gt; warning: ClientCursor::yield can&apos;t unlock b/c of recursive lock ns: ted.nfSession&lt;br/&gt;
Tue Apr 03 10:19:48 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2766&amp;#93;&lt;/span&gt; warning: ClientCursor::yield can&apos;t unlock b/c of recursive lock ns: ted.nfSession&lt;br/&gt;
Tue Apr 03 10:19:48 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2766&amp;#93;&lt;/span&gt; warning: ClientCursor::yield can&apos;t unlock b/c of recursive lock ns: ted.nfSession&lt;br/&gt;
.&lt;br/&gt;
.&lt;br/&gt;
.&lt;br/&gt;
Tue Apr 03 10:35:14 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; connection accepted from 10.20.60.10:3510 #4888&lt;br/&gt;
Tue Apr 03 10:35:16 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; connection accepted from 10.20.60.10:3519 #4889&lt;/p&gt;</description>
                <environment>VM Ware - Windows 2008 R2 64 bit - 4 GB RAM - 2 Ghz processor - Mongo 64 bit&lt;br/&gt;
&lt;br/&gt;
C# Driver - 1.1.0.28681&lt;br/&gt;
&lt;br/&gt;
Mongo has journaling enabled&lt;br/&gt;
</environment>
        <key id="35554">SERVER-5512</key>
            <summary>All the connections were filled up after an assertion occurred.  Had to reboot Mongo to be able to reconnect to the server.s</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="3">Duplicate</resolution>
                                        <assignee username="tad">Tad Marshall</assignee>
                                    <reporter username="chris.weber">Chris Weber</reporter>
                        <labels>
                            <label>connection</label>
                    </labels>
                <created>Thu, 5 Apr 2012 14:25:03 +0000</created>
                <updated>Wed, 15 Aug 2012 14:04:20 +0000</updated>
                            <resolved>Fri, 20 Apr 2012 13:44:05 +0000</resolved>
                                    <version>1.8.5</version>
                                                    <component>Internal Code</component>
                    <component>Stability</component>
                                        <votes>1</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="111939" author="tad" created="Fri, 20 Apr 2012 13:44:05 +0000"  >&lt;p&gt;Duplicate of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2942&quot; title=&quot;MapViewOfFileEx failed during large import&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2942&quot;&gt;&lt;del&gt;SERVER-2942&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="107112" author="chris.weber" created="Thu, 5 Apr 2012 19:35:43 +0000"  >&lt;p&gt;Tad,&lt;/p&gt;

&lt;p&gt;Thanks for the description that gives me a great idea what occurred.&lt;/p&gt;

&lt;p&gt;Chris&lt;/p&gt;</comment>
                            <comment id="107051" author="tad" created="Thu, 5 Apr 2012 17:35:56 +0000"  >&lt;p&gt;2.0.4 won&apos;t hit the MapViewOfFileEx failure but it will consume page file space that the 1.8.5 version didn&apos;t.  (All of this is only when journaling is on).  We think we will have both issues solved in 2.2, but the code isn&apos;t finished yet (my fault, I&apos;m taking too long).&lt;/p&gt;

&lt;p&gt;The MapViewOfFileEx failure in 1.8.5 is most likely when new connections are being made rapidly at the same time that updates or inserts are happening ... all pretty normal activities for a mongod.exe server.  The page file consumption in 2.0.4 is greater with heavy inserts and updates ... basically, all the stuff that gets written to the journal.  Heavy query load will have no effect on page file usage.&lt;/p&gt;</comment>
                            <comment id="106973" author="chris.weber" created="Thu, 5 Apr 2012 15:20:53 +0000"  >&lt;p&gt;That makes sense.&lt;/p&gt;

&lt;p&gt;I have upgraded to 2.0.4.  However, does that help the problem or is it just likely to happen as the 1.8.5 version?  Also, does server load cause the error to occur more often?&lt;/p&gt;

&lt;p&gt;Chris W.&lt;/p&gt;</comment>
                            <comment id="106968" author="tad" created="Thu, 5 Apr 2012 15:06:49 +0000"  >&lt;p&gt;Sorry you hit this problem.&lt;/p&gt;

&lt;p&gt;The MapViewOfFileEx failure is essentially a fatal error, but your version doesn&apos;t exit as it probably should.&lt;/p&gt;

&lt;p&gt;What happens when you see that error is that a memory-mapped copy of your database file (c:/mongodb/data/TED_LOGS/TED_LOGS.1 in this case) is first unmapped and then an attempt is made to remap it at the same memory address where it was before.  Usually, the remap succeeds, but once in a while another thread gets scheduled in between the unmap and remap operations and allocates memory (for a thread stack, for example) and this memory is in the area where MapViewOfFileEx wants to remap the database file.  This causes MapViewOfFileEx to fail, and mongod.exe can&apos;t properly recover.&lt;/p&gt;

&lt;p&gt;Restarting mongod.exe is the only thing you can do at that point.&lt;/p&gt;

&lt;p&gt;We expect to have a permanent fix for this in version 2.2.  In the meantime, you could upgrade to 2.0.4 or just restart mongod.exe when this happens.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="16097">SERVER-2942</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <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, 5 Apr 2012 15:06:49 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        11 years, 43 weeks, 5 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>
                            11 years, 43 weeks, 5 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_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[Windows]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>chris.weber</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|hro713:</customfieldvalue>

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

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

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