<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:19:54 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-29102] WiredTiger does not rotate journal log files</title>
                <link>https://jira.mongodb.org/browse/SERVER-29102</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;I have problems with the &quot;/var/lib/mongodb/journal$&quot; directory due to WiredTiger creates more than three files. More or less, it creates a new file per 30 minutes.&lt;/p&gt;

&lt;p&gt;The disk is going to be full and mongod will not be able to write any operations.&lt;/p&gt;

&lt;p&gt;Thank you very much for your help!&lt;/p&gt;</description>
                <environment>SO: Ubuntu 16.04.2 LTS (GNU/Linux 4.4.0-75-generic x86_64)&lt;br/&gt;
file system: XFS&lt;br/&gt;
ram: 4GB&lt;br/&gt;
swap: 20GB&lt;br/&gt;
disk: 50GB (/dev/vda1)&lt;br/&gt;
cores: 16&lt;br/&gt;
&lt;a href=&apos;mailto:undanet@susanpre03&apos;&gt;undanet@susanpre03&lt;/a&gt;:~$ mongo --version&lt;br/&gt;
MongoDB shell version v3.4.2&lt;br/&gt;
git version: 3f76e40c105fc223b3e5aac3e20dcd026b83b38b&lt;br/&gt;
OpenSSL version: OpenSSL 1.0.2g  1 Mar 2016&lt;br/&gt;
allocator: tcmalloc&lt;br/&gt;
modules: none&lt;br/&gt;
build environment:&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;distmod: ubuntu1604&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;distarch: x86_64&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;target_arch: x86_64&lt;br/&gt;
&lt;a href=&apos;mailto:undanet@susanpre03&apos;&gt;undanet@susanpre03&lt;/a&gt;:~$ &lt;br/&gt;
</environment>
        <key id="381833">SERVER-29102</key>
            <summary>WiredTiger does not rotate journal log files</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="sue.loverso@mongodb.com">Susan LoVerso</assignee>
                                    <reporter username="juanroy">Juan Antonio Roy Couto</reporter>
                        <labels>
                    </labels>
                <created>Mon, 8 May 2017 08:53:03 +0000</created>
                <updated>Fri, 21 Jul 2017 00:31:04 +0000</updated>
                            <resolved>Thu, 18 May 2017 20:31:07 +0000</resolved>
                                                                    <component>WiredTiger</component>
                                        <votes>0</votes>
                                    <watches>10</watches>
                                                                                                                <comments>
                            <comment id="1574164" author="juanroy" created="Thu, 18 May 2017 07:50:27 +0000"  >&lt;p&gt;I have eliminated these messages and everything looks fine.&lt;br/&gt;
I will let you know if the problems with WiredTiger journal log files arise again.&lt;br/&gt;
Thank you very much!&lt;/p&gt;</comment>
                            <comment id="1573292" author="juanroy" created="Wed, 17 May 2017 14:18:52 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=Bruce+Lucas&quot; class=&quot;user-hover&quot; rel=&quot;Bruce Lucas&quot;&gt;Bruce Lucas&lt;/a&gt;&lt;br/&gt;
Yes, we use Hyper-V!&lt;br/&gt;
Ok, I&apos;ll let you know.&lt;br/&gt;
Thank you!&lt;/p&gt;</comment>
                            <comment id="1573266" author="bruce.lucas@10gen.com" created="Wed, 17 May 2017 14:06:38 +0000"  >&lt;p&gt;Hi Juan,&lt;/p&gt;

&lt;p&gt;The syslog that you uploaded shows frequent messages like this:&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;May  1 06:25:49 susanpre03 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;p&gt;A google search for that message turned up this page with someone who had a similar problem and what they did to fix it. They were running under Windows Hyper-V, but even if that is not your case maybe this will provide a clue to fix your problem.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://askubuntu.com/questions/888493/var-log-syslog-systemd1-time-has-been-changed-message-every-5-seconds&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://askubuntu.com/questions/888493/var-log-syslog-systemd1-time-has-been-changed-message-every-5-seconds&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Once you have eliminated the &quot;Time has been changed&quot; messages from syslog, please let us know if that resolves your other problems.&lt;/p&gt;
</comment>
                            <comment id="1573247" author="juanroy" created="Wed, 17 May 2017 13:45:32 +0000"  >&lt;p&gt;Hi, &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=Sue+LoVerso&quot; class=&quot;user-hover&quot; rel=&quot;Sue LoVerso&quot;&gt;Sue LoVerso&lt;/a&gt;&lt;br/&gt;
This node is running on a Virtual Machine.&lt;br/&gt;
I have not any daemon like ntp.&lt;br/&gt;
It is true that we have had problems with time. I think we have three different times, let&apos;s see:&lt;br/&gt;
$ timedatectl&lt;br/&gt;
      Local time: mi&#233; 2017-05-17 15:42:14 CEST&lt;br/&gt;
  Universal time: mi&#233; 2017-05-17 13:42:14 UTC&lt;br/&gt;
        RTC time: &lt;b&gt;mi&#233; 2017-05-17 13:48:22&lt;/b&gt;&lt;br/&gt;
       Time zone: Europe/Madrid (CEST, +0200)&lt;br/&gt;
 Network time on: yes&lt;br/&gt;
NTP synchronized: yes&lt;br/&gt;
 RTC in local TZ: no&lt;br/&gt;
