<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:59:06 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-2139] server exception</title>
                <link>https://jira.mongodb.org/browse/SERVER-2139</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>

&lt;p&gt;Starting 2 slaves on the ssme box.&lt;br/&gt;
${MONGOHOME}/bin/mongod --dbpath /mnt/data/leadpoint --slave --source ip-10-166-57-74:10000 --port 10002 --fork --logpath /mnt/data/logs/db1 --maxConns 5000 --oplogSize 50000 --autoresync&lt;br/&gt;
${MONGOHOME}/bin/mongod --dbpath /mnt/data/leadpoint2 --slave --source ip-10-166-57-74:10000 --port 10001 --fork --logpath /mnt/data/logs/db2 --maxConns 5000 --oplogSize 50000 --autoresync&lt;/p&gt;

&lt;p&gt;Have problem starting one of the slaves.&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@ip-10-160-26-159 ~&amp;#93;&lt;/span&gt;# !ps&lt;br/&gt;
ps auxww | grep mongo&lt;br/&gt;
root     17220 50.6 27.3 5492692 2156660 ?     Sl   11:18   3:09 /root/mongodb-linux-x86_64-1.6.4/bin/mongod --dbpath /mnt/data/leadpoint2 --slave --source ip-10-166-57-74:10000 --port 10001 --fork --logpath /mnt/data/logs/db2 --maxConns 5000 --oplogSize 50000 --autoresync&lt;br/&gt;
root     17285  0.0  0.0   6024   608 pts/0    S+   11:24   0:00 grep mongo&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;root@ip-10-160-26-159 ~&amp;#93;&lt;/span&gt;# df&lt;br/&gt;
Filesystem           1K-blocks      Used Available Use% Mounted on&lt;br/&gt;
/dev/sda1             10403128   5724644   4154196  58% /&lt;br/&gt;
/dev/sdb             433455904 188227504 223210096  46% /mnt&lt;br/&gt;
none                   3936020         0   3936020   0% /dev/shm&lt;/p&gt;




