<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:02:22 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-3193] mongod hangs when rotate the log</title>
                <link>https://jira.mongodb.org/browse/SERVER-3193</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;I have a mongod master process with 7 slaves process on same machine, everything goes fine before I started using  killall -SIGUSR1 mongod, every 2 days one of my server&apos;s master mongod will stop working. but slaves are fine, I can connect to the listening port using nc. But I can&apos;t connect to the mongod using mongo shell ,it hangs. And I can not kill the mongod master process using kill -2 &amp;lt;pid&amp;gt;, All I have to do is using kill -9 and repair my db, It is costy and unpractical, &lt;/p&gt;

&lt;p&gt;I checked the log everything is fine, but the new log is empty, It seems mongod didn&apos;t rotate the log successfully. It caused the filesystem deadlock??&lt;/p&gt;</description>
                <environment>centos 5.5</environment>
        <key id="17899">SERVER-3193</key>
            <summary>mongod hangs when rotate the log</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="dawn">davyzhang</reporter>
                        <labels>
                            <label>log</label>
                            <label>rotate</label>
                    </labels>
                <created>Sat, 4 Jun 2011 08:43:02 +0000</created>
                <updated>Sat, 3 Sep 2011 05:26:20 +0000</updated>
                            <resolved>Sat, 3 Sep 2011 05:26:20 +0000</resolved>
                                    <version>1.8.1</version>
                                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="52348" author="eliot" created="Sat, 3 Sep 2011 05:26:20 +0000"  >&lt;p&gt;See &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3339&quot; title=&quot;mongod process hangs after USR1 signal&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-3339&quot;&gt;&lt;del&gt;SERVER-3339&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="36123" author="dawn" created="Sat, 4 Jun 2011 08:55:31 +0000"  >&lt;p&gt;mongod --master --fork --logpath /opt/zoubiao_log/zoubiao/mongo/master.log --logappend --port 27417 --dbpath /data/dt_master_0/&lt;/p&gt;

&lt;p&gt;mongod --slave --autoresync --fork --logpath /opt/zoubiao_log/zoubiao/mongo/slave_27418.log --logappend --source localhost:27417 --port 27418 --dbpath /data/dt_slave_27418/&lt;/p&gt;

&lt;p&gt;log is big I can only paste the last lines of them&lt;/p&gt;

