<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:01:48 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-3008] CursorTimeoutTask failure during mongos shutdown</title>
                <link>https://jira.mongodb.org/browse/SERVER-3008</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;I sent the TERM signal to mongos to shut it down gracefully, and I got the following stack trace in my mongos log:&lt;/p&gt;

&lt;p&gt;Wed Apr 27 00:46:52 &lt;span class=&quot;error&quot;&gt;&amp;#91;mongosMain&amp;#93;&lt;/span&gt; dbexit: received signal 15 rc:0 received signal 15&lt;br/&gt;
Received signal 6&lt;br/&gt;
Backtrace: 0x8167d37 0xb7764400 0xb7764416 0xb74cf851 0xb74d2d42 0xb750711d 0xb7511321 0xb7512b78 0xb7515c9d 0xb771d741 0x82c9711 0x8137649 0x81396be 0x82fe2cd 0xb7608985 0xb757513e&lt;br/&gt;
/usr/local/bin/mongos(_ZN5mongo17printStackAndExitEi+0x77)&lt;span class=&quot;error&quot;&gt;&amp;#91;0x8167d37&amp;#93;&lt;/span&gt;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;0xb7764400&amp;#93;&lt;/span&gt;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;0xb7764416&amp;#93;&lt;/span&gt;&lt;br/&gt;
/lib/tls/i686/nosegneg/libc.so.6(gsignal+0x51)&lt;span class=&quot;error&quot;&gt;&amp;#91;0xb74cf851&amp;#93;&lt;/span&gt;&lt;br/&gt;
/lib/tls/i686/nosegneg/libc.so.6(abort+0x182)&lt;span class=&quot;error&quot;&gt;&amp;#91;0xb74d2d42&amp;#93;&lt;/span&gt;&lt;br/&gt;
/lib/tls/i686/nosegneg/libc.so.6(+0x6211d)&lt;span class=&quot;error&quot;&gt;&amp;#91;0xb750711d&amp;#93;&lt;/span&gt;&lt;br/&gt;
/lib/tls/i686/nosegneg/libc.so.6(+0x6c321)&lt;span class=&quot;error&quot;&gt;&amp;#91;0xb7511321&amp;#93;&lt;/span&gt;&lt;br/&gt;
/lib/tls/i686/nosegneg/libc.so.6(+0x6db78)&lt;span class=&quot;error&quot;&gt;&amp;#91;0xb7512b78&amp;#93;&lt;/span&gt;&lt;br/&gt;
/lib/tls/i686/nosegneg/libc.so.6(cfree+0x6d)&lt;span class=&quot;error&quot;&gt;&amp;#91;0xb7515c9d&amp;#93;&lt;/span&gt;&lt;br/&gt;
/usr/lib/libstdc++.so.6(_ZdlPv+0x21)&lt;span class=&quot;error&quot;&gt;&amp;#91;0xb771d741&amp;#93;&lt;/span&gt;&lt;br/&gt;
/usr/local/bin/mongos(_ZN5mongo17CursorTimeoutTaskD0Ev+0x61)&lt;span class=&quot;error&quot;&gt;&amp;#91;0x82c9711&amp;#93;&lt;/span&gt;&lt;br/&gt;
/usr/local/bin/mongos(_ZN5mongo13BackgroundJob7jobBodyEN5boost10shared_ptrINS0_9JobStatusEEE+0x1e9)&lt;span class=&quot;error&quot;&gt;&amp;#91;0x8137649&amp;#93;&lt;/span&gt;&lt;br/&gt;
/usr/local/bin/mongos(_ZN5boost6detail11thread_dataINS_3_bi6bind_tIvNS_4_mfi3mf1IvN5mongo13BackgroundJobENS_10shared_ptrINS7_9JobStatusEEEEENS2_5list2INS2_5valueIPS7_EENSD_ISA_EEEEEEE3runEv+0x7e)&lt;span class=&quot;error&quot;&gt;&amp;#91;0x81396be&amp;#93;&lt;/span&gt;&lt;br/&gt;
/usr/local/bin/mongos(thread_proxy+0x7d)&lt;span class=&quot;error&quot;&gt;&amp;#91;0x82fe2cd&amp;#93;&lt;/span&gt;&lt;br/&gt;
/lib/tls/i686/nosegneg/libpthread.so.0(+0x5985)&lt;span class=&quot;error&quot;&gt;&amp;#91;0xb7608985&amp;#93;&lt;/span&gt;&lt;br/&gt;
/lib/tls/i686/nosegneg/libc.so.6(clone+0x5e)&lt;span class=&quot;error&quot;&gt;&amp;#91;0xb757513e&amp;#93;&lt;/span&gt;&lt;br/&gt;
===&lt;/p&gt;

