<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:45:31 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-37280] Foreground index rebuild crashes database with Out of memory</title>
                <link>https://jira.mongodb.org/browse/SERVER-37280</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Hi All,&lt;/p&gt;

&lt;p&gt;We are running MongoDB community 3.4.16 and trying to build an index foreground on a collection of size 2.8 Billion documents. We are facing issues with this&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;We are unable to run multiple foreground index builds on the same collection. The documentation states that we can run simultaneous foreground index builds on a collection. But we see that only one of the index build runs, which it blocks out the other. Can you please advise on whether it is possible to run simultaneous foreground index builds?&#160;&lt;/li&gt;
	&lt;li&gt;&#160;We see that from the documentation, it says foreground index builds freeze the database on which the index is being built. But we see that commands like &quot;show dbs&quot; also hangs&lt;/li&gt;
	&lt;li&gt;We are using parameter maxIndexBuildMemoryUsageMegabytes to increase the speed of the foreground index build. We have configured WiredTiger cache size using cacheSizeGB to 425 on a 512GB machine. After setting the parameter maxIndexBuildMemoryUsageMegabytes&#160; to 307200 (300GB) and running only one foreground index build ( as pointed above we see that only one foreground index build runs) we see that when the index rebuild has reached &quot;Index Build Index Build 99%&quot; (msg from db.currentOp for the opid of the index build), the database crashes with out of memory error. Can you please advise on the correct usage of this parameter to meet the requirement of the index build?&lt;/li&gt;
&lt;/ol&gt;


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

&lt;p&gt;Mon Sep 24 01:09:46.456 F -&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;span class=&quot;error&quot;&gt;&amp;#91;conn121&amp;#93;&lt;/span&gt; out of memory.&lt;/p&gt;

