<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:13:27 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-7031] Windows service shuts down when user logs out</title>
                <link>https://jira.mongodb.org/browse/SERVER-7031</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;It is reported that mongod.exe shuts down when running as a service when a user logs out of an interactive Windows session.  I am unable to duplicate this so far in Windows 7, but I may be able to with more information about how the reporter&apos;s system is configured.&lt;/p&gt;

&lt;p&gt;See discussion at &lt;a href=&quot;https://groups.google.com/forum/?fromgroups=#!topic/mongodb-user/08gx8nHHmx0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://groups.google.com/forum/?fromgroups=#!topic/mongodb-user/08gx8nHHmx0&lt;/a&gt; for details so far.&lt;/p&gt;</description>
                <environment>Windows, running as a Windows service</environment>
        <key id="50439">SERVER-7031</key>
            <summary>Windows service shuts down when user logs out</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="tad">Tad Marshall</assignee>
                                    <reporter username="tad">Tad Marshall</reporter>
                        <labels>
                            <label>Windows</label>
                    </labels>
                <created>Thu, 13 Sep 2012 16:40:21 +0000</created>
                <updated>Mon, 11 Jul 2016 17:59:31 +0000</updated>
                            <resolved>Tue, 2 Oct 2012 19:56:35 +0000</resolved>
                                    <version>2.0.7</version>
                    <version>2.2.0</version>
                                    <fixVersion>2.2.2</fixVersion>
                    <fixVersion>2.3.0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="183288" author="auto" created="Tue, 6 Nov 2012 21:31:32 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-10-02T17:03:09Z&apos;, u&apos;email&apos;: u&apos;tad@10gen.com&apos;, u&apos;name&apos;: u&apos;Tad Marshall&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-7031&quot; title=&quot;Windows service shuts down when user logs out&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-7031&quot;&gt;&lt;del&gt;SERVER-7031&lt;/del&gt;&lt;/a&gt; don&apos;t shut down in Windows on CTRL_LOGOFF_EVENT&lt;/p&gt;

&lt;p&gt;Versions of Windows prior to Windows Vista send a CTRL_LOGOFF_EVENT&lt;br/&gt;
to services (at the handler set by SetConsoleCtrlHandler) when the&lt;br/&gt;
interactive user logs off.  Return FALSE from this notification and&lt;br/&gt;
don&apos;t run consoleTerminate().&lt;br/&gt;
Branch: v2.2&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/8bb07be63af3bb27f5f03d767dbf0c7fbda07338&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/8bb07be63af3bb27f5f03d767dbf0c7fbda07338&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="170535" author="tad" created="Tue, 2 Oct 2012 19:56:35 +0000"  >&lt;p&gt;Suggest backport to 2.2 and 2.0 branches (same code).&lt;/p&gt;</comment>
                            <comment id="170486" author="auto" created="Tue, 2 Oct 2012 18:26:03 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-10-02T10:03:09-07:00&apos;, u&apos;email&apos;: u&apos;tad@10gen.com&apos;, u&apos;name&apos;: u&apos;Tad Marshall&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-7031&quot; title=&quot;Windows service shuts down when user logs out&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-7031&quot;&gt;&lt;del&gt;SERVER-7031&lt;/del&gt;&lt;/a&gt; don&apos;t shut down in Windows on CTRL_LOGOFF_EVENT&lt;/p&gt;

&lt;p&gt;Versions of Windows prior to Windows Vista send a CTRL_LOGOFF_EVENT&lt;br/&gt;
to services (at the handler set by SetConsoleCtrlHandler) when the&lt;br/&gt;
interactive user logs off.  Return FALSE from this notification and&lt;br/&gt;
don&apos;t run consoleTerminate().&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/a375eb933859da6853789b29c36a0a282690a9d3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/a375eb933859da6853789b29c36a0a282690a9d3&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="164441" author="tad" created="Fri, 14 Sep 2012 12:48:28 +0000"  >&lt;p&gt;Update 1 from original poster:&lt;/p&gt;

&lt;p&gt;mongo service is installed in windows 2003 x86 machine and installed using out of the box support for installing same.&lt;/p&gt;

&lt;p&gt;Update 2 from original poster:&lt;/p&gt;

&lt;p&gt;Hi Tad,&lt;br/&gt;
thanks for the response.&lt;/p&gt;

&lt;p&gt;in there check out the &lt;span class=&quot;error&quot;&gt;&amp;#91;consoleTerminate&amp;#93;&lt;/span&gt; in that log &lt;/p&gt;

&lt;p&gt;anwers to questions&lt;br/&gt;
I am using MongoDB 2.2 for x86 on windows 2003 x86&lt;br/&gt;
i used the defaults service install procedure , using mongod --install&lt;br/&gt;
mongod.exe --config E:\MongoDB\mongo\config\config.properties --serviceName mdb27017 --serviceDisplayName &quot;MongoDB Server Instance 27017&quot; --serviceDescription &quot;MongoDB Server Instance running on 27017&quot; --install&lt;/p&gt;

&lt;p&gt;No , i didnt do any thing as such &lt;br/&gt;
i am trying on windows 2008 R2 which is client is having &lt;br/&gt;
here is snippet of the log on this issue : &lt;a href=&quot;http://pastebin.com/fkLbJ4Sv&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://pastebin.com/fkLbJ4Sv&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;Update 3 from original poster:&lt;/p&gt;

&lt;p&gt;i tried to replicate same with both Windows 7 Ultimate x86  and Windows Server 2012 R2 x64 , it working with fine/ no issues.&lt;/p&gt;

&lt;p&gt;but same in case of the Windows Server 2003 R2 EE, it is causing this issue.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.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>Tue, 2 Oct 2012 18:26:03 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        11 years, 15 weeks, 1 day 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>
                            11 years, 15 weeks, 1 day ago
                        </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>auto</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|hrnosf:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>16583</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_10166" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Tests Written</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10153"><![CDATA[Unneeded]]></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|hshqxr:</customfieldvalue>

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