<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:33:35 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-14016] Record insertion time increased after upgrading to 2.6</title>
                <link>https://jira.mongodb.org/browse/SERVER-14016</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;I have 3 mongodb servers running as replica set. The primary gets data at the rate of ~2.5K inserts per second. The data contains an array of around 2.5kb in size, upto 4 levels deep. The documents are being inserted in fire and forget mode from a php client.&lt;br/&gt;
With Mongo 2.4.10, the inserts used to happen in microseconds range(say 100us-800us). I upgraded to 2.6.1 and now single insert happens in millisecond range(1ms-400ms).&lt;br/&gt;
I frequently see this in my logs &quot;command adb.$cmd command: insert &lt;/p&gt;
{ $msg: &quot;query not recording (too large)&quot; }
&lt;p&gt; keyUpdates:0 numYields:0 locks(micros) w:98 reslen:33 606ms&quot;&lt;br/&gt;
Any advice on fixing this ?&lt;/p&gt;

&lt;p&gt;The 3 servers are running in 3 machines of same configuration with 32GB RAM. After upgrading i see an increased RAM consumption in the same machine. Is this expected? &lt;/p&gt;

&lt;p&gt;Moreover, i see these in system logs:&lt;br/&gt;
php&lt;span class=&quot;error&quot;&gt;&amp;#91;4619&amp;#93;&lt;/span&gt;: segfault at 1 ip 00007f87ed26d1c7 sp 00007ffffbf6c938 error 6 in mongo.so (deleted)&lt;span class=&quot;error&quot;&gt;&amp;#91;7f87ed25d000+49000&amp;#93;&lt;/span&gt;&lt;/p&gt;


&lt;p&gt;Kindly advice.&lt;/p&gt;</description>
                <environment></environment>
        <key id="137463">SERVER-14016</key>
            <summary>Record insertion time increased after upgrading to 2.6</summary>
                <type id="6" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14720&amp;avatarType=issuetype">Question</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="soorajb">Sooraj B</reporter>
                        <labels>
                    </labels>
                <created>Wed, 21 May 2014 13:53:05 +0000</created>
                <updated>Wed, 10 Dec 2014 23:11:38 +0000</updated>
                            <resolved>Wed, 21 May 2014 16:50:59 +0000</resolved>
                                    <version>2.6.1</version>
                                                    <component>Performance</component>
                    <component>Write Ops</component>
                                        <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="593183" author="soorajb" created="Thu, 22 May 2014 17:02:54 +0000"  >&lt;p&gt;~bjori I had to downgrade to 2.4.10 immediately so cannot get the crash dump now. I will be doing some more tests and if I am able to re create it, I will file a ticket with all info and backtraces.&lt;/p&gt;</comment>
                            <comment id="593160" author="bjori" created="Thu, 22 May 2014 16:41:08 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=soorajb&quot; class=&quot;user-hover&quot; rel=&quot;soorajb&quot;&gt;soorajb&lt;/a&gt; could you generate a backtrace for the PHP segfault (see &lt;a href=&quot;https://bugs.php.net/bugs-generating-backtrace.php&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://bugs.php.net/bugs-generating-backtrace.php&lt;/a&gt;) and create a PHP ticket for it?&lt;/p&gt;
</comment>
                            <comment id="593142" author="soorajb" created="Thu, 22 May 2014 16:30:03 +0000"  >&lt;p&gt;Thank you for the prompt response Thomas &amp;amp; Jason.&lt;br/&gt;
I see that fire and forget mode is taken down in 2.6.1 and there is no other choice than downgrading to 2.4.10.&lt;/p&gt;

&lt;p&gt;Thanks again guys.&lt;/p&gt;</comment>
                            <comment id="591886" author="rassi@10gen.com" created="Wed, 21 May 2014 17:23:51 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=soorajb&quot; class=&quot;user-hover&quot; rel=&quot;soorajb&quot;&gt;soorajb&lt;/a&gt;: the PHP crash in mongo.so is a separate issue unrelated to the performance problem you&apos;re reporting, and could be due to a bug in the PHP driver.  Please file a ticket at &amp;lt;&lt;a href=&quot;https://jira.mongodb.org/browse/PHP&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/PHP&lt;/a&gt;&amp;gt;, and include the version of the PHP driver you&apos;re using in the ticket description.&lt;/p&gt;</comment>
                            <comment id="591837" author="thomasr" created="Wed, 21 May 2014 16:50:23 +0000"  >&lt;p&gt;Hi Soorja, &lt;/p&gt;

&lt;p&gt;You may want to look at &lt;a href=&quot;http://docs.mongodb.org/manual/core/bulk-inserts/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Bulk Inserts&lt;/a&gt; to improve the performance of your writes in 2.6+.&lt;/p&gt;

&lt;p&gt;The SERVER project is for reporting bugs or feature suggestions for the MongoDB server. &lt;/p&gt;

&lt;p&gt;For MongoDB-related support discussion please post on the mongodb-users group (&lt;a href=&quot;http://groups.google.com/group/mongodb-user&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://groups.google.com/group/mongodb-user&lt;/a&gt;) or Stack Overflow with the &quot;mongodb&quot; tag. A question like this involving more discussion would be best posted on the mongodb-users group. &lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Thomas&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>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 21 May 2014 16:50:23 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        9 years, 38 weeks, 6 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>
                            9 years, 38 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>bjori</customfieldvalue>
            <customfieldvalue>rassi</customfieldvalue>
            <customfieldvalue>soorajb</customfieldvalue>
            <customfieldvalue>thomas.rueckstiess@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrlumf:</customfieldvalue>

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

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

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