&lt;p&gt;&#160;0x564d0c7b3061 0x564d0c7b2694 0x564d0c975e9b 0x564d0d2b39e2 0x564d0bea3955 0x564d0bea39f2 0x564d0beaac2a 0x564d0beab2bd 0x564d0be9a5ca 0x564d0bc4b532 0x564d0bc4bae5 0x564d0bc98830 0x564d0bc9d7e5 0x564d0bc9ead1 0x564d0c2bce10 0x564d0bebf2a8 0x564d0babe32d 0x564d0babec5d 0x564d0c718741 0x7f28949f5de5 0x7f289471fbad&lt;br/&gt;
----- BEGIN BACKTRACE -----&lt;/p&gt;
{&quot;backtrace&quot;:[\{&quot;b&quot;:&quot;564D0B231000&quot;,&quot;o&quot;:&quot;1582061&quot;,&quot;s&quot;:&quot;_ZN5mongo15printStackTraceERSo&quot;}
&lt;p&gt;,{&quot;b&quot;:&quot;564D0B231000&quot;,&quot;o&quot;:&quot;1581694&quot;,&quot;s&quot;:&quot;&lt;em&gt;ZN5mongo29reportOutOfMemoryErrorAndExitEv&quot;},{&quot;b&quot;:&quot;564D0B231000&quot;,&quot;o&quot;:&quot;1744E9B&quot;},{&quot;b&quot;:&quot;564D0B231000&quot;,&quot;o&quot;:&quot;20829E2&quot;,&quot;s&quot;:&quot;tc_newarray_nothrow&quot;},{&quot;b&quot;:&quot;564D0B231000&quot;,&quot;o&quot;:&quot;C72955&quot;,&quot;s&quot;:&quot;_ZSt20get_temporary_bufferISt4pairIN5mongo7BSONObjENS1_8RecordIdEEES0_IPT_lEl&quot;},{&quot;b&quot;:&quot;564D0B231000&quot;,&quot;o&quot;:&quot;C729F2&quot;,&quot;s&quot;:&quot;_ZNSt17_Temporary_bufferISt15_Deque_iteratorISt4pairIN5mongo7BSONObjENS2_8RecordIdEERS5_PS5_ES5_EC1ES8_S8&lt;/em&gt;&quot;},{&quot;b&quot;:&quot;564D0B231000&quot;,&quot;o&quot;:&quot;C79C2A&quot;,&quot;s&quot;:&quot;&lt;em&gt;ZN5mongo6sorter13NoLimitSorterINS_7BSONObjENS_8RecordIdENS_27BtreeExternalSortComparisonEE4sortEv&quot;},{&quot;b&quot;:&quot;564D0B231000&quot;,&quot;o&quot;:&quot;C7A2BD&quot;,&quot;s&quot;:&quot;_ZN5mongo6sorter13NoLimitSorterINS_7BSONObjENS_8RecordIdENS_27BtreeExternalSortComparisonEE4doneEv&quot;},{&quot;b&quot;:&quot;564D0B231000&quot;,&quot;o&quot;:&quot;C695CA&quot;,&quot;s&quot;:&quot;_ZN5mongo17IndexAccessMethod10commitBulkEPNS_16OperationContextESt10unique_ptrINS0_11BulkBuilderESt14default_deleteIS4_EEbbPSt3setINS_8RecordIdESt4lessIS9_ESaIS9_EE&quot;},{&quot;b&quot;:&quot;564D0B231000&quot;,&quot;o&quot;:&quot;A1A532&quot;,&quot;s&quot;:&quot;_ZN5mongo15MultiIndexBlock13doneInsertingEPSt3setINS_8RecordIdESt4lessIS2_ESaIS2_EE&quot;},{&quot;b&quot;:&quot;564D0B231000&quot;,&quot;o&quot;:&quot;A1AAE5&quot;,&quot;s&quot;:&quot;_ZN5mongo15MultiIndexBlock30insertAllDocumentsInCollectionEPSt3setINS_8RecordIdESt4lessIS2_ESaIS2_EE&quot;},{&quot;b&quot;:&quot;564D0B231000&quot;,&quot;o&quot;:&quot;A67830&quot;,&quot;s&quot;:&quot;_ZN5mongo14CmdCreateIndex3runEPNS_16OperationContextERKNSt7&lt;/em&gt;_cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS_7BSONObjEiRS8_RNS_14BSONObjBuilderE&quot;},{&quot;b&quot;:&quot;564D0B231000&quot;,&quot;o&quot;:&quot;A6C7E5&quot;,&quot;s&quot;:&quot;_ZN5mongo7Command3runEPNS_16OperationContextERKNS_3rpc16RequestInterfaceEPNS3_21ReplyBuilderInterfaceE&quot;},{&quot;b&quot;:&quot;564D0B231000&quot;,&quot;o&quot;:&quot;A6DAD1&quot;,&quot;s&quot;:&quot;_ZN5mongo7Command11execCommandEPNS_16OperationContextEPS0_RKNS_3rpc16RequestInterfaceEPNS4_21ReplyBuilderInterfaceE&quot;},{&quot;b&quot;:&quot;564D0B231000&quot;,&quot;o&quot;:&quot;108BE10&quot;,&quot;s&quot;:&quot;_ZN5mongo11runCommandsEPNS_16OperationContextERKNS_3rpc16RequestInterfaceEPNS2_21ReplyBuilderInterfaceE&quot;},{&quot;b&quot;:&quot;564D0B231000&quot;,&quot;o&quot;:&quot;C8E2A8&quot;,&quot;s&quot;:&quot;_ZN5mongo16assembleResponseEPNS_16OperationContextERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortE&quot;},{&quot;b&quot;:&quot;564D0B231000&quot;,&quot;o&quot;:&quot;88D32D&quot;,&quot;s&quot;:&quot;_ZN5mongo23ServiceEntryPointMongod12_sessionLoopERKSt10shared_ptrINS_9transport7SessionEE&quot;},{&quot;b&quot;:&quot;564D0B231000&quot;,&quot;o&quot;:&quot;88DC5D&quot;},{&quot;b&quot;:&quot;564D0B231000&quot;,&quot;o&quot;:&quot;14E7741&quot;},{&quot;b&quot;:&quot;7F28949EE000&quot;,&quot;o&quot;:&quot;7DE5&quot;},{&quot;b&quot;:&quot;7F2894621000&quot;,&quot;o&quot;:&quot;FEBAD&quot;,&quot;s&quot;:&quot;clone&quot;}],&quot;processInfo&quot;:{ &quot;mongodbVersion&quot; : &quot;3.4.16&quot;, &quot;gitVersion&quot; : &quot;0d6a9242c11b99ddadcfb6e86a850b6ba487530a&quot;, &quot;compiledModules&quot; : [], &quot;uname&quot; : &lt;/p&gt;
{ &quot;sysname&quot; : &quot;Linux&quot;, &quot;release&quot; : &quot;4.14.67-66.56.amzn1.x86_64&quot;, &quot;version&quot; : &quot;#1 SMP Tue Sep 4 22:03:21 UTC 2018&quot;, &quot;machine&quot; : &quot;x86_64&quot; }
&lt;p&gt;, &quot;somap&quot; : [ { &quot;b&quot; : &quot;564D0B231000&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;695F63264AD30445D5D0132213800E674C5AD3A6&quot; }, { &quot;b&quot; : &quot;7FFF43755000&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;5AD47F0C2A5C2B6F33C2712F9E30AE3B725C7C6F&quot; }, { &quot;b&quot; : &quot;7F289598C000&quot;, &quot;path&quot; : &quot;/lib64/libssl.so.10&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;9C4EB34A346260F2A77746F4E5ED837619137DB7&quot; }, { &quot;b&quot; : &quot;7F289552E000&quot;, &quot;path&quot; : &quot;/lib64/libcrypto.so.10&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;0B7F7487280FE68AF9302A282FAE37776A99BC80&quot; }, { &quot;b&quot; : &quot;7F2895326000&quot;, &quot;path&quot; : &quot;/lib64/librt.so.1&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;F2701E2A24459D5B55DF5549D585F091E7BCF07A&quot; }, { &quot;b&quot; : &quot;7F2895122000&quot;, &quot;path&quot; : &quot;/lib64/libdl.so.2&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;0E5CD5BAA5EE8BF3648A5031B088F9A78C89364F&quot; }, { &quot;b&quot; : &quot;7F2894E20000&quot;, &quot;path&quot; : &quot;/lib64/libm.so.6&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;07FB92AFEF1756F093371CE60C3AE85DD3A06325&quot; }, { &quot;b&quot; : &quot;7F2894C0A000&quot;, &quot;path&quot; : &quot;/lib64/libgcc_s.so.1&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;A03C9A80E995ED5F43077AB754A258FA0E34C3CD&quot; }, { &quot;b&quot; : &quot;7F28949EE000&quot;, &quot;path&quot; : &quot;/lib64/libpthread.so.0&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;D973C39D1900DC61D8519C653C3BC405692DE563&quot; }, { &quot;b&quot; : &quot;7F2894621000&quot;, &quot;path&quot; : &quot;/lib64/libc.so.6&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;AF310F56618FC1EF9158973484F60942F11CC0FB&quot; }, { &quot;b&quot; : &quot;7F2895BFD000&quot;, &quot;path&quot; : &quot;/lib64/ld-linux-x86-64.so.2&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;8402047FD4A85B3CD1142346EA06BCD6E15A82A3&quot; }, { &quot;b&quot; : &quot;7F28943D4000&quot;, &quot;path&quot; : &quot;/usr/lib64/libgssapi_krb5.so.2&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;B4C91D3D76D4819DDD1F7D2360F600AC13280628&quot; }, { &quot;b&quot; : &quot;7F28940EC000&quot;, &quot;path&quot; : &quot;/usr/lib64/libkrb5.so.3&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;295B8EDE0A3D565218B9086DECC047FB28F235E5&quot; }, { &quot;b&quot; : &quot;7F2893EE9000&quot;, &quot;path&quot; : &quot;/usr/lib64/libcom_err.so.2&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;5C01209C5AE1B1714F19B07EB58F2A1274B69DC8&quot; }, { &quot;b&quot; : &quot;7F2893CB6000&quot;, &quot;path&quot; : &quot;/usr/lib64/libk5crypto.so.3&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;68572D6C73CAEE5B0F36E50873B092275DE5697C&quot; }, { &quot;b&quot; : &quot;7F2893AA0000&quot;, &quot;path&quot; : &quot;/lib64/libz.so.1&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;89C6AF118B6B4FB6A73AE1813E2C8BDD722956D1&quot; }, { &quot;b&quot; : &quot;7F2893892000&quot;, &quot;path&quot; : &quot;/usr/lib64/libkrb5support.so.0&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;2B9C3C8ED0AC9CE675617BDB4174D5EACF1FB0FF&quot; }, { &quot;b&quot; : &quot;7F289368F000&quot;, &quot;path&quot; : &quot;/lib64/libkeyutils.so.1&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;37A58210FA50C91E09387765408A92909468D25B&quot; }, { &quot;b&quot; : &quot;7F2893476000&quot;, &quot;path&quot; : &quot;/lib64/libresolv.so.2&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;9E5E0BF5F22DE7555BC4B9853240817147489258&quot; }, { &quot;b&quot; : &quot;7F2893255000&quot;, &quot;path&quot; : &quot;/usr/lib64/libselinux.so.1&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;F5054DC94443326819FBF3065CFDF5E4726F57EE&quot; } ] }}&lt;br/&gt;
&#160;mongod(_ZN5mongo15printStackTraceERSo+0x41) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x564d0c7b3061&amp;#93;&lt;/span&gt;&lt;br/&gt;
&#160;mongod(_ZN5mongo29reportOutOfMemoryErrorAndExitEv+0x84) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x564d0c7b2694&amp;#93;&lt;/span&gt;&lt;br/&gt;
&#160;mongod(+0x1744E9B) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x564d0c975e9b&amp;#93;&lt;/span&gt;&lt;br/&gt;
&#160;mongod(tc_newarray_nothrow+0x222) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x564d0d2b39e2&amp;#93;&lt;/span&gt;&lt;br/&gt;
&#160;mongod(_ZSt20get_temporary_bufferISt4pairIN5mongo7BSONObjENS1_8RecordIdEEES0_IPT_lEl+0x45) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x564d0bea3955&amp;#93;&lt;/span&gt;&lt;br/&gt;
&#160;mongod(&lt;em&gt;ZNSt17_Temporary_bufferISt15_Deque_iteratorISt4pairIN5mongo7BSONObjENS2_8RecordIdEERS5_PS5_ES5_EC1ES8_S8&lt;/em&gt;+0x72) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x564d0bea39f2&amp;#93;&lt;/span&gt;&lt;br/&gt;
&#160;mongod(_ZN5mongo6sorter13NoLimitSorterINS_7BSONObjENS_8RecordIdENS_27BtreeExternalSortComparisonEE4sortEv+0xBA) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x564d0beaac2a&amp;#93;&lt;/span&gt;&lt;br/&gt;
&#160;mongod(_ZN5mongo6sorter13NoLimitSorterINS_7BSONObjENS_8RecordIdENS_27BtreeExternalSortComparisonEE4doneEv+0x4D) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x564d0beab2bd&amp;#93;&lt;/span&gt;&lt;br/&gt;
&#160;mongod(_ZN5mongo17IndexAccessMethod10commitBulkEPNS_16OperationContextESt10unique_ptrINS0_11BulkBuilderESt14default_deleteIS4_EEbbPSt3setINS_8RecordIdESt4lessIS9_ESaIS9_EE+0x7A) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x564d0be9a5ca&amp;#93;&lt;/span&gt;&lt;br/&gt;
&#160;mongod(_ZN5mongo15MultiIndexBlock13doneInsertingEPSt3setINS_8RecordIdESt4lessIS2_ESaIS2_EE+0x1C2) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x564d0bc4b532&amp;#93;&lt;/span&gt;&lt;br/&gt;
&#160;mongod(_ZN5mongo15MultiIndexBlock30insertAllDocumentsInCollectionEPSt3setINS_8RecordIdESt4lessIS2_ESaIS2_EE+0x465) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x564d0bc4bae5&amp;#93;&lt;/span&gt;&lt;br/&gt;
&#160;mongod(&lt;em&gt;ZN5mongo14CmdCreateIndex3runEPNS_16OperationContextERKNSt7&lt;/em&gt;_cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS_7BSONObjEiRS8_RNS_14BSONObjBuilderE+0x1100) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x564d0bc98830&amp;#93;&lt;/span&gt;&lt;br/&gt;
&#160;mongod(_ZN5mongo7Command3runEPNS_16OperationContextERKNS_3rpc16RequestInterfaceEPNS3_21ReplyBuilderInterfaceE+0x935) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x564d0bc9d7e5&amp;#93;&lt;/span&gt;&lt;br/&gt;
&#160;mongod(_ZN5mongo7Command11execCommandEPNS_16OperationContextEPS0_RKNS_3rpc16RequestInterfaceEPNS4_21ReplyBuilderInterfaceE+0xF81) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x564d0bc9ead1&amp;#93;&lt;/span&gt;&lt;br/&gt;
&#160;mongod(_ZN5mongo11runCommandsEPNS_16OperationContextERKNS_3rpc16RequestInterfaceEPNS2_21ReplyBuilderInterfaceE+0x240) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x564d0c2bce10&amp;#93;&lt;/span&gt;&lt;br/&gt;
&#160;mongod(_ZN5mongo16assembleResponseEPNS_16OperationContextERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortE+0xD38) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x564d0bebf2a8&amp;#93;&lt;/span&gt;&lt;br/&gt;
&#160;mongod(_ZN5mongo23ServiceEntryPointMongod12_sessionLoopERKSt10shared_ptrINS_9transport7SessionEE+0x1FD) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x564d0babe32d&amp;#93;&lt;/span&gt;&lt;br/&gt;
&#160;mongod(+0x88DC5D) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x564d0babec5d&amp;#93;&lt;/span&gt;&lt;br/&gt;
&#160;mongod(+0x14E7741) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x564d0c718741&amp;#93;&lt;/span&gt;&lt;br/&gt;
&#160;libpthread.so.0(+0x7DE5) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7f28949f5de5&amp;#93;&lt;/span&gt;&lt;br/&gt;
&#160;libc.so.6(clone+0x6D) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7f289471fbad&amp;#93;&lt;/span&gt;&lt;br/&gt;
-----&#160; END BACKTRACE&#160; -----&lt;/p&gt;

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

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

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

&lt;p&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="608869">SERVER-37280</key>
            <summary>Foreground index rebuild crashes database with Out of memory</summary>
                <type id="6" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14720&amp;avatarType=issuetype">Question</type>
                                            <priority id="2" iconUrl="https://jira.mongodb.org/images/icons/priorities/critical.svg">Critical - P2</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="backlog-server-triage">Backlog - Triage Team</assignee>
                                    <reporter username="tanveermadan@gmail.com">Tanveer Madan Marate</reporter>
                        <labels>
                    </labels>
                <created>Mon, 24 Sep 2018 10:17:07 +0000</created>
                <updated>Tue, 6 Dec 2022 03:17:36 +0000</updated>
                            <resolved>Thu, 25 Oct 2018 19:39:06 +0000</resolved>
                                    <version>3.4.16</version>
                                                    <component>Index Maintenance</component>
                                        <votes>0</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="2012019" author="nick.brewer" created="Mon, 24 Sep 2018 15:32:31 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=tanveermadan%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;tanveermadan@gmail.com&quot;&gt;tanveermadan@gmail.com&lt;/a&gt; Your settings for both the WiredTiger &lt;tt&gt;cacheSizeGB&lt;/tt&gt; and the &lt;tt&gt;maxIndexBuildMemoryUsageMegabytes&lt;/tt&gt; server parameter appear to be much too high - you&apos;re potentially using most of your memory for WiredTiger cache, however index builds are being instructed to use up to 300GB of memory, when that is most likely not all available.&lt;/p&gt;

&lt;p&gt;To get a better sense of how resources are being utilized on this machine, we&apos;ll need to see:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;An archive (tar or zip) of the &lt;tt&gt;diagnostic.data&lt;/tt&gt; directory for the mongod&lt;/li&gt;
	&lt;li&gt;The &lt;tt&gt;mongod.log&lt;/tt&gt; file from the time you began the index build, up until the out of memory error&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Note that per the &lt;a href=&quot;https://docs.mongodb.com/manual/core/index-creation/index.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;documentation&lt;/a&gt;, commands such as &lt;tt&gt;listDatabases&lt;/tt&gt; that require a read or write lock on all databases must wait for a foreground index build to complete. &lt;/p&gt;

&lt;p&gt;Thanks, &lt;br/&gt;
-Nick&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>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25137"><![CDATA[Server Triage]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 24 Sep 2018 15:32:31 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 20 weeks, 2 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>alexander.golin@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            5 years, 20 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-triage</customfieldvalue>
            <customfieldvalue>nick.brewer</customfieldvalue>
            <customfieldvalue>tanveermadan@gmail.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hu8okn:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

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

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