<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:36:14 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-14869] Mongodb crashes without log after creating index</title>
                <link>https://jira.mongodb.org/browse/SERVER-14869</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Hello,&lt;br/&gt;
I am experiencing an issue with my server. I created a db on my Win 2008 server, it uses a shared drive (using UNC see configuration file bellow).  I am running the server as a service run by a different user (non interactive one). &lt;/p&gt;

&lt;p&gt;I do massive inserts (about 3Gb/h). When I create indexes (background=True), SOMETIMES my server crashes without any trace on the log files. Moreover, I am not sure that this only due to indexes....&lt;/p&gt;

&lt;p&gt;I got 2 different errors :&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;{ &quot;serverUsed&quot; : &quot;localhost:27017&quot; , &quot;ok&quot; : 1 , &quot;n&quot; : 0 , &quot;err&quot; : &quot;Can&apos;t take a write lock while out of disk space&quot; , &quot;code&quot; : 14031}
&lt;p&gt;       -&amp;gt; THIS IS WEIRD AS I HAVE &amp;gt;400Gb free on the server&lt;/p&gt;&lt;/li&gt;
	&lt;li&gt;OR NOTHING at all, with no trace.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;I did not have this error before, but since I have changed the dbpath to another one in a share drive, it is not stable anymore !&lt;/p&gt;

&lt;p&gt;Besides, I have also tried to set this option to true: smallFiles, but I got the same problem.&lt;/p&gt;

&lt;p&gt;Do you have any idea ?&lt;br/&gt;
Many thanks&lt;/p&gt;



&lt;p&gt;The configuration file is:&lt;br/&gt;
systemLog:&lt;br/&gt;
   destination: file&lt;br/&gt;
   path: &quot;//london03/TWXAW0_5/Mongo/logs/mongodb.log&quot; &lt;br/&gt;
   quiet: false&lt;br/&gt;
storage:&lt;br/&gt;
   journal:&lt;br/&gt;
      enabled: true&lt;br/&gt;
   dbPath: &quot;//london03/TWXAW0_5/Mongo/db/&quot;&lt;br/&gt;
net:&lt;br/&gt;
   bindIp: 0.0.0.0&lt;br/&gt;
   port: 27017&lt;/p&gt;

