<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:28:55 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-12577] mongod hangs on shutdown</title>
                <link>https://jira.mongodb.org/browse/SERVER-12577</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;After executing &lt;tt&gt;$sudo service mongod stop&lt;/tt&gt; the stop process got stuck.&lt;/p&gt;

&lt;p&gt;The last line in mongod.log says:&lt;br/&gt;
&lt;tt&gt;Mon Feb  3 14:59:33.237 &lt;span class=&quot;error&quot;&gt;&amp;#91;signalProcessingThread&amp;#93;&lt;/span&gt; got signal 15 (Terminated), will terminate after current cmd ends&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;The process is not responding to kill command (not kill -9).&lt;br/&gt;
Mongo client tool is able to connect but is not responding to any input. The connection is logged in the log file.&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;$mongod -f /etc/mongod.conf --shutdown&lt;/tt&gt; gets stuck too and nothing good is happening.&lt;/p&gt;

&lt;p&gt;netstat shows that it&apos;s listening on tcp/27017 and tcp/28017.&lt;/p&gt;

&lt;p&gt;Eventually executed &lt;tt&gt;$kill -9&lt;/tt&gt; and started the service with no problem.&lt;br/&gt;
Stopped it again cleanly.&lt;/p&gt;</description>
                <environment>LSB Version:    :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch&lt;br/&gt;
Distributor ID: CentOS&lt;br/&gt;
Description:    CentOS release 6.5 (Final)&lt;br/&gt;
Release:        6.5&lt;br/&gt;
Codename:       Final&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Linux db-server 2.6.32-431.1.2.0.1.el6.x86_64 #1 SMP Fri Dec 13 13:06:13 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux&lt;br/&gt;
&lt;br/&gt;
Mongo 2.4.9 standalone host with user authentication.</environment>
        <key id="109255">SERVER-12577</key>
            <summary>mongod hangs on shutdown</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="thomas.rueckstiess@mongodb.com">Thomas Rueckstiess</assignee>
                                    <reporter username="yevk">Yev</reporter>
                        <labels>
                    </labels>
                <created>Mon, 3 Feb 2014 15:57:29 +0000</created>
                <updated>Tue, 15 Apr 2014 18:16:31 +0000</updated>
                            <resolved>Tue, 15 Apr 2014 18:16:11 +0000</resolved>
                                    <version>2.4.9</version>
                                                                        <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="550500" author="thomasr" created="Tue, 15 Apr 2014 18:16:11 +0000"  >&lt;p&gt;I&apos;m marking this a duplicate of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-1423&quot; title=&quot;reads often aren&amp;#39;t possible while in fsync and lock mode&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-1423&quot;&gt;&lt;del&gt;SERVER-1423&lt;/del&gt;&lt;/a&gt;, and I added a comment about how signal handling is affected on a fsyncLocked mongod with auth, preventing kill -15.&lt;/p&gt;</comment>
                            <comment id="519874" author="yevk" created="Thu, 20 Mar 2014 12:04:53 +0000"  >&lt;p&gt;Hi Stephen,&lt;/p&gt;

&lt;p&gt;It does seem to be caused by fSyncLock. The lock causes Mongo to stop responding to any command.&lt;br/&gt;
I removed the fSyncLock from the backup script and it works now and the server doesn&apos;t hang.&lt;/p&gt;

&lt;p&gt;Might also be related to &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-1423&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;SERVER-1423&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="517895" author="stennie" created="Mon, 17 Mar 2014 22:38:07 +0000"  >&lt;p&gt;Hi Yev,&lt;/p&gt;

&lt;p&gt;Are you still experiencing this issue? If so, would you be able to attach a copy of your backup script?&lt;/p&gt;

&lt;p&gt;If you are having issues with fSyncLock/fSyncUnlock, this may be related to &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-6302&quot; title=&quot;Race condition when multiple fsyncLock() invocations made on a mongod instance.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-6302&quot;&gt;&lt;del&gt;SERVER-6302&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Stephen&lt;/p&gt;</comment>
                            <comment id="492864" author="yevk" created="Tue, 4 Feb 2014 10:19:31 +0000"  >&lt;p&gt;Seems to be happening because of a lock.&lt;br/&gt;
I&apos;m testing a new backup script that locks and unlocks the database.&lt;/p&gt;

&lt;p&gt;It seems that the unlock operation gets stuck and prevents Mongo from shutting down.&lt;br/&gt;
The server has no traffic or connections, so it can&apos;t be because of load. And even after few hours, the unlock operation doesn&apos;t complete.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="12449">SERVER-1423</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 17 Mar 2014 22:38:07 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        9 years, 44 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>false</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>
                            9 years, 44 weeks, 1 day 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="10020"><![CDATA[Linux]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>stephen.steneker@mongodb.com</customfieldvalue>
            <customfieldvalue>thomas.rueckstiess@mongodb.com</customfieldvalue>
            <customfieldvalue>yevk</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrm2f3:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>104221</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_10750" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Steps To Reproduce</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;Not sure what caused this. Happened after few hours of starting the service.&lt;/p&gt;</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|hsoycn:</customfieldvalue>

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