<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:18:29 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-28564] How to maintain consistant  connections on mongos</title>
                <link>https://jira.mongodb.org/browse/SERVER-28564</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;After upgrading Mongodb cluster and mongos to V3.2.12, we do see mongos connectoins behaviour changes.   we see application read performance is impacted.&lt;/p&gt;

&lt;p&gt;On March 20 afternoon, all mongos were upgraded to V3.2.12, mongos connections graph changed dramtically.  Did the V3.2.12 mongos close connections more actively ?&lt;br/&gt;
How can we  avoid this behaviour ?&lt;/p&gt;

&lt;p&gt;Mongo Java Driver  version is  3.3. Mongodb is V3.2.12 (MMAPv1)&lt;/p&gt;</description>
                <environment></environment>
        <key id="369615">SERVER-28564</key>
            <summary>How to maintain consistant  connections on mongos</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="mark.agarunov">Mark Agarunov</assignee>
                                    <reporter username="jing66wu@yahoo.com">Jing Wu</reporter>
                        <labels>
                    </labels>
                <created>Thu, 30 Mar 2017 20:44:09 +0000</created>
                <updated>Wed, 31 May 2017 21:23:31 +0000</updated>
                            <resolved>Thu, 6 Apr 2017 22:27:02 +0000</resolved>
                                    <version>3.2.12</version>
                                                    <component>MMAPv1</component>
                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="1543106" author="mark.agarunov" created="Thu, 6 Apr 2017 22:26:51 +0000"  >&lt;p&gt;Hello &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jing66wu%40yahoo.com&quot; class=&quot;user-hover&quot; rel=&quot;jing66wu@yahoo.com&quot;&gt;jing66wu@yahoo.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;After looking into this issue a bit more, it appears to be related to &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-25027&quot; title=&quot;Configurable connection pools size for mongos&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-25027&quot;&gt;&lt;del&gt;SERVER-25027&lt;/del&gt;&lt;/a&gt; where you can find the parameters to adjust the behavior of &lt;tt&gt;mongoS&lt;/tt&gt; connections and descriptions of those parameters. Please note that SERVER project is for reporting bugs or feature suggestions for the MongoDB server. For MongoDB-related support discussion please post on the &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;mongodb-user group&lt;/a&gt; or &lt;a href=&quot;http://stackoverflow.com/questions/tagged/mongodb&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Stack Overflow with the &lt;tt&gt;mongodb&lt;/tt&gt; tag&lt;/a&gt;. A question like this involving more discussion would be best posted on the mongodb-user group.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Mark&lt;/p&gt;</comment>
                            <comment id="1543036" author="mark.agarunov" created="Thu, 6 Apr 2017 20:59:55 +0000"  >&lt;p&gt;Hello &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jing66wu%40yahoo.com&quot; class=&quot;user-hover&quot; rel=&quot;jing66wu@yahoo.com&quot;&gt;jing66wu@yahoo.com&lt;/a&gt;, &lt;/p&gt;

&lt;p&gt;My apologies for the delay in response and any inconvenience this is causing. Unfortunately we are still investigating this behavior and do not yet have an update to this issue, but will provide more information as it becomes available,&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Mark&lt;/p&gt;</comment>
                            <comment id="1541284" author="jing66wu@yahoo.com" created="Wed, 5 Apr 2017 13:03:11 +0000"  >&lt;p&gt;Can you give some advise regarding how to maintain connections to  mongod cluster ?&lt;/p&gt;

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

&lt;p&gt;Jing&lt;/p&gt;</comment>
                            <comment id="1539733" author="jing66wu@yahoo.com" created="Mon, 3 Apr 2017 20:17:07 +0000"  >&lt;p&gt;From application side, they are using `spring-data-mongodb 1.8.0.RELEASE` .&lt;/p&gt;</comment>
                            <comment id="1539149" author="jing66wu@yahoo.com" created="Mon, 3 Apr 2017 12:58:53 +0000"  >&lt;p&gt;Ramon,&lt;/p&gt;

&lt;p&gt;I upgrade mongod and config  from V3.0.14  to V3.2.12 first , mongos V3.0.14 connections behavior didn&apos;t change, then upgrade mongos from V3.0.14 to V3.1.2,  connection behavior changed and application started notice impacts.   Right now, we had to rollback mongos to V3.0.14 and mongod and config are still V3.2.12 in order to reduce impact.&lt;/p&gt;

&lt;p&gt;Do you know if it&apos;s  V3.2 mongos change ? How can we configure mongos to maintain minimal connections from  application ?&lt;/p&gt;

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

&lt;p&gt;Jing &lt;/p&gt;

</comment>
                            <comment id="1539129" author="ramon.fernandez" created="Mon, 3 Apr 2017 12:16:49 +0000"  >&lt;p&gt;What version of &lt;tt&gt;mongos&lt;/tt&gt; did you upgrade from? Did you also change your &lt;tt&gt;mongod&lt;/tt&gt; versions? If so, from which to which?&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Ram&#243;n.&lt;/p&gt;</comment>
                            <comment id="1537407" author="jing66wu@yahoo.com" created="Thu, 30 Mar 2017 20:46:31 +0000"  >&lt;p&gt;we have total 50  app hosts running mongos.&lt;/p&gt;

&lt;p&gt;each mongos has the following configurations:&lt;/p&gt;

&lt;p&gt;&amp;lt;Parameter name=&quot;db.maxConnectionsPerHost&quot; value=&quot;150&quot; override=&quot;true&quot; /&amp;gt;&lt;br/&gt;
&amp;lt;Parameter name=&quot;db.threadsAllowedToBlockForConnectionMultiplier&quot; value=&quot;20&quot; override=&quot;true&quot; /&amp;gt;&lt;br/&gt;
&amp;lt;Parameter name=&quot;db.connectTimeout&quot; value=&quot;30000&quot; override=&quot;true&quot; /&amp;gt;&lt;br/&gt;
&amp;lt;Parameter name=&quot;db.socketTimeout&quot; value=&quot;20000&quot; override=&quot;true&quot; /&amp;gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="300626">SERVER-25027</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="152812" name="ITS2#conn_current_1min.png" size="49413" author="jing66wu@yahoo.com" created="Thu, 30 Mar 2017 20:44:06 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>7.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 3 Apr 2017 12:16:49 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        6 years, 44 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>backlog-server-pm</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            6 years, 44 weeks, 6 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>jing66wu@yahoo.com</customfieldvalue>
            <customfieldvalue>mark.agarunov</customfieldvalue>
            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|ht529b:</customfieldvalue>

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

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

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