<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:28:55 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-52753] Too many open files error on mongo shell start attempt </title>
                <link>https://jira.mongodb.org/browse/SERVER-52753</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;I am on a mac starting mongo from terminal via command:&lt;/p&gt;

&lt;p&gt;&lt;font color=&quot;#c1c7d0&quot;&gt;&lt;tt&gt;sudo mongod -storageEngine wiredTiger --directoryperdb --dbpath /mongodb/data --setParameter failIndexKeyTooLong=false&lt;/tt&gt;&lt;/font&gt;&lt;/p&gt;

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

&lt;p&gt;&lt;tt&gt;And I get:&lt;/tt&gt;&lt;/p&gt;

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

&lt;p&gt;2020-11-11T01:12:59.114+0200 I STORAGE&#160; &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; wiredtiger_open config: create,cache_size=8G,session_max=20000,eviction=(threads_max=4),statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),checkpoint=(wait=60,log_size=2GB),statistics_log=(wait=0),&lt;/p&gt;

&lt;p&gt;2020-11-11T01:13:04.809+0200 E STORAGE&#160; &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; WiredTiger (24) &lt;span class=&quot;error&quot;&gt;&amp;#91;1605049984:809579&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;2786:0x7fff768bd300&amp;#93;&lt;/span&gt;, &lt;a href=&quot;file:e3/collection-917--6708257915232949607.wt&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;file:e3/collection-917--6708257915232949607.wt&lt;/a&gt;, session.open_cursor: /Users/x/mongodb/data/e3/collection-917--6708257915232949607.wt: Too many open files&lt;/p&gt;

&lt;p&gt;2020-11-11T01:13:04.809+0200 I -&#160; &#160; &#160; &#160; &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; Invariant failure: ret resulted in status UnknownError 24: Too many open files at src/mongo/db/storage/wiredtiger/wiredtiger_session_cache.cpp 78&lt;/p&gt;

&lt;p&gt;2020-11-11T01:13:04.816+0200 I CONTROL&#160; &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; &lt;/p&gt;

&lt;p&gt; 0x10bf8ad79 0x10bf3e5a0 0x10bf2ba25 0x10bdba9a9 0x10bdb94e4 0x10bdb5511 0x10bdb32cc 0x10bdaff6a 0x10bdac7e4 0x10bd28168 0x10bd2afa9 0x10bdaa11c 0x10bab88cc 0x10b81a7c8 0x10b819f53 0x10b81ee9c 0x10b819f34&lt;/p&gt;

&lt;p&gt;----- BEGIN BACKTRACE -----&lt;/p&gt;

