<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:43:37 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-58114] mongos crashed after 180 days</title>
                <link>https://jira.mongodb.org/browse/SERVER-58114</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;crash log&#65306;&lt;/p&gt;

&lt;p&gt;CONTROL &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;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Mongo version:&lt;/p&gt;

&lt;p&gt;MongoDB shell version v4.2.11&lt;br/&gt;
git version: ea38428f0c6742c7c2c7f677e73d79e17a2aab96&lt;br/&gt;
OpenSSL version: OpenSSL 1.0.1e-fips 11 Feb 2013&lt;br/&gt;
allocator: tcmalloc&lt;br/&gt;
modules: none&lt;br/&gt;
build environment:&lt;br/&gt;
 distmod: rhel70&lt;br/&gt;
 distarch: x86_64&lt;br/&gt;
 target_arch: x86_64&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Linux version:&lt;/p&gt;

&lt;p&gt;Linux version 3.10.0-1160.6.1.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) ) #1 SMP Tue Nov 17 13:59:11 UTC 2020&lt;/p&gt;</description>
                <environment></environment>
        <key id="1800260">SERVER-58114</key>
            <summary>mongos crashed after 180 days</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="13204">Community Answered</resolution>
                                        <assignee username="dmitry.agranat@mongodb.com">Dmitry Agranat</assignee>
                                    <reporter username="changein2013@sina.com">li zhang</reporter>
                        <labels>
                            <label>Bug</label>
                    </labels>
                <created>Mon, 28 Jun 2021 08:50:40 +0000</created>
                <updated>Fri, 27 Oct 2023 15:56:28 +0000</updated>
                            <resolved>Sun, 4 Jul 2021 13:16:56 +0000</resolved>
                                    <version>4.2.11</version>
                                                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="3915974" author="dmitry.agranat" created="Sun, 4 Jul 2021 13:16:35 +0000"  >&lt;p&gt;This is not enough information to determine what external service issued &lt;tt&gt;SIGTERM&lt;/tt&gt;. I suggest looking at &lt;tt&gt;syslog&lt;/tt&gt;, &lt;tt&gt;messages&lt;/tt&gt;, &lt;tt&gt;dmesg&lt;/tt&gt; to try to figure this out.&lt;/p&gt;

&lt;p&gt;As this does not seem to be an issue related to MongoDB, I will go ahead and close this case.&lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Dima&lt;/p&gt;</comment>
                            <comment id="3909229" author="JIRAUSER1260873" created="Wed, 30 Jun 2021 03:05:19 +0000"  >&lt;p&gt;Thanks&#160;Dima!&lt;/p&gt;

&lt;p&gt;Maybe mongo got&#160;signal 15 from itself, there&apos;s something in detail,I uploaded new logs.&lt;/p&gt;

&lt;p&gt;we have 6 config server and 2 mongos, some servers got signal 15.&lt;/p&gt;
&lt;div class=&apos;table-wrap&apos;&gt;
&lt;table class=&apos;confluenceTable&apos;&gt;&lt;tbody&gt;
&lt;tr&gt;
&lt;th class=&apos;confluenceTh&apos;&gt;server&lt;/th&gt;
&lt;th class=&apos;confluenceTh&apos;&gt;got signal 15(GMT+8)&lt;/th&gt;
&lt;th class=&apos;confluenceTh&apos;&gt;ip&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;mongos02&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;2021-06-10 13:34:29&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;10.27.0.16&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;config_sever05&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;2021-06-10 14:13:27&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;10.27.0.15&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;mongos01&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;2021-06-10 14:14:04&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;10.27.0.15&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;config_server06&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;2021-06-10 14:26:39&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;10.27.0.16&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;config_server01&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;2021-06-10 14:46:01&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;10.27.0.11&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;


&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;other servers are ok, our app is ok until&#160;2021-06-10 19:08:46:666&#160;Timed out after 30000 ms while waiting for a server that matches com.mongodb.client.internal.MongoClientDelegate$1@28afd302. Client view of cluster state is {type=SHARDED, servers=[{address=10.27.0.16:23001, type=UNKNOWN, state=CONNECTING, exception=&lt;/p&gt;

