<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:40:38 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-16311] WiredTiger: lsm-worker: LSM metadata write: Cannot allocate memory</title>
                <link>https://jira.mongodb.org/browse/SERVER-16311</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;I&apos;m starting mongodb in WiredTiger type=lsm mode (both indexes and collections). After inserting between 200M to 500M rows, mongod crashes with &quot; lsm-worker: LSM metadata write: Cannot allocate memory&quot;.&lt;/p&gt;

&lt;p&gt;The test was run in a very IO constrained HW setup.&lt;/p&gt;</description>
                <environment></environment>
        <key id="171145">SERVER-16311</key>
            <summary>WiredTiger: lsm-worker: LSM metadata write: Cannot allocate memory</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="henrik.ingo@mongodb.com">Henrik Ingo</assignee>
                                    <reporter username="henrik.ingo@mongodb.com">Henrik Ingo</reporter>
                        <labels>
                            <label>FT</label>
                            <label>dnsf</label>
                            <label>wttt</label>
                    </labels>
                <created>Tue, 25 Nov 2014 12:04:48 +0000</created>
                <updated>Fri, 19 Jun 2015 21:57:13 +0000</updated>
                            <resolved>Tue, 16 Jun 2015 06:58:44 +0000</resolved>
                                    <version>2.8.0-rc0</version>
                                    <fixVersion>3.1.4</fixVersion>
                                    <component>Storage</component>
                    <component>WiredTiger</component>
                                        <votes>0</votes>
                                    <watches>10</watches>
                                                                                                                <comments>
                            <comment id="941446" author="henrik.ingo@10gen.com" created="Tue, 16 Jun 2015 06:58:44 +0000"  >&lt;p&gt;Sorry for the spam but the pedantic side of me needed to change resolution to fixed, otherwise I can&apos;t have peace with my soul. With the older version I can reproduce this just fine, so really it has been fixed at some point.&lt;/p&gt;</comment>
                            <comment id="941277" author="michael.cahill" created="Tue, 16 Jun 2015 00:27:27 +0000"  >&lt;p&gt;Thanks for re-testing, &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=henrik.ingo%4010gen.com&quot; class=&quot;user-hover&quot; rel=&quot;henrik.ingo@10gen.com&quot;&gt;henrik.ingo@10gen.com&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="940116" author="henrik.ingo@10gen.com" created="Mon, 15 Jun 2015 09:02:32 +0000"  >&lt;p&gt;First test run completed fine with 3.1 nightly build from 2015-06-10. For added reassurance, I will run this test another 3-4 more times before closing the ticket, but for now I think you can assume the bug has been fixed.&lt;/p&gt;

&lt;p&gt;For the record, the equivalent command line invocation for modern mongod was:&lt;br/&gt;
bin/mongod --storageEngine wiredTiger --wiredTigerCollectionConfigString &quot;type=lsm&quot; --wiredTigerIndexConfigString &quot;type=lsm&quot; --logpath mongod-wt-lsm-latest-20150610-3.log&lt;/p&gt;</comment>
                            <comment id="936417" author="michael.cahill" created="Wed, 10 Jun 2015 15:12:20 +0000"  >&lt;p&gt;It shouldn&apos;t make much difference, but I&apos;d suggest checking the latest nightly build first.&lt;/p&gt;</comment>
                            <comment id="936123" author="henrik.ingo@10gen.com" created="Wed, 10 Jun 2015 09:04:46 +0000"  >&lt;p&gt;Status update: took me 2 attempts, but while I was partying in New York, the test has reproduced the crash on 2.8.0-rc0. Have been tied up with a customer case this week, but will get back to this tomorrow. &lt;/p&gt;

&lt;p&gt;Would you like me to test 3.1.3 or Latest Nightly - does it matter?&lt;/p&gt;</comment>
                            <comment id="792646" author="dan@10gen.com" created="Mon, 22 Dec 2014 22:30:19 +0000"  >&lt;p&gt;Not sure if this was communicated, we&apos;ve decided not to support LSM with the 2.8 release.  This is still important to track down, but not for 2.8&lt;/p&gt;</comment>
                            <comment id="792178" author="henrik.ingo@10gen.com" created="Mon, 22 Dec 2014 17:26:13 +0000"  >&lt;p&gt;&lt;del&gt;For the record, still happens in 2.8.0-rc1.&lt;/del&gt;&lt;br/&gt;
Sorry, spoke too soon. I seem to have reached some other error on this run, possibly just ulimit or something external (session.create: too many open files).&lt;/p&gt;</comment>
                            <comment id="773314" author="henrik.ingo@10gen.com" created="Wed, 26 Nov 2014 14:50:52 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=dan%4010gen.com&quot; class=&quot;user-hover&quot; rel=&quot;dan@10gen.com&quot;&gt;dan@10gen.com&lt;/a&gt;: I will of course use RC1 the next time I continue with this test. Please be advised that it may be Dec 8 before I have a chance to do that. Note that the LSM test takes days to run, as it is the slowest of the three. (Of course, I don&apos;t need to stand by watching it while it runs, but...)&lt;/p&gt;</comment>
                            <comment id="773109" author="dan@10gen.com" created="Wed, 26 Nov 2014 05:12:37 +0000"  >&lt;p&gt;henrik, can you try to reproduce against 2.8.0-rc1?&lt;/p&gt;</comment>
                            <comment id="772737" author="henrik.ingo@10gen.com" created="Tue, 25 Nov 2014 20:56:30 +0000"  >&lt;p&gt;Or at least similar. I&apos;m also seeing a sudden slowdown in the benchmark before the crash so that looks similar. Don&apos;t know about the mongostat/vmstat as I&apos;ve been a sleep both times that this has happened. Will share benchmark report in an hour or two.&lt;/p&gt;</comment>
                            <comment id="772665" author="asya" created="Tue, 25 Nov 2014 19:41:40 +0000"  >&lt;p&gt;Dup of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-16123&quot; title=&quot;WT lsm panic&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-16123&quot;&gt;&lt;del&gt;SERVER-16123&lt;/del&gt;&lt;/a&gt;?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="57992" name="mongod-wt-lsm-2.log" size="3921658" author="henrik.ingo@mongodb.com" created="Tue, 25 Nov 2014 12:04:48 +0000"/>
                    </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_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 25 Nov 2014 19:41:40 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        8 years, 35 weeks, 1 day ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>eitan.klein</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            8 years, 35 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>asya.kamsky@mongodb.com</customfieldvalue>
            <customfieldvalue>dan@mongodb.com</customfieldvalue>
            <customfieldvalue>henrik.ingo@mongodb.com</customfieldvalue>
            <customfieldvalue>michael.cahill@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrlhyv:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>149827</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;Start server&lt;/p&gt;

&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;mongod --storageEngine wiredtiger --wiredTigerCollectionConfig &quot;type=lsm&quot; --wiredTigerIndexConfig &quot;type=lsm&quot; --logpath mongod-wt-lsm-2.log&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;Create an index&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;db.tstest.ensureIndex( { device_id : 1, ts : 1 } )&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;


&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;git clone https://github.com/henrikingo/mongo-timeseries-benchmark.git&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;cd mongo-timeseries-benchmark&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;python timeSeriesTest.py&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;After 2k to 5k iterations, mongod will assert with the shown error.&lt;/p&gt;

&lt;p&gt;If it matters, I was running this in AWS on a cc2.8xlarge instance with the mongodb database on a single local/ephemeral disk.&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|hsgftb:</customfieldvalue>

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