<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:23:34 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-30363] MongoDB journal data size increase everyday </title>
                <link>https://jira.mongodb.org/browse/SERVER-30363</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;I am using mongodb 3.4 with storage engine wired tiger.when i check every day of storage consumed by mongodb ,i found journal directory size increase everyday. Currently it&apos;s size is 1.8Gb.&lt;br/&gt;
From Mongo DB document &lt;/p&gt;

&lt;p&gt;WiredTiger journal files for MongoDB have a maximum size limit of approximately 100 MB. Once the file exceeds that limit, WiredTiger creates a new journal file.&lt;/p&gt;

&lt;p&gt;WiredTiger automatically removes old journal files to maintain only the files needed to recover from last checkpoint.&lt;/p&gt;

&lt;p&gt;WiredTiger will pre-allocate journal files.&lt;/p&gt;

&lt;p&gt;I want to know why this size increased up to this level ? .why old files not removed ? &lt;/p&gt;</description>
                <environment></environment>
        <key id="408934">SERVER-30363</key>
            <summary>MongoDB journal data size increase everyday </summary>
                <type id="6" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14720&amp;avatarType=issuetype">Question</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="4">Incomplete</resolution>
                                        <assignee username="bruce.lucas@mongodb.com">Bruce Lucas</assignee>
                                    <reporter username="sandipkushvah">Sandip Kushvah</reporter>
                        <labels>
                    </labels>
                <created>Thu, 27 Jul 2017 06:35:17 +0000</created>
                <updated>Tue, 22 Aug 2017 17:44:51 +0000</updated>
                            <resolved>Tue, 22 Aug 2017 17:44:51 +0000</resolved>
                                    <version>3.4.4</version>
                                                    <component>Storage</component>
                    <component>WiredTiger</component>
                                        <votes>0</votes>
                                    <watches>10</watches>
                                                                                                                <comments>
                            <comment id="1634379" author="bruce.lucas@10gen.com" created="Fri, 28 Jul 2017 12:47:08 +0000"  >&lt;p&gt;Hi Sandip,&lt;/p&gt;

&lt;p&gt;In order for us to continue our diagnosis, I have generated a &lt;a href=&quot;https://10gen-httpsupload.s3.amazonaws.com/upload_forms/0356ac04-677d-4933-8a05-e2164422a8eb.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;secure upload portal&lt;/a&gt; for this ticket. Can you please&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;archive and upload the directory &lt;tt&gt;$dbpath/diagnostic.data&lt;/tt&gt; for the affected instance (preferably the one on 3.4.6).&lt;/li&gt;
	&lt;li&gt;compress and upload all available mongod log files for that same instance&lt;/li&gt;
	&lt;li&gt;show us the output of &lt;tt&gt;ls -lR $dbpath&lt;/tt&gt; (either attach to this ticket or upload to the secure portal)&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Thanks,&lt;br/&gt;
Bruce&lt;/p&gt;</comment>
                            <comment id="1634216" author="sandipkushvah" created="Fri, 28 Jul 2017 06:23:34 +0000"  >&lt;p&gt;Hi Bruce,&lt;br/&gt;
Mongodb is running on AWS EC2 instance. I have two instance in which mongodb 3.4.4 is running in one instance and 3.4.6 is running in another instance.Both are stand alone instances.&lt;br/&gt;
Is there any configuration set up require for journal file set up ? If not why old file not removed and size increase everyday? &lt;/p&gt;</comment>
                            <comment id="1633334" author="bruce.lucas@10gen.com" created="Thu, 27 Jul 2017 13:55:29 +0000"  >&lt;p&gt;Hi Sandip,&lt;/p&gt;

&lt;p&gt;I have a couple of questions about your installation:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Are you running on Azure?&lt;/li&gt;
	&lt;li&gt;Do you see messages like the following in syslog:
&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;May 17 14:37:10 db-rs0-2 systemd[1]: Time has been changed&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;/li&gt;
&lt;/ul&gt;


&lt;p&gt;If so, you may be encountering &lt;a href=&quot;https://jira.mongodb.org/browse/WT-3327&quot; title=&quot;Checkpoints can hang if time runs backward&quot; class=&quot;issue-link&quot; data-issue-key=&quot;WT-3327&quot;&gt;&lt;del&gt;WT-3327&lt;/del&gt;&lt;/a&gt;, which can produce the same symptom you are seeing as described in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-29230&quot; title=&quot;Journal files accumulating on ReplicaSet Secondary&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-29230&quot;&gt;&lt;del&gt;SERVER-29230&lt;/del&gt;&lt;/a&gt;. You can avoid this issue by either&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;upgrading to 3.4.6, which contains the fix for &lt;a href=&quot;https://jira.mongodb.org/browse/WT-3327&quot; title=&quot;Checkpoints can hang if time runs backward&quot; class=&quot;issue-link&quot; data-issue-key=&quot;WT-3327&quot;&gt;&lt;del&gt;WT-3327&lt;/del&gt;&lt;/a&gt;, or&lt;/li&gt;
	&lt;li&gt;disabling Azure time sync as described in the last two comments in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-29230&quot; title=&quot;Journal files accumulating on ReplicaSet Secondary&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-29230&quot;&gt;&lt;del&gt;SERVER-29230&lt;/del&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Please let us know if this resolves your issue.&lt;/p&gt;

&lt;p&gt;Bruce&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>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 27 Jul 2017 13:55:29 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            6 years, 28 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>bruce.lucas@mongodb.com</customfieldvalue>
            <customfieldvalue>sandipkushvah</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htbqr3:</customfieldvalue>

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

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

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