&lt;p&gt;Tue Nov 23 11:18:40 MongoDB starting : pid=17214 port=10000 dbpath=/mnt/data/leadpoint slave=1 64-bit&lt;br/&gt;
Tue Nov 23 11:18:40 db version v1.6.4, pdfile version 4.5&lt;br/&gt;
Tue Nov 23 11:18:40 git version: 4f5c02f8d92ff213b71b88f5eb643b7f62b50abc&lt;br/&gt;
Tue Nov 23 11:18:40 sys info: Linux domU-12-31-39-06-79-A1 2.6.21.7-2.ec2.v1.2.fc8xen #1 SMP Fri Nov 20 17:48:28 EST 2009 x86_64 BOOST_LIB_VERSION=1_41&lt;br/&gt;
Tue Nov 23 11:18:40 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt;  local.system.namespaces Assertion failure magic == 0x41424344 db/pdfile.h 241&lt;br/&gt;
0x534a61 0x54163f 0x7216f3 0x721d96 0x74ad8f 0x6133b8 0x73c14a 0x741cb0 0x746602 0x74715f 0x747ba7 0x5ff81a 0x70518a 0x7087c6 0x7092b1 0x56d9a8 0x557f1a 0x6ff306 0x822b65 0x8259bc&lt;br/&gt;
 /root/mongodb-linux-x86_64-1.6.4/bin/mongod(_ZN5mongo12sayDbContextEPKc+0xb1) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x534a61&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /root/mongodb-linux-x86_64-1.6.4/bin/mongod(_ZN5mongo8assertedEPKcS1_j+0x10f) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x54163f&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /root/mongodb-linux-x86_64-1.6.4/bin/mongod(_ZN5mongo11DataFileMgr7findAllEPKcRKNS_7DiskLocE+0x143) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7216f3&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /root/mongodb-linux-x86_64-1.6.4/bin/mongod(_ZN5mongo13findTableScanEPKcRKNS_7BSONObjERKNS_7DiskLocE+0xe6) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x721d96&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /root/mongodb-linux-x86_64-1.6.4/bin/mongod(_ZNK5mongo9QueryPlan9newCursorERKNS_7DiskLocEi+0x8ef) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x74ad8f&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /root/mongodb-linux-x86_64-1.6.4/bin/mongod(_ZN5mongo11UserQueryOp5_initEv+0x3a8) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x6133b8&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /root/mongodb-linux-x86_64-1.6.4/bin/mongod(_ZN5mongo12QueryPlanSet6Runner6initOpERNS_7QueryOpE+0x11a) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x73c14a&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /root/mongodb-linux-x86_64-1.6.4/bin/mongod(_ZN5mongo12QueryPlanSet6Runner3runEv+0x290) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x741cb0&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /root/mongodb-linux-x86_64-1.6.4/bin/mongod(_ZN5mongo12QueryPlanSet5runOpERNS_7QueryOpE+0x232) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x746602&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /root/mongodb-linux-x86_64-1.6.4/bin/mongod(_ZN5mongo16MultiPlanScanner9runOpOnceERNS_7QueryOpE+0x5f) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x74715f&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /root/mongodb-linux-x86_64-1.6.4/bin/mongod(_ZN5mongo16MultiPlanScanner5runOpERNS_7QueryOpE+0x17) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x747ba7&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /root/mongodb-linux-x86_64-1.6.4/bin/mongod(&lt;em&gt;ZN5mongo8runQueryERNS_7MessageERNS_12QueryMessageERNS_5CurOpES1&lt;/em&gt;+0x103a) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x5ff81a&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /root/mongodb-linux-x86_64-1.6.4/bin/mongod &lt;span class=&quot;error&quot;&gt;&amp;#91;0x70518a&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /root/mongodb-linux-x86_64-1.6.4/bin/mongod(_ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_8SockAddrE+0x14d6) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7087c6&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /root/mongodb-linux-x86_64-1.6.4/bin/mongod(_ZN5mongo14DBDirectClient4callERNS_7MessageES2_b+0x81) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7092b1&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /root/mongodb-linux-x86_64-1.6.4/bin/mongod(_ZN5mongo14DBClientCursor4initEv+0x148) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x56d9a8&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /root/mongodb-linux-x86_64-1.6.4/bin/mongod(_ZN5mongo12DBClientBase5queryERKSsNS_5QueryEiiPKNS_7BSONObjEii+0x32a) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x557f1a&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /root/mongodb-linux-x86_64-1.6.4/bin/mongod(_ZN5mongo14DBDirectClient5queryERKSsNS_5QueryEiiPKNS_7BSONObjEi+0x56) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x6ff306&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /root/mongodb-linux-x86_64-1.6.4/bin/mongod(_ZN5mongo19clearTmpCollectionsEv+0x185) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x822b65&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /root/mongodb-linux-x86_64-1.6.4/bin/mongod(_ZN5mongo14_initAndListenEiPKc+0x41c) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x8259bc&amp;#93;&lt;/span&gt;&lt;br/&gt;
Tue Nov 23 11:18:40 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; assertion 0 assertion db/pdfile.h:241 ns:local.system.namespaces query:&lt;/p&gt;
{ name: /^local.temp./ }
&lt;p&gt;Tue Nov 23 11:18:40 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; Dropping old temporary collection:&lt;br/&gt;
Tue Nov 23 11:18:40 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; exception in initAndListen std::exception: no collection name, terminating&lt;br/&gt;
Tue Nov 23 11:18:40 dbexit:&lt;/p&gt;

&lt;p&gt;Tue Nov 23 11:18:40 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; shutdown: going to close listening sockets...&lt;br/&gt;
Tue Nov 23 11:18:40 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; shutdown: going to flush oplog...&lt;br/&gt;
Tue Nov 23 11:18:40 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; shutdown: going to close sockets...&lt;br/&gt;
Tue Nov 23 11:18:40 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; shutdown: waiting for fs preallocator...&lt;br/&gt;
Tue Nov 23 11:18:40 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; shutdown: closing all files...&lt;br/&gt;
Tue Nov 23 11:18:40     closeAllFiles() finished&lt;/p&gt;

