<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:15:23 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-70138] DHandle could not be released after close_idle_time</title>
                <link>https://jira.mongodb.org/browse/SERVER-70138</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;We have environment with many tables. The file open number becomes very high. Even after we stopped any operation, the file open number did not go lower. I set close_idle_time as 10 seconds, the handle should be released after 10 seconds and hence most of the file should be closed&lt;/p&gt;</description>
                <environment></environment>
        <key id="2149126">SERVER-70138</key>
            <summary>DHandle could not be released after close_idle_time</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="yuan.fang@mongodb.com">Yuan Fang</assignee>
                                    <reporter username="sunqingtaoca@gmail.com">qingtao sun</reporter>
                        <labels>
                    </labels>
                <created>Fri, 30 Sep 2022 16:47:52 +0000</created>
                <updated>Fri, 21 Oct 2022 20:34:45 +0000</updated>
                            <resolved>Fri, 21 Oct 2022 20:34:45 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="4919609" author="JIRAUSER1270794" created="Fri, 21 Oct 2022 19:49:59 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=sunqingtaoca%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;sunqingtaoca@gmail.com&quot;&gt;sunqingtaoca@gmail.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Thank you for providing the diagnostic data. Looking at the FTDC, I think the reason for seeing the high active dhandles connections is because the dhandles closed rate is less than the new connection open rate. If I understand correctly, setting &lt;tt&gt;close_idle_time&lt;/tt&gt; as 10 seconds means: file handles need to be idle for 10 seconds before attempting to close it. In other words: connections wouldn&apos;t be closed if they kept active. As for the root cause of it, I don&apos;t have a certain answer, unfortunately.  &lt;/p&gt;

&lt;p&gt;Please note that MongoDB 4.0 &lt;a href=&quot;https://www.mongodb.com/support-policy/legacy&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;reached end of life in April 2022&lt;/a&gt; and is no longer supported. Can you please upgrade to MongoDB v4.2+ and see if it solves the issue?&lt;/p&gt;

&lt;p&gt;For any further questions in regard to this issue, we&apos;d like to encourage you to start by asking our community for help by posting on the &lt;a href=&quot;https://www.mongodb.com/community/forums&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;MongoDB Developer Community Forums&lt;/a&gt;. If the discussion there leads you to suspect a bug in the MongoDB server, then we&apos;d want to investigate it as a possible bug here in the SERVER project.&lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Yuan&lt;/p&gt;</comment>
                            <comment id="4897682" author="JIRAUSER1264460" created="Wed, 12 Oct 2022 13:30:26 +0000"  >
&lt;p&gt;Hello, Yuan Fang&lt;/p&gt;

&lt;p&gt;Affected mongodb version: 4.0.28.&lt;/p&gt;

&lt;p&gt;log file already uploaded.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Qingtao SUN&lt;/p&gt;
</comment>
                            <comment id="4892842" author="JIRAUSER1264460" created="Tue, 11 Oct 2022 02:05:27 +0000"  >
&lt;p&gt;Hello, Yuan Fang&lt;/p&gt;

&lt;p&gt;I am using mongodb version 4.0.28.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Qingtao SUN&lt;/p&gt;
</comment>
                            <comment id="4890484" author="JIRAUSER1264460" created="Mon, 10 Oct 2022 13:45:30 +0000"  >
&lt;p&gt;Hello, Yuan Fang&lt;/p&gt;

&lt;p&gt;I uploaded the log and diagnostic data on linux successfully. Please help&lt;br/&gt;
to check.&lt;/p&gt;

&lt;p&gt;Thanks.&lt;br/&gt;
Qingtao SUN&lt;/p&gt;
</comment>
                            <comment id="4890452" author="JIRAUSER1264460" created="Mon, 10 Oct 2022 13:35:20 +0000"  >
&lt;p&gt;I have tried different ways already, here is the screenshot without quote.&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;image: image.png&amp;#93;&lt;/span&gt;&lt;/p&gt;
</comment>
                            <comment id="4880055" author="JIRAUSER1270794" created="Wed, 5 Oct 2022 16:03:04 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=sunqingtaoca%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;sunqingtaoca@gmail.com&quot;&gt;sunqingtaoca@gmail.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Thank you for providing more information. In regard to the uploading issue, I would suggest you double-check your command by comparing it with the curl snippet provided in the &lt;a href=&quot;https://amphora.corp.mongodb.com/public/upload/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJmb2xkZXJfaWQiOiIxNzUyODYzMzA5MTYiLCJleHAiOjE2NjcxNTQ0MDd9.WfVvViZPdVIFTwnsElAV5-wITV2_Ibz4rr4S3GZB46I&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;support uploader&lt;/a&gt; location. It seems no single quote is required around file=@&amp;lt;filename&amp;gt;, can you try with these removed and see if that works?&lt;/p&gt;