$&lt;br/&gt;
Could a ntp daemon resolve these problems?&lt;/p&gt;</comment>
                            <comment id="1572902" author="sue.loverso" created="Wed, 17 May 2017 00:42:34 +0000"  >&lt;p&gt;Can you describe the system you&apos;re running on?  Is it a virtual machine?  Or an AWS instance or some other cloud instance?&lt;/p&gt;</comment>
                            <comment id="1572465" author="sue.loverso" created="Tue, 16 May 2017 17:09:20 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=juanroy&quot; class=&quot;user-hover&quot; rel=&quot;juanroy&quot;&gt;juanroy&lt;/a&gt; Looking at this, the error paths I referred to earlier are correct.  However one thing that could explain the values we see is if the system time went backward.  Are you running some kind of time daemon process like ntpd or something similar?  Could time be getting adjusted backward?&lt;/p&gt;</comment>
                            <comment id="1572400" author="juanroy" created="Tue, 16 May 2017 16:00:13 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=Sue+LoVerso&quot; class=&quot;user-hover&quot; rel=&quot;Sue LoVerso&quot;&gt;Sue LoVerso&lt;/a&gt; I do not have that system log but I have one of another day I issued the same problem. Perhaps It can help us. In it I can see:&lt;/p&gt;

&lt;p&gt;Apr 29 23:55:14 susanpre03 systemd&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;: mongod.service: Main process exited, code=killed, status=6/ABRT&lt;br/&gt;
Apr 29 23:55:14 susanpre03 systemd&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;: mongod.service: Unit entered failed state.&lt;br/&gt;
Apr 29 23:55:14 susanpre03 systemd&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;: mongod.service: Failed with result &apos;signal&apos;.&lt;/p&gt;

&lt;p&gt;I&apos;ve attached it!&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;</comment>
                            <comment id="1572340" author="sue.loverso" created="Tue, 16 May 2017 15:23:25 +0000"  >&lt;p&gt;Looking more closely at this, I suspect that the wildly large values indicate disk errors (and a bug in the error path handling that doesn&apos;t stop some timers).  For example I see that if the logging code performing an &lt;tt&gt;fsync&lt;/tt&gt; gets an error it doesn&apos;t clear the timer.  &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=juanroy&quot; class=&quot;user-hover&quot; rel=&quot;juanroy&quot;&gt;juanroy&lt;/a&gt; if you have access to system logs from this timeframe can you check if there are any errors reported?&lt;/p&gt;</comment>
                            <comment id="1566913" author="sue.loverso" created="Mon, 8 May 2017 16:09:56 +0000"  >&lt;p&gt;There are definitely some wild values in the metrics.  Before I get to that, here&apos;s what I found:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;They sent three log files, 479, 511, 512.  Log file 479 has checkpoint records in it, so that is why earlier log files were archived.&lt;/li&gt;
	&lt;li&gt;Log files 511 and 512 do not have any checkpoint records in them.  Presumably neither do log file 480-510.  I don&apos;t believe the &quot;not removing log files&quot; part of this is indicating a bug in the archive code.&lt;/li&gt;
	&lt;li&gt;The dates on the log files shown in &lt;tt&gt;WiredTigerJournalError20170507/WiredTigerJournalFiles/*txt&lt;/tt&gt; indicates that log file 479 was last written at May 7, 22:45.  The other log files fill up every 5-35 minutes later.&lt;/li&gt;
	&lt;li&gt;The turtle file in the tarball has the last checkpoint in line with that: &lt;tt&gt;checkpoint=(WiredTigerCheckpoint.7767=(addr=&quot;018381e40a7c9a788481e42d0d39938581e457578178808080e301cfc0e29fc0&quot;,order=7767,time=1494189850,size=53248,write_gen=24023)),checkpoint_lsn=(479,90348800)&lt;/tt&gt;
	&lt;ul&gt;
		&lt;li&gt;The timestamp of &lt;tt&gt;1494189850&lt;/tt&gt; is May 7 22:44:10.&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;The metrics show a checkpoint starts and never completes.  The wild values begin back on May 3.&lt;/li&gt;
	&lt;li&gt;There were only 5 other checkpoints between May 3 and the never-completing one on May 7 (at least ones lasting long enough to show up in the &quot;checkpoint currently running&quot; statistic).&lt;br/&gt;
&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://jira.mongodb.org/secure/attachment/155578/155578_29102.bigvals.png&quot; width=&quot;100%&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;

</comment>
                            <comment id="1566594" author="juanroy" created="Mon, 8 May 2017 08:58:42 +0000"  >&lt;p&gt;Hi!&lt;br/&gt;
We have rebooted the machine and just now I only have three files at the &quot;/var/lib/mongodb/journal&quot; directory&lt;br/&gt;
Thx&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10320">
                    <name>Documented</name>
                                                                <inwardlinks description="is documented by">
                                        <issuelink>
            <issuekey id="406664">DOCS-10562</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="384187">WT-3327</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="155578" name="29102.bigvals.png" size="148487" author="sue.loverso@mongodb.com" created="Mon, 8 May 2017 15:59:26 +0000"/>
                            <attachment id="155539" name="WiredTigerJournalError20170507.tar.gz" size="70904816" author="juanroy" created="Mon, 8 May 2017 08:52:48 +0000"/>
                            <attachment id="156155" name="syslog.20170429.gz" size="371942" author="juanroy" created="Tue, 16 May 2017 15:59:47 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>10.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.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>Mon, 8 May 2017 12:13:06 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            6 years, 38 weeks, 6 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>bruce.lucas@mongodb.com</customfieldvalue>
            <customfieldvalue>juanroy</customfieldvalue>
            <customfieldvalue>sue.loverso@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|ht74wn:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hszbrj:</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_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="1684">Storage 2017-05-29</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|hrixhb:</customfieldvalue>

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