{com.mongodb.MongoSocketReadTimeoutException: Timeout while receiving message}

&lt;p&gt;, caused by {&lt;a href=&quot;http://java.net/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;java.net&lt;/a&gt;.SocketTimeoutException: Read timed out}}, {address=10.27.0.15:23001, type=UNKNOWN, state=CONNECTING, exception=&lt;/p&gt;

{com.mongodb.MongoSocketReadTimeoutException: Timeout while receiving message}

&lt;p&gt;, caused by {&lt;a href=&quot;http://java.net/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;java.net&lt;/a&gt;.SocketTimeoutException: Read timed out}}].&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;I am sure the mongos process is still alive,we can connect it but&#160; it can not service&#160; after 2021-06-10 19:08:04 GMT+8 (HMAC Key expiresAt&#160; 1623323284).&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;configs:PRIMARY&amp;gt; db.system.keys.find()&lt;/p&gt;

{ &quot;_id&quot; : NumberLong(&quot;6905325084227928095&quot;), &quot;purpose&quot; : &quot;HMAC&quot;, &quot;key&quot; : BinData(0,&quot;KkNA0g9Nkevn1T6KF4CRCfUNAfU=&quot;), &quot;expiresAt&quot; : Timestamp(1615547284, 0) }

{ &quot;_id&quot; : NumberLong(&quot;6905325084227928096&quot;), &quot;purpose&quot; : &quot;HMAC&quot;, &quot;key&quot; : BinData(0,&quot;4Rx9aW2uxjfKwG3pztFPfw4HqVg=&quot;), &quot;expiresAt&quot; : Timestamp(1623323284, 0) }

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Thanks,&lt;/p&gt;

&lt;p&gt;li zhang&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="3907548" author="dmitry.agranat" created="Tue, 29 Jun 2021 14:35:02 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=changein2013%40sina.com&quot; class=&quot;user-hover&quot; rel=&quot;changein2013@sina.com&quot;&gt;changein2013@sina.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;This is not a crash - a SIGTERM (signal 15) means that something is killing the &lt;tt&gt;mongod&lt;/tt&gt; process and it is exiting normally (you can do this manually by using the kill command from the console/command line). The real question is: what is sending the signal to the &lt;tt&gt;mongod&lt;/tt&gt; process? Unfortunately, with the information you have provided, we cannot determine the source from the logs, and it can be quite difficult to do so in general. We suggest checking for any external process monitoring, or watchdog-type processes on this server that might be killing &lt;tt&gt;mongod&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Dima&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="322596" name="config_server_01.log" size="82846" author="changein2013@sina.com" created="Wed, 30 Jun 2021 03:29:17 +0000"/>
                            <attachment id="322597" name="config_server_02.log" size="84088" author="changein2013@sina.com" created="Wed, 30 Jun 2021 03:29:17 +0000"/>
                            <attachment id="322598" name="config_server_03.log" size="99929" author="changein2013@sina.com" created="Wed, 30 Jun 2021 03:29:17 +0000"/>
                            <attachment id="322599" name="config_server_04.log" size="91697" author="changein2013@sina.com" created="Wed, 30 Jun 2021 03:29:17 +0000"/>
                            <attachment id="322600" name="config_server_05.log" size="28164" author="changein2013@sina.com" created="Wed, 30 Jun 2021 03:29:17 +0000"/>
                            <attachment id="322601" name="config_server_06.log" size="51536" author="changein2013@sina.com" created="Wed, 30 Jun 2021 03:29:17 +0000"/>
                            <attachment id="322602" name="mongos01.log" size="47491" author="changein2013@sina.com" created="Wed, 30 Jun 2021 03:29:17 +0000"/>
                            <attachment id="322603" name="mongos02.log" size="66551" author="changein2013@sina.com" created="Wed, 30 Jun 2021 03:29:17 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 29 Jun 2021 14:35:02 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            2 years, 31 weeks, 3 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>dmitry.agranat@mongodb.com</customfieldvalue>
            <customfieldvalue>changein2013@sina.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzp3nz:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</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>
                                    <customfieldvalue><![CDATA[dmitry.agranat@mongodb.com]]></customfieldvalue>
    

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

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