<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:44:03 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>[CSHARP-2985] Sudden increase in connections</title>
                <link>https://jira.mongodb.org/browse/CSHARP-2985</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;Hi Everyone,&lt;/p&gt;

&lt;p&gt;We are using mongodb configured as ReplicaSet, with one primary instance and 3 secondary instances.&lt;/p&gt;

&lt;p&gt;Our problem is that sometimes, the number of connections suddenly increases, and from that start several timeout errors, etc.&lt;/p&gt;

&lt;p&gt;Could anyone help me understand what may be causing this problem?&lt;/p&gt;</description>
                <environment>Ubuntu 18.04.2 LTS&lt;br/&gt;
c5.large aws instance&lt;br/&gt;
DocumentDB 3.6</environment>
        <key id="1210372">CSHARP-2985</key>
            <summary>Sudden increase in connections</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="vincent.kam@mongodb.com">Vincent Kam</assignee>
                                    <reporter username="coutinho.robs@gmail.com">Robson Coutinho</reporter>
                        <labels>
                    </labels>
                <created>Sun, 1 Mar 2020 21:19:09 +0000</created>
                <updated>Thu, 5 Mar 2020 11:13:23 +0000</updated>
                            <resolved>Wed, 4 Mar 2020 21:56:45 +0000</resolved>
                                    <version>2.10.2</version>
                                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="2939689" author="coutinho.robs@gmail.com" created="Thu, 5 Mar 2020 11:13:23 +0000"  >&lt;p&gt;Hi Vincent,&lt;/p&gt;

&lt;p&gt;I appreciate it. Yesterday we discovered a possible cause for these spikes in connections, and it makes sense with what you mentioned. Some areas of our applications are bringing and saving very large documents. There is always an increase in the VolumeWriteIOPS metric before peak connections occur.&lt;/p&gt;

&lt;p&gt;Thank you all&lt;/p&gt;</comment>
                            <comment id="2935334" author="vincent.kam" created="Wed, 4 Mar 2020 21:46:35 +0000"  >&lt;p&gt;Hi&#160;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=coutinho.robs%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;coutinho.robs@gmail.com&quot;&gt;coutinho.robs@gmail.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Thanks for reaching out! I wish I could tell you why you are seeing this spike in connections: unfortunately, I was unable to determine why from the information provided. &lt;/p&gt;

&lt;p&gt;One possibility that &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=rstam&quot; class=&quot;user-hover&quot; rel=&quot;rstam&quot;&gt;rstam&lt;/a&gt; noted is that the spike in connections may be caused by a sudden slowdown in the server: if&#160;the server slows down for some reason and the client is under heavy load, that will naturally result in a spike in connections as connections associated with slow queries would not get returned to the connection pool as quickly as they normally would.&lt;/p&gt;

&lt;p&gt;As your report does not appear to describe a bug specific to .NET/C# driver and the CSHARP project is for reporting bugs or feature suggestions for the driver, I think the&#160;&lt;a href=&quot;https://community.mongodb.com/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;MongoDB Community Forums&lt;/a&gt;&#160;may be a better place for your question. If you have more information that would indicate that there&apos;s a bug in the C#/.NET driver, we would be more than happy to investigate.&#160;&lt;br/&gt;
&#160;&lt;br/&gt;
Kind regards,&lt;br/&gt;
 Vincent&lt;/p&gt;</comment>
                            <comment id="2921594" author="coutinho.robs@gmail.com" created="Sun, 1 Mar 2020 21:36:33 +0000"  >&lt;p&gt;Connection Pool set to maxConnectionPool = 1000&lt;/p&gt;

&lt;p&gt;ConnectionString&lt;/p&gt;

&lt;p&gt;mongodb://user:pass@cluster-address:27017,primary-address:27017,secondary-address1:27017,secondary-address2:27017,secondary-address3:27017/?ssl=true&amp;amp;ssl_ca_certs=rds-combined-ca-bundle.pem&amp;amp;replicaSet=rs0&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="249593" name="inscrease-connections.png" size="129542" author="coutinho.robs@gmail.com" created="Sun, 1 Mar 2020 21:20:27 +0000"/>
                            <attachment id="249594" name="screenshot-1.png" size="158688" author="coutinho.robs@gmail.com" created="Sun, 1 Mar 2020 21:24:33 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr7q1b:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>