{&quot;backtrace&quot;:[\{&quot;b&quot;:&quot;10B819000&quot;,&quot;o&quot;:&quot;771D79&quot;}
&lt;p&gt;,{&quot;b&quot;:&quot;10B819000&quot;,&quot;o&quot;:&quot;7255A0&quot;},{&quot;b&quot;:&quot;10B819000&quot;,&quot;o&quot;:&quot;712A25&quot;},{&quot;b&quot;:&quot;10B819000&quot;,&quot;o&quot;:&quot;5A19A9&quot;},{&quot;b&quot;:&quot;10B819000&quot;,&quot;o&quot;:&quot;5A04E4&quot;},{&quot;b&quot;:&quot;10B819000&quot;,&quot;o&quot;:&quot;59C511&quot;},{&quot;b&quot;:&quot;10B819000&quot;,&quot;o&quot;:&quot;59A2CC&quot;},{&quot;b&quot;:&quot;10B819000&quot;,&quot;o&quot;:&quot;596F6A&quot;},{&quot;b&quot;:&quot;10B819000&quot;,&quot;o&quot;:&quot;5937E4&quot;},{&quot;b&quot;:&quot;10B819000&quot;,&quot;o&quot;:&quot;50F168&quot;},{&quot;b&quot;:&quot;10B819000&quot;,&quot;o&quot;:&quot;511FA9&quot;},{&quot;b&quot;:&quot;10B819000&quot;,&quot;o&quot;:&quot;59111C&quot;},{&quot;b&quot;:&quot;10B819000&quot;,&quot;o&quot;:&quot;29F8CC&quot;},{&quot;b&quot;:&quot;10B819000&quot;,&quot;o&quot;:&quot;17C8&quot;},{&quot;b&quot;:&quot;10B819000&quot;,&quot;o&quot;:&quot;F53&quot;},{&quot;b&quot;:&quot;10B819000&quot;,&quot;o&quot;:&quot;5E9C&quot;},{&quot;b&quot;:&quot;10B819000&quot;,&quot;o&quot;:&quot;F34&quot;}],&quot;processInfo&quot;:{ &quot;mongodbVersion&quot; : &quot;3.0.1&quot;, &quot;gitVersion&quot; : &quot;534b5a3f9d10f00cd27737fbcd951032248b5952&quot;, &quot;uname&quot; : &lt;/p&gt;
{ &quot;sysname&quot; : &quot;Darwin&quot;, &quot;release&quot; : &quot;14.5.0&quot;, &quot;version&quot; : &quot;Darwin Kernel Version 14.5.0: Sun Jun&#160; 4 21:40:08 PDT 2017; root:xnu-2782.70.3~1/RELEASE_X86_64&quot;, &quot;machine&quot; : &quot;x86_64&quot; }
&lt;p&gt;, &quot;somap&quot; : [ { &quot;path&quot; : &quot;/Users/alex_fimm_dev/Desktop/Databases/Mongo/mongodb/bin/mongod&quot;, &quot;machType&quot; : 2, &quot;b&quot; : &quot;10B819000&quot;, &quot;buildId&quot; : &quot;BCCE8C3AD8BB31D490CB01C153674428&quot; }, { &quot;path&quot; : &quot;/usr/lib/libSystem.B.dylib&quot;, &quot;machType&quot; : 6, &quot;b&quot; : &quot;7FFF93915000&quot;, &quot;buildId&quot; : &quot;4B24B5BE45F2355A9A35D438A516D140&quot; }, { &quot;path&quot; : &quot;/usr/lib/libc+&lt;ins&gt;.1.dylib&quot;, &quot;machType&quot; : 6, &quot;b&quot; : &quot;7FFF9029B000&quot;, &quot;buildId&quot; : &quot;1B9530FD989B3174BB1CBDC159501710&quot; }, { &quot;path&quot; : &quot;/usr/lib/system/libcache.dylib&quot;, &quot;machType&quot; : 6, &quot;b&quot; : &quot;7FFF93298000&quot;, &quot;buildId&quot; : &quot;45E9A2E799C436B2BEE30C4E11614AD1&quot; }, { &quot;path&quot; : &quot;/usr/lib/system/libcommonCrypto.dylib&quot;, &quot;machType&quot; : 6, &quot;b&quot; : &quot;7FFF863A8000&quot;, &quot;buildId&quot; : &quot;E789748DF9A73CFFB31790DF348B1E95&quot; }, { &quot;path&quot; : &quot;/usr/lib/system/libcompiler_rt.dylib&quot;, &quot;machType&quot; : 6, &quot;b&quot; : &quot;7FFF8665E000&quot;, &quot;buildId&quot; : &quot;BF8FC133EE103DA69B9092039E28678F&quot; }, { &quot;path&quot; : &quot;/usr/lib/system/libcopyfile.dylib&quot;, &quot;machType&quot; : 6, &quot;b&quot; : &quot;7FFF9449B000&quot;, &quot;buildId&quot; : &quot;0C68D3A6ACDD3EF3991ACC82C32AB836&quot; }, { &quot;path&quot; : &quot;/usr/lib/system/libcorecrypto.dylib&quot;, &quot;machType&quot; : 6, &quot;b&quot; : &quot;7FFF93A8D000&quot;, &quot;buildId&quot; : &quot;5779FFA04D9A3AD4B7F2618227621DC8&quot; }, { &quot;path&quot; : &quot;/usr/lib/system/libdispatch.dylib&quot;, &quot;machType&quot; : 6, &quot;b&quot; : &quot;7FFF8B059000&quot;, &quot;buildId&quot; : &quot;A61E703C784A3698B51375DD12AAD6DC&quot; }, { &quot;path&quot; : &quot;/usr/lib/system/libdyld.dylib&quot;, &quot;machType&quot; : 6, &quot;b&quot; : &quot;7FFF9013A000&quot;, &quot;buildId&quot; : &quot;224F35C56E353EC4A97C80949CE444E7&quot; }, { &quot;path&quot; : &quot;/usr/lib/system/libkeymgr.dylib&quot;, &quot;machType&quot; : 6, &quot;b&quot; : &quot;7FFF8EC4B000&quot;, &quot;buildId&quot; : &quot;77845842DE703CC5BD01C3D14227CED5&quot; }, { &quot;path&quot; : &quot;/usr/lib/system/liblaunch.dylib&quot;, &quot;machType&quot; : 6, &quot;b&quot; : &quot;7FFF941CA000&quot;, &quot;buildId&quot; : &quot;4F81CA3AD2CE3030A89D42F3DAD7BA8F&quot; }, { &quot;path&quot; : &quot;/usr/lib/system/libmacho.dylib&quot;, &quot;machType&quot; : 6, &quot;b&quot; : &quot;7FFF8DF4C000&quot;, &quot;buildId&quot; : &quot;126CA2EDDE91308F8881B9DAEC3C63B6&quot; }, { &quot;path&quot; : &quot;/usr/lib/system/libquarantine.dylib&quot;, &quot;machType&quot; : 6, &quot;b&quot; : &quot;7FFF867C8000&quot;, &quot;buildId&quot; : &quot;7AF900412768378A925AD83161863642&quot; }, { &quot;path&quot; : &quot;/usr/lib/system/libremovefile.dylib&quot;, &quot;machType&quot; : 6, &quot;b&quot; : &quot;7FFF8B0F7000&quot;, &quot;buildId&quot; : &quot;3485B5F46CE83C628DFD8736ED6E8531&quot; }, { &quot;path&quot; : &quot;/usr/lib/system/libsystem_asl.dylib&quot;, &quot;machType&quot; : 6, &quot;b&quot; : &quot;7FFF8BAC5000&quot;, &quot;buildId&quot; : &quot;F153AC5B0542356E88C820A62CA704E2&quot; }, { &quot;path&quot; : &quot;/usr/lib/system/libsystem_blocks.dylib&quot;, &quot;machType&quot; : 6, &quot;b&quot; : &quot;7FFF8E4CC000&quot;, &quot;buildId&quot; : &quot;9615D10AFCA73BE4AA1A1B195DACE1A1&quot; }, { &quot;path&quot; : &quot;/usr/lib/system/libsystem_c.dylib&quot;, &quot;machType&quot; : 6, &quot;b&quot; : &quot;7FFF8BCB7000&quot;, &quot;buildId&quot; : &quot;2E673D96E33437D2833AE57383BBA377&quot; }, { &quot;path&quot; : &quot;/usr/lib/system/libsystem_configuration.dylib&quot;, &quot;machType&quot; : 6, &quot;b&quot; : &quot;7FFF8E667000&quot;, &quot;buildId&quot; : &quot;56F94DCEDBDE36158F07DE6270D9F8BE&quot; }, { &quot;path&quot; : &quot;/usr/lib/system/libsystem_coreservices.dylib&quot;, &quot;machType&quot; : 6, &quot;b&quot; : &quot;7FFF8722A000&quot;, &quot;buildId&quot; : &quot;41B7C5785A5331C8A96FC73E030B0938&quot; }, { &quot;path&quot; : &quot;/usr/lib/system/libsystem_coretls.dylib&quot;, &quot;machType&quot; : 6, &quot;b&quot; : &quot;7FFF8664C000&quot;, &quot;buildId&quot; : &quot;155DA0A92046332EBFA3D7974A51F731&quot; }, { &quot;path&quot; : &quot;/usr/lib/system/libsystem_dnssd.dylib&quot;, &quot;machType&quot; : 6, &quot;b&quot; : &quot;7FFF85BA3000&quot;, &quot;buildId&quot; : &quot;9EC5AF92D0D23BDE92B6D3730D3865C8&quot; }, { &quot;path&quot; : &quot;/usr/lib/system/libsystem_info.dylib&quot;, &quot;machType&quot; : 6, &quot;b&quot; : &quot;7FFF86B11000&quot;, &quot;buildId&quot; : &quot;2E16C4B3A32739579C41143911979A1E&quot; }, { &quot;path&quot; : &quot;/usr/lib/system/libsystem_kernel.dylib&quot;, &quot;machType&quot; : 6, &quot;b&quot; : &quot;7FFF9238B000&quot;, &quot;buildId&quot; : &quot;79B806D6AEEF3663BAE32D8A4A0A7A92&quot; }, { &quot;path&quot; : &quot;/usr/lib/system/libsystem_m.dylib&quot;, &quot;machType&quot; : 6, &quot;b&quot; : &quot;7FFF921CA000&quot;, &quot;buildId&quot; : &quot;1E12AB456D9636D0A226F24D9FB0D9D6&quot; }, { &quot;path&quot; : &quot;/usr/lib/system/libsystem_malloc.dylib&quot;, &quot;machType&quot; : 6, &quot;b&quot; : &quot;7FFF89697000&quot;, &quot;buildId&quot; : &quot;DDA8928BCC0D3255BD8A3FEA0982B890&quot; }, { &quot;path&quot; : &quot;/usr/lib/system/libsystem_network.dylib&quot;, &quot;machType&quot; : 6, &quot;b&quot; : &quot;7FFF8E046000&quot;, &quot;buildId&quot; : &quot;6105C13467223C0AA4CE5E1261E2E1CC&quot; }, { &quot;path&quot; : &quot;/usr/lib/system/libsystem_networkextension.dylib&quot;, &quot;machType&quot; : 6, &quot;b&quot; : &quot;7FFF9225B000&quot;, &quot;buildId&quot; : &quot;BA58B30B83773B0A8AE34F84021D9D4E&quot; }, { &quot;path&quot; : &quot;/usr/lib/system/libsystem_notify.dylib&quot;, &quot;machType&quot; : 6, &quot;b&quot; : &quot;7FFF8B3E6000&quot;, &quot;buildId&quot; : &quot;61147800F3203DAA850CBADF33855F29&quot; }, { &quot;path&quot; : &quot;/usr/lib/system/libsystem_platform.dylib&quot;, &quot;machType&quot; : 6, &quot;b&quot; : &quot;7FFF90181000&quot;, &quot;buildId&quot; : &quot;64E34079D7123D669CE2418624A5C040&quot; }, { &quot;path&quot; : &quot;/usr/lib/system/libsystem_pthread.dylib&quot;, &quot;machType&quot; : 6, &quot;b&quot; : &quot;7FFF8BA04000&quot;, &quot;buildId&quot; : &quot;ACE90967ECD03251AEEB461E3C6414F7&quot; }, { &quot;path&quot; : &quot;/usr/lib/system/libsystem_sandbox.dylib&quot;, &quot;machType&quot; : 6, &quot;b&quot; : &quot;7FFF921B3000&quot;, &quot;buildId&quot; : &quot;3F5E973FC70231AC97BC05F5C195683C&quot; }, { &quot;path&quot; : &quot;/usr/lib/system/libsystem_secinit.dylib&quot;, &quot;machType&quot; : 6, &quot;b&quot; : &quot;7FFF8B084000&quot;, &quot;buildId&quot; : &quot;581DAD0F6B633A48B63B917AF799ABAA&quot; }, { &quot;path&quot; : &quot;/usr/lib/system/libsystem_stats.dylib&quot;, &quot;machType&quot; : 6, &quot;b&quot; : &quot;7FFF93004000&quot;, &quot;buildId&quot; : &quot;4F79A38D3C9C35788E387697F7300CB2&quot; }, { &quot;path&quot; : &quot;/usr/lib/system/libsystem_trace.dylib&quot;, &quot;machType&quot; : 6, &quot;b&quot; : &quot;7FFF91A51000&quot;, &quot;buildId&quot; : &quot;840F5301B55A307890B9FEFFD6CD741A&quot; }, { &quot;path&quot; : &quot;/usr/lib/system/libunc.dylib&quot;, &quot;machType&quot; : 6, &quot;b&quot; : &quot;7FFF86BE7000&quot;, &quot;buildId&quot; : &quot;5676F7EAC1DF329FB006D2C3022B7D70&quot; }, { &quot;path&quot; : &quot;/usr/lib/system/libunwind.dylib&quot;, &quot;machType&quot; : 6, &quot;b&quot; : &quot;7FFF90598000&quot;, &quot;buildId&quot; : &quot;BE7E51A0B6EA3A549CCA9D88F683A6D6&quot; }, { &quot;path&quot; : &quot;/usr/lib/system/libxpc.dylib&quot;, &quot;machType&quot; : 6, &quot;b&quot; : &quot;7FFF9260D000&quot;, &quot;buildId&quot; : &quot;5C829202962E37448B5000D38CC88E84&quot; }, { &quot;path&quot; : &quot;/usr/lib/libobjc.A.dylib&quot;, &quot;machType&quot; : 6, &quot;b&quot; : &quot;7FFF8F704000&quot;, &quot;buildId&quot; : &quot;759E155DBC423D4E869B6F57D477177C&quot; }, { &quot;path&quot; : &quot;/usr/lib/libauto.dylib&quot;, &quot;machType&quot; : 6, &quot;b&quot; : &quot;7FFF92FBD000&quot;, &quot;buildId&quot; : &quot;A260789BD4D8316A9490254767B8A5F1&quot; }, { &quot;path&quot; : &quot;/usr/lib/libc&lt;/ins&gt;+abi.dylib&quot;, &quot;machType&quot; : 6, &quot;b&quot; : &quot;7FFF89653000&quot;, &quot;buildId&quot; : &quot;B8E6BB31E27E3B809BA273B5AB7E42E1&quot; }, { &quot;path&quot; : &quot;/usr/lib/libDiagnosticMessagesClient.dylib&quot;, &quot;machType&quot; : 6, &quot;b&quot; : &quot;7FFF8E07F000&quot;, &quot;buildId&quot; : &quot;2EE8E4365CDC34C599595BA218D507FB&quot; } ] }}&lt;/p&gt;

&lt;p&gt; mongod(&lt;em&gt;ZN5mongo15printStackTraceERNSt3&lt;/em&gt;_113basic_ostreamIcNS0_11char_traitsIcEEEE+0x39) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x10bf8ad79&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt; mongod(_ZN5mongo10logContextEPKc+0x100) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x10bf3e5a0&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt; mongod(_ZN5mongo17invariantOKFailedEPKcRKNS_6StatusES1_j+0x175) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x10bf2ba25&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt; mongod(&lt;em&gt;ZN5mongo17WiredTigerSession9getCursorERKNSt3&lt;/em&gt;_112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEyb+0x1A9) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x10bdba9a9&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt; mongod(&lt;em&gt;ZN5mongo16WiredTigerCursorC2ERKNSt3&lt;/em&gt;_112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEybPNS_16OperationContextE+0x84) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x10bdb94e4&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt; mongod(_ZN5mongo21WiredTigerRecordStore8IteratorC2ERKS0_PNS_16OperationContextERKNS_8RecordIdERKNS_20CollectionScanParams9DirectionEb+0x61) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x10bdb5511&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt; mongod(_ZNK5mongo21WiredTigerRecordStore11getIteratorEPNS_16OperationContextERKNS_8RecordIdERKNS_20CollectionScanParams9DirectionE+0x6C) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x10bdb32cc&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt; mongod(_ZN5mongo21WiredTigerRecordStoreC2EPNS_16OperationContextERKNS_10StringDataES5_bxxPNS_28CappedDocumentDeleteCallbackEPNS_20WiredTigerSizeStorerE+0x38A) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x10bdaff6a&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt; mongod(_ZN5mongo18WiredTigerKVEngine14getRecordStoreEPNS_16OperationContextERKNS_10StringDataES5_RKNS_17CollectionOptionsE+0x134) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x10bdac7e4&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt; mongod(&lt;em&gt;ZN5mongo22KVDatabaseCatalogEntry14initCollectionEPNS_16OperationContextERKNSt3&lt;/em&gt;_112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEb+0x158) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x10bd28168&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt; mongod(_ZN5mongo15KVStorageEngineC2EPNS_8KVEngineERKNS_22KVStorageEngineOptionsE+0x919) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x10bd2afa9&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt; mongod(&lt;em&gt;ZNK5mongo12_GLOBAL&lt;/em&gt;_N_117WiredTigerFactory6createERKNS_19StorageGlobalParamsERKNS_21StorageEngineLockFileE+0x11C) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x10bdaa11c&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt; mongod(&lt;em&gt;ZN5mongo23GlobalEnvironmentMongoD22setGlobalStorageEngineERKNSt3&lt;/em&gt;_112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE+0x27C) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x10bab88cc&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt; mongod(_ZN5mongoL14_initAndListenEi+0x328) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x10b81a7c8&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt; mongod(_ZN5mongo13initAndListenEi+0x13) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x10b819f53&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt; mongod(main+0x3BC) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x10b81ee9c&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt; mongod(start+0x34) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x10b819f34&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;-----&#160; END BACKTRACE&#160; -----&lt;/p&gt;

&lt;p&gt;2020-11-11T01:13:04.817+0200 I -&#160; &#160; &#160; &#160; &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; &lt;/p&gt;

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

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

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

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

&lt;p&gt;Any help would be be appreciated, thanks!&lt;/p&gt;</description>
                <environment></environment>
        <key id="1538626">SERVER-52753</key>
            <summary>Too many open files error on mongo shell start attempt </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="edwin.zhou@mongodb.com">Edwin Zhou</assignee>
                                    <reporter username="alex_tsm@hotmail.com">Alex TSM TSM</reporter>
                        <labels>
                    </labels>
                <created>Tue, 10 Nov 2020 23:17:56 +0000</created>
                <updated>Thu, 17 Dec 2020 22:47:30 +0000</updated>
                            <resolved>Thu, 17 Dec 2020 22:47:30 +0000</resolved>
                                                                    <component>WiredTiger</component>
                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="3535433" author="JIRAUSER1257066" created="Thu, 17 Dec 2020 22:47:22 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=alex_tsm%40hotmail.com&quot; class=&quot;user-hover&quot; rel=&quot;alex_tsm@hotmail.com&quot;&gt;alex_tsm@hotmail.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Thank you for providing the files. Unfortunately I wasn&apos;t able to repair this corruption, and it can be an issue with 3.0. Given that you&apos;re operating on an unsupported version of MongoDB, I advise that you upgrade to MongoDB 3.6 or later.&lt;/p&gt;

&lt;p&gt;To avoid a problem like this in the future, it is our strong recommendation to:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Use a &lt;a href=&quot;https://docs.mongodb.com/manual/replication/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;replica set&lt;/a&gt;.&lt;/li&gt;
	&lt;li&gt;Use the &lt;a href=&quot;https://docs.mongodb.com/manual/release-notes/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;most recent version&lt;/a&gt;.&lt;/li&gt;
	&lt;li&gt;Keep up to date &lt;a href=&quot;https://docs.mongodb.com/manual/core/backups/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;backups of your databases&lt;/a&gt;.&lt;/li&gt;
	&lt;li&gt;Have a process in place to restore backups.&lt;/li&gt;
	&lt;li&gt;Follow all &lt;a href=&quot;https://docs.mongodb.com/manual/administration/production-notes/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;production notes&lt;/a&gt;, especially those for &lt;a href=&quot;https://docs.mongodb.com/manual/administration/production-notes/#disk-and-storage-systems&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;underlying storage systems&lt;/a&gt;.&lt;/li&gt;
	&lt;li&gt;Schedule and perform regular checks of the integrity of your filesystems and disks.&lt;/li&gt;
	&lt;li&gt;Never manipulate the underlying database files in any way.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Best,&lt;br/&gt;
Edwin&lt;/p&gt;
</comment>
                            <comment id="3534706" author="JIRAUSER1257582" created="Thu, 17 Dec 2020 17:16:59 +0000"  >&lt;p&gt;Hello Edwin,&lt;/p&gt;

&lt;p&gt;My sincere apology for not responding. I have uploaded the files and will respond faster in the future.&lt;/p&gt;

&lt;p&gt;Thank you for all the effort!&lt;/p&gt;

&lt;p&gt;Br,&lt;br/&gt;
Alexander T.&lt;/p&gt;
</comment>
                            <comment id="3534516" author="JIRAUSER1257066" created="Thu, 17 Dec 2020 16:11:04 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=alex_tsm%40hotmail.com&quot; class=&quot;user-hover&quot; rel=&quot;alex_tsm@hotmail.com&quot;&gt;alex_tsm@hotmail.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Would you like to continue with the metadata repair? If this is still an issue for you, would you please upload wiredTiger.wt and wiredTiger.turtle to the secure upload portal?&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Edwin&lt;/p&gt;</comment>
                            <comment id="3512782" author="JIRAUSER1257066" created="Wed, 2 Dec 2020 17:16:15 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=alex_tsm%40hotmail.com&quot; class=&quot;user-hover&quot; rel=&quot;alex_tsm@hotmail.com&quot;&gt;alex_tsm@hotmail.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;I appreciate your concern. The files I requested only contain metadata about other &amp;#42;.wt files but not the data stored in the database. Collection and index data is stored in collection-&amp;#42;.wt and index-*.wt files respectively, which I have not requested.&lt;/p&gt;

&lt;p&gt;Best,&lt;br/&gt;
Edwin&lt;/p&gt;</comment>
                            <comment id="3512685" author="JIRAUSER1257582" created="Wed, 2 Dec 2020 16:41:10 +0000"  >&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;First of all thank you for the help, very much appreciated. Is any of the information stored in the database exposed through the requested files?&lt;/p&gt;

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

&lt;p&gt;Best regards,&lt;/p&gt;

&lt;p&gt;Alex&lt;/p&gt;</comment>
                            <comment id="3512594" author="JIRAUSER1257066" created="Wed, 2 Dec 2020 16:10:52 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=alex_tsm%40hotmail.com&quot; class=&quot;user-hover&quot; rel=&quot;alex_tsm@hotmail.com&quot;&gt;alex_tsm@hotmail.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;As MongoDB 3.0.1 is EOL, we can offer a one time effort to help and try to repair the .wt files. Please attach copies of the wiredTiger.wt and wiredTiger.turtle files to the &lt;a href=&quot;https://10gen-httpsupload.s3.amazonaws.com/upload_forms/77937028-ecfd-4c73-87a7-0aa51e19ea42.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;upload portal&lt;/a&gt; and we can attempt a metadata-only repair effort using internal tools. Files uploaded to this portal are visible only to MongoDB employees and are routinely deleted after some time.&lt;/p&gt;

&lt;p&gt;Keep in mind that this repair effort may not be successful, and that diagnosing corruption issues requires significant information and effort.&lt;/p&gt;

&lt;p&gt;Kind regards,&lt;br/&gt;
Edwin&lt;/p&gt;</comment>
                            <comment id="3507569" author="JIRAUSER1257582" created="Sat, 28 Nov 2020 12:28:50 +0000"  >&lt;p&gt;Logs for start:&#160;&lt;/p&gt;

&lt;p&gt;_____________________&lt;/p&gt;

&lt;p&gt;sudo mongod -storageEngine wiredTiger --directoryperdb --dbpath /Users/alex_fimm_dev/mongodb/data --setParameter failIndexKeyTooLong=false&lt;/p&gt;

&lt;p&gt;_____________________&lt;/p&gt;

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

&lt;p&gt;2020-11-28T14:21:39.615+0200 I STORAGE&#160; &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; wiredtiger_open config: create,cache_size=8G,session_max=20000,eviction=(threads_max=4),statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),checkpoint=(wait=60,log_size=2GB),statistics_log=(wait=0),&lt;/p&gt;

&lt;p&gt;2020-11-28T14:21:40.124+0200 I CONTROL&#160; &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; MongoDB starting : pid=53363 port=27017 dbpath=/Users/alex/mongodb/data 64-bit host=lm50G3QD&lt;/p&gt;

&lt;p&gt;2020-11-28T14:21:40.124+0200 I CONTROL&#160; &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; ** WARNING: You are running this process as the root user, which is not recommended.&lt;/p&gt;

&lt;p&gt;2020-11-28T14:21:40.124+0200 I CONTROL&#160; &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; &lt;/p&gt;

&lt;p&gt;2020-11-28T14:21:40.124+0200 I CONTROL&#160; &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; db version v3.0.1&lt;/p&gt;

&lt;p&gt;2020-11-28T14:21:40.124+0200 I CONTROL&#160; &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; git version: 534b5a3f9d10f00cd27737fbcd951032248b5952&lt;/p&gt;

&lt;p&gt;2020-11-28T14:21:40.124+0200 I CONTROL&#160; &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; build info: Darwin bs-osx108-7 12.5.0 Darwin Kernel Version 12.5.0: Sun Sep 29 13:33:47 PDT 2013; root:xnu-2050.48.12~1/RELEASE_X86_64 x86_64 BOOST_LIB_VERSION=1_49&lt;/p&gt;

&lt;p&gt;2020-11-28T14:21:40.124+0200 I CONTROL&#160; &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; allocator: system&lt;/p&gt;

&lt;p&gt;2020-11-28T14:21:40.124+0200 I CONTROL&#160; &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; options: { setParameter: &lt;/p&gt;
{ failIndexKeyTooLong: &quot;false&quot; }
&lt;p&gt;, storage: { dbPath: &quot;/Users/alex/mongodb/data&quot;, directoryPerDB: true, engine: &quot;wiredTiger&quot; } }&lt;/p&gt;