&lt;p&gt;Server :&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Mongo 2.6.4 64bits version for Windows server 2008&lt;/li&gt;
	&lt;li&gt;Windows server 2008 R2 Enterprise&lt;/li&gt;
	&lt;li&gt;48 Gb of RAM&lt;/li&gt;
	&lt;li&gt;X5680 Xeon 2 processors @3.33Ghz&lt;/li&gt;
	&lt;li&gt;400 Gb of available space on the shared drive (UNC: //london03/TWXAW0_5/Mongo/db/)&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="152187">SERVER-14869</key>
            <summary>Mongodb crashes without log after creating index</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="kazuya25">Kaz</reporter>
                        <labels>
                    </labels>
                <created>Tue, 12 Aug 2014 15:45:39 +0000</created>
                <updated>Wed, 10 Dec 2014 23:18:04 +0000</updated>
                            <resolved>Tue, 12 Aug 2014 16:33:44 +0000</resolved>
                                                                    <component>Storage</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="689172" author="kazuya25" created="Wed, 13 Aug 2014 10:17:29 +0000"  >&lt;p&gt;I have added a thread on StackOverflow as well if you prefer. Thanks&lt;br/&gt;
&lt;a href=&quot;http://stackoverflow.com/questions/25283575/mongodb-crashes-without-log-after-creating-index&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://stackoverflow.com/questions/25283575/mongodb-crashes-without-log-after-creating-index&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="689140" author="kazuya25" created="Wed, 13 Aug 2014 09:21:36 +0000"  >&lt;p&gt;Thank you very much for your answer. I have spent the whole day yesterday understanding the error and looking at the stack overflow threads. I have not found anything about this error, that&apos;s why I think this is a bug on the server.&lt;br/&gt;
It seems to be very random as I get new errors.&lt;br/&gt;
I have now this error :&lt;br/&gt;
2014-08-13T10:03:57.688+0100 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2&amp;#93;&lt;/span&gt; command MARS.$cmd command: insert &lt;/p&gt;
{ $msg: &quot;query not recording (too large)&quot; }
&lt;p&gt; keyUpdates:0 numYields:0  reslen:164 858ms&lt;br/&gt;
2014-08-13T10:03:59.498+0100 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2&amp;#93;&lt;/span&gt; MARS.Trades_20140813 Assertion failure isOk() D:\data\mci\shell\src\src\mongo/db/storage/extent.h 80&lt;br/&gt;
2014-08-13T10:04:00.309+0100 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2&amp;#93;&lt;/span&gt; mongod.exe  ...\src\mongo\util\stacktrace.cpp(169)                             mongo::printStackTrace+0x43&lt;br/&gt;
2014-08-13T10:04:00.309+0100 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2&amp;#93;&lt;/span&gt; mongod.exe  ...\src\mongo\util\log.cpp(127)                                    mongo::logContext+0x9c&lt;br/&gt;
2014-08-13T10:04:00.309+0100 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2&amp;#93;&lt;/span&gt; mongod.exe  ...\src\mongo\util\assert_util.cpp(115)                            mongo::verifyFailed+0x14a&lt;br/&gt;
2014-08-13T10:04:00.309+0100 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2&amp;#93;&lt;/span&gt; mongod.exe  ...\src\mongo\db\storage\extent_manager.cpp(229)                   mongo::ExtentManager::getExtent+0x66&lt;br/&gt;
2014-08-13T10:04:00.309+0100 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2&amp;#93;&lt;/span&gt; mongod.exe  ...\src\mongo\db\storage\extent_manager.cpp(428)                   mongo::ExtentManager::allocFromFreeList+0x17a&lt;br/&gt;
2014-08-13T10:04:00.309+0100 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2&amp;#93;&lt;/span&gt; mongod.exe  ...\src\mongo\db\storage\extent_manager.cpp(487)                   mongo::ExtentManager::increaseStorageSize+0x61&lt;br/&gt;
2014-08-13T10:04:00.309+0100 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2&amp;#93;&lt;/span&gt; mongod.exe  ...\src\mongo\db\structure\record_store.cpp(213)                   mongo::SimpleRecordStoreV1::allocRecord+0x128&lt;br/&gt;
2014-08-13T10:04:00.309+0100 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2&amp;#93;&lt;/span&gt; mongod.exe  ...\src\mongo\db\structure\record_store.cpp(94)                    mongo::RecordStoreV1Base::insertRecord+0x6c&lt;br/&gt;
2014-08-13T10:04:00.309+0100 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2&amp;#93;&lt;/span&gt; mongod.exe  ...\src\mongo\db\catalog\collection.cpp(232)                       mongo::Collection::_insertDocument+0xb5&lt;br/&gt;
2014-08-13T10:04:00.309+0100 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2&amp;#93;&lt;/span&gt; mongod.exe  ...\src\mongo\db\catalog\collection.cpp(189)                       mongo::Collection::insertDocument+0x21d&lt;br/&gt;
2014-08-13T10:04:00.309+0100 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2&amp;#93;&lt;/span&gt; mongod.exe  ...\src\mongo\db\commands\write_commands\batch_executor.cpp(1067)  mongo::singleInsert+0x72&lt;br/&gt;
2014-08-13T10:04:00.309+0100 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2&amp;#93;&lt;/span&gt; mongod.exe  ...\src\mongo\db\commands\write_commands\batch_executor.cpp(997)   mongo::insertOne+0x17a&lt;br/&gt;
2014-08-13T10:04:00.309+0100 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2&amp;#93;&lt;/span&gt; mongod.exe  ...\src\mongo\db\commands\write_commands\batch_executor.cpp(1031)  mongo::WriteBatchExecutor::execOneInsert+0xaf&lt;br/&gt;
2014-08-13T10:04:00.309+0100 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2&amp;#93;&lt;/span&gt; mongod.exe  ...\src\mongo\db\commands\write_commands\batch_executor.cpp(837)   mongo::WriteBatchExecutor::execInserts+0x130&lt;br/&gt;
2014-08-13T10:04:00.309+0100 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2&amp;#93;&lt;/span&gt; mongod.exe  ...\src\mongo\db\commands\write_commands\batch_executor.cpp(713)   mongo::WriteBatchExecutor::bulkExecute+0x52&lt;br/&gt;
2014-08-13T10:04:00.309+0100 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2&amp;#93;&lt;/span&gt; mongod.exe  ...\src\mongo\db\commands\write_commands\batch_executor.cpp(249)   mongo::WriteBatchExecutor::executeBatch+0xb6c&lt;br/&gt;
2014-08-13T10:04:00.309+0100 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2&amp;#93;&lt;/span&gt; mongod.exe  ...\src\mongo\db\commands\write_commands\write_commands.cpp(146)   mongo::WriteCmd::run+0x1e6&lt;br/&gt;
2014-08-13T10:04:00.309+0100 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2&amp;#93;&lt;/span&gt; mongod.exe  ...\src\mongo\db\dbcommands.cpp(1357)                              mongo::_execCommand+0x5e&lt;br/&gt;
2014-08-13T10:04:00.309+0100 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2&amp;#93;&lt;/span&gt; mongod.exe  ...\src\mongo\db\dbcommands.cpp(1564)                              mongo::Command::execCommand+0xf09&lt;br/&gt;
2014-08-13T10:04:00.309+0100 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2&amp;#93;&lt;/span&gt; mongod.exe  ...\src\mongo\db\dbcommands.cpp(1696)                              mongo::_runCommands+0x4a7&lt;/p&gt;


&lt;p&gt;I tried the repair command but it would take days for me (several dozens of Gb ) so I stopped. And I started again the DB, and I had the same issue.&lt;/p&gt;</comment>
                            <comment id="688266" author="ramon.fernandez" created="Tue, 12 Aug 2014 16:29:20 +0000"  >&lt;p&gt;Looks like your database files and your logs are both on a network drive, which means that if there&apos;s a problem with the network (or the network drive) &lt;tt&gt;mongod&lt;/tt&gt; may not be able to write anything in the logs, and without logs it&apos;s quite difficult to diagnose problems. If you are planning to put your database files on a network drive, I would suggest you consider using a local drive for your logs, so if there&apos;s a problem you can gather more information about it.&lt;/p&gt;

&lt;p&gt;Note also that the SERVER project is for reporting bugs or feature suggestions for the MongoDB server and tools. For MongoDB-related support discussion please post on the &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;mongodb-user group&lt;/a&gt; or &lt;a href=&quot;http://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. If after obtaining logs you find a bug in MongoDB please feel free to open a new SERVER ticket and upload the logs to it.&lt;/p&gt;

&lt;p&gt;Finally, the &quot;out of disk space&quot; message may not be completely accurate in this case, so I&apos;ve opened &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-14871&quot; title=&quot;Better error message for FileAllocator failure&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-14871&quot;&gt;&lt;del&gt;SERVER-14871&lt;/del&gt;&lt;/a&gt; see if it can be improved.&lt;/p&gt;


</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="152197">SERVER-14871</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>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 12 Aug 2014 16:29:20 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        9 years, 27 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, 27 weeks 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>kazuya25</customfieldvalue>
            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrlq1j:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>132113</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_10750" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Steps To Reproduce</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;Do continously massive insertions &amp;gt; 3Gb/h and create indexes on one of the newly created collections.&lt;/p&gt;</customfieldvalue>

                        </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|hsgqpz:</customfieldvalue>

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