&lt;p&gt;And, could you let us know the MongoDB version?&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Yuan&lt;/p&gt;</comment>
                            <comment id="4879880" author="JIRAUSER1264460" created="Wed, 5 Oct 2022 15:30:29 +0000"  >
&lt;p&gt;Hello,&lt;br/&gt;
When I tried to upload the log and diagnostic data, I got the following&lt;br/&gt;
error. And I tried different ways to set file name with path, all failed.&lt;br/&gt;
Could you please elaborate how to upload files?&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;image: image.png&amp;#93;&lt;/span&gt;&lt;br/&gt;
Thanks&lt;br/&gt;
Qingtao&lt;/p&gt;
</comment>
                            <comment id="4879747" author="JIRAUSER1264460" created="Wed, 5 Oct 2022 15:00:22 +0000"  >
&lt;p&gt;Hello, Yuan Rang&lt;/p&gt;

&lt;p&gt;Thanks a lot for looking into this issue. Here is some testing result I got&lt;br/&gt;
1. I set close_idle_time as 10 seconds&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;image: image.png&amp;#93;&lt;/span&gt;&lt;br/&gt;
2. Restarted the MongoDB, file open number is 91.&lt;br/&gt;
3. Started to query MongoDB, file open number increased till 17166&lt;br/&gt;
4. Stopped all queries, the open file number reduced a little bit to 17130,&lt;br/&gt;
but stay that number without any change after that&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;image: image.png&amp;#93;&lt;/span&gt;&lt;br/&gt;
5. Checked the MongoDB log, it has been idled for 7 minutes&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;image: image.png&amp;#93;&lt;/span&gt;&lt;br/&gt;
And I will upload the log you requested.&lt;/p&gt;
</comment>
                            <comment id="4869609" author="JIRAUSER1270794" created="Fri, 30 Sep 2022 18:32:29 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=sunqingtaoca%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;sunqingtaoca@gmail.com&quot;&gt;sunqingtaoca@gmail.com&lt;/a&gt; ,&lt;/p&gt;

&lt;p&gt;Thank you for reporting this issue. We need additional information to diagnose the problem. Would you please provide:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;The affected MongoDB version.&lt;/li&gt;
	&lt;li&gt;Archive (tar or zip) the mongod.log files and 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 upload them to this &lt;a href=&quot;https://amphora.corp.mongodb.com/public/upload/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJmb2xkZXJfaWQiOiIxNzUyODYzMzA5MTYiLCJleHAiOjE2NjcxNTQ0MDd9.WfVvViZPdVIFTwnsElAV5-wITV2_Ibz4rr4S3GZB46I&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;support uploader&lt;/a&gt; location. Files uploaded to this portal are visible only to MongoDB employees and are routinely deleted after some time.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Regards,&lt;/p&gt;

&lt;p&gt;Yuan&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="407261" name="image.png" size="32375" author="sunqingtaoca@gmail.com" created="Mon, 10 Oct 2022 13:35:20 +0000"/>
                            <attachment id="406363" name="image.png" size="50185" author="sunqingtaoca@gmail.com" created="Wed, 5 Oct 2022 15:30:29 +0000"/>
                            <attachment id="406347" name="image.png" size="114129" author="sunqingtaoca@gmail.com" created="Wed, 5 Oct 2022 15:00:22 +0000"/>
                            <attachment id="406348" name="image.png" size="30477" author="sunqingtaoca@gmail.com" created="Wed, 5 Oct 2022 15:00:22 +0000"/>
                            <attachment id="406349" name="image.png" size="7415" author="sunqingtaoca@gmail.com" created="Wed, 5 Oct 2022 15:00:22 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 30 Sep 2022 18:32:29 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 15 weeks, 5 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>yuan.fang@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 15 weeks, 5 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>sunqingtaoca@gmail.com</customfieldvalue>
            <customfieldvalue>yuan.fang@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i1cd8n:</customfieldvalue>

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

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

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