&lt;p&gt;Sat Jun  4 15:59:58 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; connection accepted from 10.168.0.85:45401 #1156777&lt;br/&gt;
Sat Jun  4 15:59:58 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1156691&amp;#93;&lt;/span&gt; end connection 10.168.0.86:48093&lt;br/&gt;
Sat Jun  4 15:59:58 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1156697&amp;#93;&lt;/span&gt; end connection 10.168.0.86:48107&lt;br/&gt;
Sat Jun  4 15:59:58 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; connection accepted from 10.168.0.86:48126 #1156778&lt;br/&gt;
Sat Jun  4 15:59:58 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1156705&amp;#93;&lt;/span&gt; end connection 10.168.0.85:45394&lt;br/&gt;
Sat Jun  4 15:59:58 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1156703&amp;#93;&lt;/span&gt; end connection 10.168.0.85:45392&lt;br/&gt;
Sat Jun  4 15:59:58 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1156707&amp;#93;&lt;/span&gt; end connection 10.168.0.85:45401&lt;br/&gt;
Sat Jun  4 15:59:59 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; connection accepted from 10.168.0.85:45420 #1156779&lt;br/&gt;
Sat Jun  4 15:59:59 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; connection accepted from 10.168.0.85:45425 #1156780&lt;br/&gt;
Sat Jun  4 15:59:59 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1156709&amp;#93;&lt;/span&gt; end connection 10.168.0.85:45420&lt;br/&gt;
Sat Jun  4 15:59:59 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1156710&amp;#93;&lt;/span&gt; end connection 10.168.0.85:45425&lt;br/&gt;
Sat Jun  4 15:59:59 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; connection accepted from 10.168.0.86:48135 #1156781&lt;br/&gt;
Sat Jun  4 15:59:59 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1156689&amp;#93;&lt;/span&gt; end connection 10.168.0.86:48092&lt;br/&gt;
Sat Jun  4 15:59:59 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1156702&amp;#93;&lt;/span&gt; end connection 10.168.0.86:48120&lt;br/&gt;
Sat Jun  4 15:59:59 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1156696&amp;#93;&lt;/span&gt; end connection 10.168.0.86:48106&lt;br/&gt;
Sat Jun  4 15:59:59 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; connection accepted from 10.168.0.86:48137 #1156782&lt;br/&gt;
Sat Jun  4 15:59:59 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; connection accepted from 10.168.0.85:45443 #1156783&lt;br/&gt;
Sat Jun  4 15:59:59 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; connection accepted from 10.168.0.86:48138 #1156784&lt;br/&gt;
Sat Jun  4 15:59:59 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; connection accepted from 10.168.0.86:48141 #1156785&lt;br/&gt;
Sat Jun  4 15:59:59 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1156701&amp;#93;&lt;/span&gt; end connection 10.168.0.86:48112&lt;br/&gt;
Sat Jun  4 15:59:59 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1156708&amp;#93;&lt;/span&gt; end connection 10.168.0.86:48126&lt;br/&gt;
Sat Jun  4 15:59:59 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1156699&amp;#93;&lt;/span&gt; end connection 10.168.0.86:48110&lt;br/&gt;
Sat Jun  4 15:59:59 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1156706&amp;#93;&lt;/span&gt; end connection 10.168.0.86:48124&lt;br/&gt;
Sat Jun  4 15:59:59 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1156713&amp;#93;&lt;/span&gt; end connection 10.168.0.85:45443&lt;br/&gt;
Sat Jun  4 15:59:59 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; connection accepted from 10.168.0.114:22402 #1156786&lt;br/&gt;
Sat Jun  4 15:59:59 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1156716&amp;#93;&lt;/span&gt; end connection 10.168.0.114:22402&lt;br/&gt;
Sat Jun  4 16:00:00 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; connection accepted from 10.168.0.86:48149 #1156787&lt;br/&gt;
Sat Jun  4 16:00:00 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; connection accepted from 10.168.0.85:45456 #1156788&lt;br/&gt;
Sat Jun  4 16:00:00 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; connection accepted from 10.168.0.86:48151 #1156789&lt;br/&gt;
Sat Jun  4 16:00:00 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; connection accepted from 10.168.0.85:45459 #1156790&lt;br/&gt;
Sat Jun  4 16:00:00 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; connection accepted from 10.168.0.85:45463 #1156791&lt;br/&gt;
Sat Jun  4 16:00:00 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; connection accepted from 10.168.0.86:48153 #1156792&lt;br/&gt;
Sat Jun  4 16:00:00 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; connection accepted from 10.168.0.86:48155 #1156793&lt;br/&gt;
Sat Jun  4 16:00:00 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1156712&amp;#93;&lt;/span&gt; end connection 10.168.0.86:48137&lt;br/&gt;
Sat Jun  4 16:00:00 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1156718&amp;#93;&lt;/span&gt; end connection 10.168.0.85:45456&lt;br/&gt;
Sat Jun  4 16:00:00 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1156720&amp;#93;&lt;/span&gt; end connection 10.168.0.85:45459&lt;br/&gt;
Sat Jun  4 16:00:00 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1156721&amp;#93;&lt;/span&gt; end connection 10.168.0.85:45463&lt;br/&gt;
Sat Jun  4 16:00:01 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; connection accepted from 10.168.0.85:45488 #1156794&lt;br/&gt;
Sat Jun  4 16:00:01 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; connection accepted from 10.168.0.85:45488 #1156794&lt;/p&gt;


&lt;p&gt;after 16:00:01 there&apos;s only an empty file named master.log and mongod hangs&lt;/p&gt;

&lt;p&gt;this problem never happens before I using log rotate&lt;/p&gt;

&lt;p&gt;about 7 slaves on same server ,I wanna make query more fast ,but it looks a wrong idea right now, but thats another topic&lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/biggrin.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="36122" author="scotthernandez" created="Sat, 4 Jun 2011 08:48:34 +0000"  >&lt;p&gt;What are the command line options (config-file) you are using?&lt;/p&gt;

&lt;p&gt;Why are you running 7 slaves on the same machine?&lt;/p&gt;

&lt;p&gt;Can you provide the logs from the master when is stops working?&lt;/p&gt;</comment>
                            <comment id="36121" author="dawn" created="Sat, 4 Jun 2011 08:44:53 +0000"  >&lt;p&gt;I am using killall -SIGUSR1 mongod in crontab for every hour,&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>Sat, 4 Jun 2011 08:48:34 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        12 years, 24 weeks, 4 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, 24 weeks, 4 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="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>dawn</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>scotthernandez</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hroyof:</customfieldvalue>

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

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

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