<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:14:34 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-7447] Sharded legacy-static build goes into uninterruptible sleep on kernel 2.6.16</title>
                <link>https://jira.mongodb.org/browse/SERVER-7447</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;&lt;a href=&quot;https://groups.google.com/forum/?fromgroups=#!topic/mongodb-user/iKEK4ZISvSc&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/iKEK4ZISvSc&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;These days, i need to scale out my single node mongodb service into a&lt;br/&gt;
mongodb cluster.&lt;br/&gt;
I use 2 machines to set up a mongodb cluster, it includes 2 shards(mongod&lt;br/&gt;
process), 1 config process and 1 mongs process. The details are as the&lt;br/&gt;
follow:&lt;/p&gt;

&lt;p&gt;step1. start config process&lt;br/&gt;
bin/mongod --bind_ip 10.163.138.87 --configsvr --fork --dbpath&lt;br/&gt;
/data/mongodb/config --logpath /data/mongodb/log/config.log --logappend --port&lt;br/&gt;
20000&lt;br/&gt;
step2. start shard services&lt;br/&gt;
bin/mongod --bind_ip 10.163.138.87 --fork --shardsvr --port 10000 --dbpath&lt;br/&gt;
/data/mongodb/data --logpath /data/mongodb/log/mongod.log --logappend&lt;br/&gt;
bin/mongod --bind_ip 10.163.138.88 --fork --shardsvr --port 10000 --dbpath&lt;br/&gt;
/data/mongodb/data --logpath /data/mongodb/log/mongod.log --logappend&lt;br/&gt;
step3. start mongos service&lt;br/&gt;
bin/mongos --bind_ip 10.163.138.87 --port 30000 --fork --configdb&lt;br/&gt;
10.163.138.87:20000 --logpath /data/mongodb/log/mongos.log --logappend&lt;br/&gt;
step4. log on the mongos and config shards&lt;br/&gt;
bin/mongo 10.163.138.87:30000&lt;br/&gt;
mongos&amp;gt; use admin&lt;br/&gt;
mongos&amp;gt; db.runCommand(&lt;/p&gt;
{addshard:&quot;10.163.138.87:10000&quot;}
&lt;p&gt;)&lt;/p&gt;

&lt;p&gt;mongos&amp;gt; db.runCommand(&lt;/p&gt;
{addshard:&quot;10.163.138.88:10000&quot;}
&lt;p&gt;)&lt;/p&gt;

&lt;p&gt;mongos&amp;gt; db.runCommand(&lt;/p&gt;
{ &quot;enablesharding&quot; : &quot;query&quot;}
&lt;p&gt;)&lt;/p&gt;

&lt;p&gt;mongos&amp;gt; db.runCommand({ &quot;shardcollection&quot; : &quot;query.DailyPcQueryStats&quot;,&lt;br/&gt;
&quot;key&quot; :{ &quot;d&quot;:1, &quot;qpc&quot;:1, &quot;ua&quot; : 1}})&lt;br/&gt;
step5: use mongoimport to insert data into the collection &quot;&lt;br/&gt;
query.DailyPcQueryStats&quot;.&lt;br/&gt;
But...&lt;br/&gt;
The problem ocurrs. when I inserting into collections, the mongd process&lt;br/&gt;
turn into a state of &apos;uninterruptable sleep&apos;, and can not recover. Other&lt;br/&gt;
processes accessing the same disk also get into the same state, and I can&apos;t&lt;br/&gt;
even reboot the system with commands. The ONLY thing I can do is to press&lt;br/&gt;
the reboot button.&lt;/p&gt;

&lt;p&gt;And i test the 2 machines as stand-alone mongodb service. And i almost&lt;br/&gt;
import over 300 million data, it&apos;s ok.&lt;br/&gt;
I wonder why the mongodb cluster perform like this? Where is the problem?&lt;/p&gt;

&lt;p&gt;And i test like this: I start all mongodb cluster processes on 1 machine(&lt;br/&gt;
10.163.138.88), include 2 shards, 1 config, 1 mongos. And I insert data&lt;br/&gt;
into it, it is ok!!! Too strange&#65281;&lt;br/&gt;
Single node is ok, multi node has problem?&lt;/p&gt;</description>
                <environment></environment>
        <key id="54031">SERVER-7447</key>
            <summary>Sharded legacy-static build goes into uninterruptible sleep on kernel 2.6.16</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="-1">Unassigned</assignee>
                                    <reporter username="gregor">Gregor Macadam</reporter>
                        <labels>
                    </labels>
                <created>Tue, 23 Oct 2012 10:14:17 +0000</created>
                <updated>Mon, 11 Jul 2016 17:57:38 +0000</updated>
                            <resolved>Mon, 28 Oct 2013 00:30:46 +0000</resolved>
                                    <version>2.2.0</version>
                                                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="447363" author="stennie" created="Mon, 28 Oct 2013 00:30:46 +0000"  >&lt;p&gt;Closing as per last comment on &lt;a href=&quot;https://groups.google.com/forum/?fromgroups=#!topic/mongodb-user/iKEK4ZISvSc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Google Groups&lt;/a&gt;:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;   This problem is sloved, and I am sorry to reply too late because I was not able to access google groups these days. &lt;br/&gt;
    In general&#65292; the cause of the problem is the version problem.  We didn&apos;t use the regular build in the beginning because it couldn&apos;t run in our OS(Linux version 2.6.16.60-0.21). Finally, we choose thelegacy-static build as an alternative. &lt;br/&gt;
    We update the kernel of the linux from 2.6.16 to 2.6.32 and the regular build can run on the new OS. &lt;br/&gt;
    Now, everything goes well.&lt;/p&gt;&lt;/blockquote&gt;</comment>
                            <comment id="236608" author="eliot" created="Thu, 10 Jan 2013 22:58:29 +0000"  >&lt;p&gt;The legacy-static build is a bit odd because its statically linked.&lt;br/&gt;
Is there a reason you have to run it over the regular?&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>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 10 Jan 2013 22:58:29 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        10 years, 16 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>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            10 years, 16 weeks, 3 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>eliot</customfieldvalue>
            <customfieldvalue>gregor</customfieldvalue>
            <customfieldvalue>stephen.steneker@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrnk87:</customfieldvalue>

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

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

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