&lt;p&gt;2020-11-28T14:21:40.138+0200 I NETWORK&#160; &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; waiting for connections on port 27017&lt;/p&gt;

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

&lt;p&gt;_____________________&lt;/p&gt;

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

&lt;p&gt;How can I get the logs from repair?&lt;/p&gt;

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

&lt;p&gt;Is there no way of restoring the database form the folder containing the .wt files ?&lt;/p&gt;

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

&lt;p&gt;Thanks again for the help and sorry for late reply&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="3496303" author="JIRAUSER1257066" created="Wed, 18 Nov 2020 19:10:26 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=alex_tsm%40hotmail.com&quot; class=&quot;user-hover&quot; rel=&quot;alex_tsm@hotmail.com&quot;&gt;alex_tsm@hotmail.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Thanks for informing us of the steps you took. Could you attach the following:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;The logs of the repair operation.&lt;/li&gt;
	&lt;li&gt;The logs of any attempt to start mongod after the repair operation completed.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Best,&lt;/p&gt;

&lt;p&gt;Edwin&lt;/p&gt;</comment>
                            <comment id="3495314" author="JIRAUSER1257582" created="Wed, 18 Nov 2020 12:56:31 +0000"  >&lt;p&gt;Hello and thanks for your response.&lt;/p&gt;

