<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:57:44 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-1680] Error during service startup causes server to start over and over and over</title>
                <link>https://jira.mongodb.org/browse/SERVER-1680</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Due to an oversight on my part, the path that I specified for --dbpath did not exist.  This caused the service to start and stop several hundred times within 10 minutes.   After 10 minutes I had a 3MB log file.  &lt;/p&gt;

&lt;p&gt;Very trivial problem, but this is not the behaviour I would expect. &lt;br/&gt;
Expected behaviour would be either;&lt;br/&gt;
1. log the error, exit the process  (recommended)&lt;br/&gt;
2. wait until error condition is corrected.&lt;/p&gt;</description>
                <environment>Windows Vista 64bit</environment>
        <key id="12910">SERVER-1680</key>
            <summary>Error during service startup causes server to start over and over and over</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="5" iconUrl="https://jira.mongodb.org/images/icons/priorities/trivial.svg">Trivial - P5</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="robert@mongodb.com">Robert Stam</assignee>
                                    <reporter username="collinsauve">Collin Sauve</reporter>
                        <labels>
                    </labels>
                <created>Wed, 25 Aug 2010 16:16:30 +0000</created>
                <updated>Tue, 12 Jul 2016 00:19:47 +0000</updated>
                            <resolved>Tue, 15 Mar 2011 14:33:28 +0000</resolved>
                                    <version>1.6.1</version>
                                    <fixVersion>1.9.0</fixVersion>
                                                        <votes>1</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="26043" author="auto" created="Wed, 16 Mar 2011 21:47:05 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;rstam&apos;, u&apos;name&apos;: u&apos;rstam&apos;, u&apos;email&apos;: u&apos;robert@10gen.com&apos;}
&lt;p&gt;Message: Fixed &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2719&quot; title=&quot;mongod running as a service on Windows does not restart correctly after a reboot&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2719&quot;&gt;&lt;del&gt;SERVER-2719&lt;/del&gt;&lt;/a&gt;, &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-1680&quot; title=&quot;Error during service startup causes server to start over and over and over&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-1680&quot;&gt;&lt;del&gt;SERVER-1680&lt;/del&gt;&lt;/a&gt; and &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-1434&quot; title=&quot;&amp;quot;Net stop mondodb&amp;quot; returns an error on windows.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-1434&quot;&gt;&lt;del&gt;SERVER-1434&lt;/del&gt;&lt;/a&gt; (all had the same underlying cause).&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/e4df10c2e034e9cb25e0f8de13b5c5e9b00283a9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/e4df10c2e034e9cb25e0f8de13b5c5e9b00283a9&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="25914" author="auto" created="Tue, 15 Mar 2011 04:17:28 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;rstam&apos;, u&apos;name&apos;: u&apos;rstam&apos;, u&apos;email&apos;: u&apos;robert@10gen.com&apos;}
&lt;p&gt;Message: Fixed &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2719&quot; title=&quot;mongod running as a service on Windows does not restart correctly after a reboot&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2719&quot;&gt;&lt;del&gt;SERVER-2719&lt;/del&gt;&lt;/a&gt;, &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-1680&quot; title=&quot;Error during service startup causes server to start over and over and over&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-1680&quot;&gt;&lt;del&gt;SERVER-1680&lt;/del&gt;&lt;/a&gt; and &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-1434&quot; title=&quot;&amp;quot;Net stop mondodb&amp;quot; returns an error on windows.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-1434&quot;&gt;&lt;del&gt;SERVER-1434&lt;/del&gt;&lt;/a&gt; (all had the same underlying cause).&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/6ebf0c03153113927cf28dd5151bdd0cc9a2eead&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/6ebf0c03153113927cf28dd5151bdd0cc9a2eead&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="24592" author="jaraco" created="Thu, 24 Feb 2011 12:52:11 +0000"  >&lt;p&gt;On further consideration, leaving the lockfile on an unclean shutdown is the standard way for MongoDB to behave. Adding --dur with 1.8 addresses the restart on unclean shutdown issue.&lt;/p&gt;

&lt;p&gt;Still, if MongoDB is designed to fail on startup (and not automatically recover from the failure), it should not configure the service to rapidly restart on failure.&lt;/p&gt;</comment>
                            <comment id="24591" author="jaraco" created="Thu, 24 Feb 2011 12:42:23 +0000"  >&lt;p&gt;I also encountered this problem, but with a properly-configured service.&lt;/p&gt;

&lt;p&gt;With 1.8.0rc0, if the lockfile is present (perhaps due to an unclean shutdown), MongoDB will attempt to start, find the lock file, and exit.&lt;/p&gt;

&lt;p&gt;Because the service is configured to immediately restart, Windows will once again invoke the service. This behavior causes the system to go into a tight loop, consuming 100% CPU and filling the event log with hundreds of messages per second.&lt;/p&gt;

&lt;p&gt;The problem is not as much MongoDB as it is the way it installs itself as a service. It configures the Recovery options to &quot;Restart the Service&quot; on all failures with a 0 minute delay.&lt;/p&gt;

&lt;p&gt;So, there are a couple of factors at play here.&lt;/p&gt;

&lt;p&gt;First, MongoDB should probably be more polite about restarting on failure. A 1 minute delay on startup failure is probably adequate. In fact, it&apos;s probably not desirable to have MongoDB restart on &quot;Subsequent failures&quot;. If the service is repeatedly failing, user intervention is probably required.&lt;/p&gt;

&lt;p&gt;Second, MongoDB should be using a locking mechanism that can detect if there&apos;s actually another database actively locking the file system. Since this bug is about the service startup, I&apos;ll log another ticket about the lock file.&lt;/p&gt;

&lt;p&gt;I would really like to see this ticket tagged for 1.8.&lt;/p&gt;</comment>
                            <comment id="22206" author="adathedev" created="Mon, 10 Jan 2011 10:18:00 +0000"  >&lt;p&gt;I hit the same problem after mistakenly forgetting to specify the dbpath arg. Easy mistake to make - would be nice if it handled it as my log file grew to 8MB within a minute or so and the service could not be stopped. In the end, had to rename the log directory which killed the service.&lt;/p&gt;</comment>
                            <comment id="17375" author="eliot" created="Wed, 25 Aug 2010 16:18:21 +0000"  >&lt;p&gt;Not sure if this is even plausble to do, but would be nice if worked.&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>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 25 Aug 2010 16:18:21 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            12 years, 49 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[Windows]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>adathedev</customfieldvalue>
            <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>collinsauve</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>jaraco</customfieldvalue>
            <customfieldvalue>robert@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpgjb:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>21713</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>
                                

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

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