<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:04:29 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-3942] MongoDB service on Windows infinitely restarts when server goes down abnormally</title>
                <link>https://jira.mongodb.org/browse/SERVER-3942</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;This is a Windows-specific problem. After hard crash (actually I intentionally pulled the power plug on the test machine), MongoDB service got stuck in the &quot;Starting&quot; phase infinitely trying to start complaining about &quot;old lock&quot; (yes, the journalling is also turned off). I suggest there should be either a limit for autorestarts (I ended up with several gigabytes worth of logfiles filled with &quot;start, oh-there&apos;s-an-old-lock-file, stop&quot;) on such failures or no autorestarts at all, at least for problems that aren&apos;t going to solve themselves. The existing SysV init.d script behavior looks fine to me, autorestarting on failing to obtain a lock or bind to an interface doesn&apos;t look to improve robustness under Windows, especially getting out of the &quot;Starting&quot; state ain&apos;t that easy.&lt;/p&gt;</description>
                <environment>Windows Server 2003R2 32-bit</environment>
        <key id="22781">SERVER-3942</key>
            <summary>MongoDB service on Windows infinitely restarts when server goes down abnormally</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="3">Duplicate</resolution>
                                        <assignee username="tad">Tad Marshall</assignee>
                                    <reporter username="onyxmaster">Aristarkh Zagorodnikov</reporter>
                        <labels>
                    </labels>
                <created>Sat, 24 Sep 2011 20:59:08 +0000</created>
                <updated>Mon, 1 Oct 2012 13:25:49 +0000</updated>
                            <resolved>Mon, 5 Dec 2011 20:40:35 +0000</resolved>
                                    <version>2.0.0</version>
                                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="70965" author="tad" created="Mon, 5 Dec 2011 20:40:35 +0000"  >&lt;p&gt;This is a duplicate of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3582&quot; title=&quot;Mongo Windows Service locks up CPU when computer reboots after a crash.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-3582&quot;&gt;&lt;del&gt;SERVER-3582&lt;/del&gt;&lt;/a&gt; and is fixed for 2.1.0 by no longer setting up automatic restarts on a failing mongod.exe Windows service.  There is also a new ticket, &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-4373&quot; title=&quot;Windows service should &amp;quot;do the right thing&amp;quot; after a crash&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-4373&quot;&gt;&lt;del&gt;SERVER-4373&lt;/del&gt;&lt;/a&gt;, to try to bring back automatic restart in such a way that it won&apos;t fail again, but that bug is still open.&lt;/p&gt;</comment>
                            <comment id="70904" author="spencer" created="Mon, 5 Dec 2011 18:04:34 +0000"  >&lt;p&gt;I have successfully reproduced the issue with MongoDB 2.0.1 on Windows 7.&lt;/p&gt;</comment>
                            <comment id="56507" author="onyxmaster" created="Sun, 25 Sep 2011 06:32:10 +0000"  >&lt;p&gt;&quot;ImagePath&quot; key is removed due to security reasons&lt;/p&gt;</comment>
                            <comment id="56506" author="onyxmaster" created="Sun, 25 Sep 2011 06:31:25 +0000"  >&lt;p&gt;I am the administrator of the server and I did not do any customizations to the service installation process. I installed it to my development notebook and recovery policy is the same &amp;#8211; restart on first, second and subsequent failures with zero interval. SCM just follows the policy and infinitely restarts the service. I&apos;ll attach the registry settings.&lt;/p&gt;</comment>
                            <comment id="56477" author="scotthernandez" created="Sat, 24 Sep 2011 23:07:49 +0000"  >&lt;p&gt;The mongod service installer does not set any rules when the service processes stops (like restarting the service). If this happened it was from settings manually made by your administrators. &lt;a href=&quot;https://github.com/mongodb/mongo/blob/master/util/ntservice.cpp#L228&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/blob/master/util/ntservice.cpp#L228&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Can you export your registry settings for the service so we can see what is there? Also, exporting your event log entries will help as well to see what the SCM was doing which caused an infinite loop.&lt;/p&gt;</comment>
                            <comment id="56466" author="onyxmaster" created="Sat, 24 Sep 2011 21:00:36 +0000"  >&lt;p&gt;I forgot to add that I understand that it&apos;s the SCM is the one which restarts the service, but it&apos;s the service installer that configures the crash recovery settings for the service.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="20898">SERVER-3582</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="25530">SERVER-4373</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="13280" name="mongodb.reg" size="862" author="onyxmaster" created="Sun, 25 Sep 2011 06:32:10 +0000"/>
                    </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>Sat, 24 Sep 2011 23:07:49 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            12 years, 11 weeks, 2 days 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>onyxmaster</customfieldvalue>
            <customfieldvalue>scotthernandez</customfieldvalue>
            <customfieldvalue>spencer@mongodb.com</customfieldvalue>
            <customfieldvalue>tad</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hropp3:</customfieldvalue>

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

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

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