&lt;p&gt;Mongos did not shutdown, the process is still running after this error. Sending another TERM has no effect other than this in the log:&lt;/p&gt;

&lt;p&gt;Wed Apr 27 00:59:23 &lt;span class=&quot;error&quot;&gt;&amp;#91;websvr&amp;#93;&lt;/span&gt; dbexit: received signal 15 rc:0 received signal 15&lt;/p&gt;</description>
                <environment>Ubuntu 10.04</environment>
        <key id="16374">SERVER-3008</key>
            <summary>CursorTimeoutTask failure during mongos shutdown</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="-1">Unassigned</assignee>
                                    <reporter username="andrewloc">Andrew R</reporter>
                        <labels>
                            <label>mongos</label>
                    </labels>
                <created>Wed, 27 Apr 2011 01:00:35 +0000</created>
                <updated>Tue, 6 Sep 2011 21:39:23 +0000</updated>
                            <resolved>Tue, 6 Sep 2011 21:39:23 +0000</resolved>
                                    <version>1.8.1</version>
                                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="52682" author="eliot" created="Tue, 6 Sep 2011 21:39:23 +0000"  >&lt;p&gt;See &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3082&quot; title=&quot;mongos crash on shutdown&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-3082&quot;&gt;&lt;del&gt;SERVER-3082&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="30170" author="andrewloc" created="Thu, 28 Apr 2011 19:21:47 +0000"  >&lt;p&gt;Another repeat of the cursor timeout stack:&lt;br/&gt;
&lt;a href=&quot;http://pastie.org/private/cdxhq1bpzbjlpqomyv66a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://pastie.org/private/cdxhq1bpzbjlpqomyv66a&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It&apos;s trapping signal 6 (&lt;a href=&quot;http://en.wikipedia.org/wiki/SIGABRT&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://en.wikipedia.org/wiki/SIGABRT&lt;/a&gt;). Given the nature of SIGABRT, mongos should terminate after handling the signal, but it remains running.&lt;/p&gt;</comment>
                            <comment id="29814" author="andrewloc" created="Wed, 27 Apr 2011 05:37:53 +0000"  >&lt;p&gt;I also found this error on shutdown:&lt;br/&gt;
&lt;a href=&quot;http://pastie.org/private/wx7qrtg7ogkv9ufgb15ha&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://pastie.org/private/wx7qrtg7ogkv9ufgb15ha&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The stack is a little different but close enough that it could be related.&lt;/p&gt;</comment>
                            <comment id="29799" author="andrewloc" created="Wed, 27 Apr 2011 01:07:40 +0000"  >&lt;p&gt;I&apos;ve seen this several times on different instances. Most mongos processes will stop find, but ~1/4 will hit this when I stop them all (running about 8).&lt;/p&gt;

&lt;p&gt;All I see in the logs before this is many lines like this:&lt;br/&gt;
Wed Apr 27 00:46:19 &lt;span class=&quot;error&quot;&gt;&amp;#91;LockPinger&amp;#93;&lt;/span&gt; dist_lock pinged successfully for: host1:1303422971:1804289383&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>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 6 Sep 2011 21:39:23 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        12 years, 24 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>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, 24 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>andrewloc</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrp0tr:</customfieldvalue>

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

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

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