&lt;p&gt;Tue Nov 23 11:18:40 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; shutdown: removing fs lock...&lt;br/&gt;
Tue Nov 23 11:18:40 dbexit: really exiting now&lt;/p&gt;




</description>
                <environment></environment>
        <key id="13784">SERVER-2139</key>
            <summary>server exception</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="5">Cannot Reproduce</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="joseph.wang">Joseph Wang </reporter>
                        <labels>
                    </labels>
                <created>Tue, 23 Nov 2010 16:25:30 +0000</created>
                <updated>Fri, 30 Mar 2012 14:36:57 +0000</updated>
                            <resolved>Tue, 23 Nov 2010 22:21:38 +0000</resolved>
                                    <version>1.6.4</version>
                                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="20653" author="eliot" created="Tue, 23 Nov 2010 22:21:38 +0000"  >&lt;p&gt;Ok - something was weird in pre-allocation.&lt;/p&gt;

&lt;p&gt;That&apos;s not something we really recommend unless absolutely necessary as we don&apos;t have full control.&lt;/p&gt;</comment>
                            <comment id="20652" author="joseph.wang" created="Tue, 23 Nov 2010 22:18:59 +0000"  >&lt;p&gt;Yes, I removed all preallocated files. It was able to come up afterward.&lt;/p&gt;</comment>
                            <comment id="20650" author="eliot" created="Tue, 23 Nov 2010 22:10:50 +0000"  >&lt;p&gt;So you wiped and let it create files itself and it came up fine?&lt;br/&gt;
If so - it seems like the preallocation failed or wasn&apos;t clean for some reason.&lt;/p&gt;</comment>
                            <comment id="20643" author="joseph.wang" created="Tue, 23 Nov 2010 21:05:03 +0000"  >&lt;p&gt;Same as one documented in&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://blog.boxedice.com/2010/02/28/notes-from-a-production-mongodb-deployment/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://blog.boxedice.com/2010/02/28/notes-from-a-production-mongodb-deployment/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;for i in &lt;/p&gt;
{0..30}
&lt;p&gt;do&lt;br/&gt;
   echo $i&lt;br/&gt;
   head -c 2146435072 /dev/zero &amp;gt; local.$i&lt;br/&gt;
done&lt;/p&gt;</comment>
                            <comment id="20641" author="eliot" created="Tue, 23 Nov 2010 21:00:04 +0000"  >&lt;p&gt;How did you pre-allocate?&lt;br/&gt;
The exception makes it seem like it had some bad data.&lt;/p&gt;</comment>
                            <comment id="20640" author="joseph.wang" created="Tue, 23 Nov 2010 20:56:18 +0000"  >&lt;p&gt; I started from empty db directories for both cases. Then preallocated local.* with 0 before starting up.&lt;br/&gt;
One slave didn&apos;t have problem. The other one did. &lt;/p&gt;

&lt;p&gt;To get the crashed slave up, I ended removing preallocated local.* file for the crashed slave.&lt;/p&gt;</comment>
                            <comment id="20639" author="eliot" created="Tue, 23 Nov 2010 20:51:22 +0000"  >&lt;p&gt;Was there some old data lying around there?&lt;br/&gt;
Is this the first time you brought the slave up?&lt;/p&gt;</comment>
                            <comment id="20638" author="joseph.wang" created="Tue, 23 Nov 2010 20:48:52 +0000"  >&lt;p&gt;I run two mongo slave instances on a EC2 machine. One of the mongo slave instance crashed immediately after startup.&lt;/p&gt;</comment>
                            <comment id="20637" author="eliot" created="Tue, 23 Nov 2010 20:39:42 +0000"  >&lt;p&gt;This this machine or any mongod process crash?&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>9.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 23 Nov 2010 20:39:42 +0000</customfieldvalue>

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

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

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

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