<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:40:07 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-35526] WiredTiger get stuck, when cachesize is small</title>
                <link>https://jira.mongodb.org/browse/SERVER-35526</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Hi:&lt;/p&gt;

&lt;p&gt;&#160; &#160;I had found my MongoDB secondary node get a stuck, the oplog applyOps can&apos;t work. The pstack showed that WiredTiger is busy for eviction.&lt;/p&gt;

&lt;p&gt;&#160; &#160;I suspected the bug in the WiredTiger Engine. I wrote a corner case for WiredTiger. I found the WiredTiger will get stuck when the cache is small and get a heavy workload(multi-thread write + multi-thread scan).&#160;&lt;/p&gt;

&lt;p&gt;&#160; &#160;I can upload my test case and WT stat file for you.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment>Linux 6u3</environment>
        <key id="557262">SERVER-35526</key>
            <summary>WiredTiger get stuck, when cachesize is small</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="eric.sedor@mongodb.com">Eric Sedor</assignee>
                                    <reporter username="ych.tiger@gmail.com">YANG Chenghu</reporter>
                        <labels>
                            <label>hang</label>
                            <label>performance</label>
                            <label>stuck</label>
                    </labels>
                <created>Mon, 11 Jun 2018 10:33:10 +0000</created>
                <updated>Wed, 18 Dec 2019 14:05:09 +0000</updated>
                            <resolved>Wed, 18 Dec 2019 14:05:09 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>12</watches>
                                                                                                                <comments>
                            <comment id="2643333" author="eric.sedor" created="Wed, 18 Dec 2019 14:04:28 +0000"  >&lt;p&gt;Understood &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ych.tiger%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;ych.tiger@gmail.com&quot;&gt;ych.tiger@gmail.com&lt;/a&gt;; thanks for the update! We will close this ticket but if the issue reoccurs please let us know.&lt;/p&gt;</comment>
                            <comment id="2595225" author="ych.tiger@gmail.com" created="Tue, 10 Dec 2019 03:35:38 +0000"  >&lt;p&gt;Hi Eric:&lt;/p&gt;

&lt;p&gt;Thanks &#160;for your replying, We had &#160;solved the &#160;issue and lost the diagnostic.&lt;/p&gt;</comment>
                            <comment id="2590868" author="eric.sedor" created="Fri, 6 Dec 2019 22:44:43 +0000"  >&lt;p&gt;Hello &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ych.tiger%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;ych.tiger@gmail.com&quot;&gt;ych.tiger@gmail.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;We still need additional information to diagnose the problem. If this is still an issue for you, would you please archive (tar or zip) the &lt;tt&gt;$dbpath/diagnostic.data&lt;/tt&gt; directory (the contents are described &lt;a href=&quot;https://docs.mongodb.com/manual/administration/analyzing-mongodb-performance/#full-time-diagnostic-data-capture&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt;) and attach it to this ticket?&lt;/p&gt;

&lt;p&gt;Note that the SERVER project is for bugs and feature requests for supported versions of the core MongoDB server, so our goal is to diagnose issues with MongoDB rather than WiredTiger directly.&lt;/p&gt;

&lt;p&gt;Thanks!&lt;br/&gt;
Eric&lt;/p&gt;</comment>
                            <comment id="2519096" author="eric.sedor" created="Tue, 5 Nov 2019 22:41:27 +0000"  >&lt;p&gt;Depending on the workload, it&apos;s entirely possible that 1mb is too small a cache size.&lt;/p&gt;

&lt;p&gt;Would you please archive (tar or zip) the &lt;tt&gt;$dbpath/diagnostic.data&lt;/tt&gt; directory (the contents are described &lt;a href=&quot;https://docs.mongodb.com/manual/administration/analyzing-mongodb-performance/#full-time-diagnostic-data-capture&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt;) and attach it to this ticket?&lt;/p&gt;</comment>
                            <comment id="1917904" author="ych.tiger@gmail.com" created="Tue, 12 Jun 2018 01:30:17 +0000"  >&lt;p&gt;Update another wt.hmtl about my online MongoDB cluster.&lt;/p&gt;

&lt;p&gt;We can found that all the writings are blocked in the wt.html, the wiredtiger can&apos;t work well.&lt;/p&gt;

&lt;p&gt;The eviction scanned out some pages for evicting, but eviction can&apos;t free the pages due to some unknow reasons. The eviction run again and again, but nothing happened until I restart the mongod.&lt;/p&gt;

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

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

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

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://jira.mongodb.org/secure/attachment/189166/189166_Screen+Shot+2018-06-11+at+9.23.22+PM.png&quot; height=&quot;242&quot; width=&quot;437&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="189166" name="Screen Shot 2018-06-11 at 9.23.22 PM.png" size="475982" author="ych.tiger@gmail.com" created="Tue, 12 Jun 2018 01:29:46 +0000"/>
                            <attachment id="189065" name="test.cpp" size="4672" author="ych.tiger@gmail.com" created="Mon, 11 Jun 2018 10:33:26 +0000"/>
                            <attachment id="189066" name="wt.html" size="1059027" author="ych.tiger@gmail.com" created="Mon, 11 Jun 2018 10:34:56 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 11 Jun 2018 10:57:34 +0000</customfieldvalue>

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


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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            4 years, 8 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>eric.sedor@mongodb.com</customfieldvalue>
            <customfieldvalue>ych.tiger@gmail.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hu095r:</customfieldvalue>

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

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

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