&lt;p&gt;I ran mongod with --repair flag successfully and then fired mongod normally successfully as well. Problem now is that when I launch&#160; &apos;mongo&apos; in another terminal and run the &apos;show dbs&apos; not all show up and they all show 0 mb in size. When I switch to the database that I am interested in (which does appear but size 0 as well) and run the &apos;show collections&apos; command they are all missing. When I check the data directory the file with the folder with the database name is there and all .wt files are there and taking a total space of 7gb. Is there any diagnosis command I can run to repair or create a new database using the existing broken database . I do not have a dump... Any advice?&lt;/p&gt;</comment>
                            <comment id="3490397" author="JIRAUSER1257066" created="Fri, 13 Nov 2020 23:17:13 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=alex_tsm%40hotmail.com&quot; class=&quot;user-hover&quot; rel=&quot;alex_tsm@hotmail.com&quot;&gt;alex_tsm@hotmail.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Can you validate your ulimit settings using &lt;tt&gt;ulimit -a&lt;/tt&gt; and checking them against the &lt;a href=&quot;https://docs.mongodb.com/v3.0/administration/production-checklist-operations/#operating-system-configuration&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;recommended ulimit settings for 3.0&lt;/a&gt;?&lt;/p&gt;

&lt;p&gt;Best,&lt;/p&gt;

&lt;p&gt;Edwin&lt;/p&gt;</comment>
                            <comment id="3484568" author="JIRAUSER1257582" created="Tue, 10 Nov 2020 23:20:20 +0000"  >&lt;p&gt;Using&#160;MongoDB shell version: 3.0.1&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>11.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 13 Nov 2020 23:17:13 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 years, 7 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>edwin.zhou@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            3 years, 7 weeks, 6 days 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>alex_tsm@hotmail.com</customfieldvalue>
            <customfieldvalue>edwin.zhou@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hygstj:</customfieldvalue>

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

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

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