<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:39:50 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-1515] Queries using the Legacy API can leak connections resulting in  TimeoutExceptions</title>
                <link>https://jira.mongodb.org/browse/CSHARP-1515</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;After upgrading from 2.0 to 2.2, I started getting System.TimeoutExceptions a few minutes after starting my app. The timeouts are occurring after 0ms, which seems like it&apos;s a problem.&lt;/p&gt;

&lt;p&gt;System.TimeoutException: Timed out waiting for a connection after 0ms.&lt;br/&gt;
   at MongoDB.Driver.Core.ConnectionPools.ExclusiveConnectionPool.AcquireConnectionHelper.EnteredPool(Boolean enteredPool)&lt;br/&gt;
   at MongoDB.Driver.Core.ConnectionPools.ExclusiveConnectionPool.AcquireConnection(CancellationToken cancellationToken)&lt;br/&gt;
   at MongoDB.Driver.Core.Servers.ClusterableServer.GetChannel(CancellationToken cancellationToken)&lt;br/&gt;
   at MongoDB.Driver.Core.Operations.FindOperation`1.Execute(IReadBinding binding, CancellationToken cancellationToken)&lt;br/&gt;
   at MongoDB.Driver.MongoCursor`1.GetEnumerator()&lt;/p&gt;

&lt;p&gt;2016-01-14:&lt;/p&gt;

&lt;p&gt;The bug is that queries using the Legacy API can fail to return a connection to the connection pool. The bug is triggered when the result set is large enough that the results are returned in multiple batches. Each time such a query is made one connection is failed to be returned to the connection pool, and once all the connections in the pool have been leaked no further queries can be made (with the symptom being that a TimeoutException is thrown from AcquireConnection).&lt;/p&gt;</description>
                <environment></environment>
        <key id="244490">CSHARP-1515</key>
            <summary>Queries using the Legacy API can leak connections resulting in  TimeoutExceptions</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://jira.mongodb.org/images/icons/priorities/blocker.svg">Blocker - P1</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="robert@mongodb.com">Robert Stam</assignee>
                                    <reporter username="borigas@nebraskaglobal.com">Ben Origas</reporter>
                        <labels>
                            <label>regression</label>
                    </labels>
                <created>Fri, 18 Dec 2015 15:45:59 +0000</created>
                <updated>Tue, 16 Nov 2021 16:01:56 +0000</updated>
                            <resolved>Wed, 13 Jan 2016 19:32:48 +0000</resolved>
                                    <version>2.2</version>
                                    <fixVersion>2.2.2</fixVersion>
                                    <component>Connectivity</component>
                                        <votes>5</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="1147376" author="moshe@imonlinegroup.com" created="Tue, 19 Jan 2016 16:15:53 +0000"  >&lt;p&gt;ok. no problem&lt;/p&gt;</comment>
                            <comment id="1147327" author="craiggwilson" created="Tue, 19 Jan 2016 15:49:33 +0000"  >&lt;p&gt;Moshe,&lt;/p&gt;

&lt;p&gt;This seems like a completely different issue. I&apos;ve created &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-1538&quot; title=&quot;Legacy Driver Connect() times out.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-1538&quot;&gt;&lt;del&gt;CSHARP-1538&lt;/del&gt;&lt;/a&gt; to work through this. I&apos;ll be asking a questions on the new ticket, so please check and send your answers there.&lt;/p&gt;

&lt;p&gt;Craig&lt;/p&gt;</comment>
                            <comment id="1147307" author="moshe@imonlinegroup.com" created="Tue, 19 Jan 2016 15:38:07 +0000"  >&lt;p&gt;i call connect once per process same regarding MongoServer&lt;/p&gt;</comment>
                            <comment id="1147291" author="craiggwilson" created="Tue, 19 Jan 2016 15:26:52 +0000"  >&lt;p&gt;Moshe,&lt;/p&gt;

&lt;p&gt;Are you calling Connect a lot? Technically, you don&apos;t even need to call Connect. Even if you are, it only needs to be called once. The reason I&apos;m interested is because it makes me wonder about what the code looks like below this... Could you provide a snippet of code around this call and perhaps some context for it? For instance, do you get a new MongoServer and call Connect for every web request?&lt;/p&gt;

&lt;p&gt;Craig&lt;/p&gt;</comment>
                            <comment id="1147245" author="moshe@imonlinegroup.com" created="Tue, 19 Jan 2016 14:48:29 +0000"  >&lt;p&gt;hi Craig&lt;br/&gt;
i am speaking about working environment , which connects successfully 99% of the time, but once in a while we have this exception i sent you.&lt;/p&gt;</comment>
                            <comment id="1147230" author="craiggwilson" created="Tue, 19 Jan 2016 14:37:26 +0000"  >&lt;p&gt;Hi Moshe, &lt;/p&gt;

&lt;p&gt;First off, please remember this is a public ticket and your stack trace contained your server information. I&apos;ve removed it.&lt;/p&gt;

&lt;p&gt;The stack trace you posted above is telling us it cannot talk to the server in your connection string. That&apos;s what the Disconnected means above. Please ensure that your hostname and ports are correct and that you have network connectivity to this box. One way to check this is to use the mongo shell.&lt;/p&gt;

&lt;p&gt;Craig&lt;/p&gt;</comment>
                            <comment id="1147072" author="moshe@imonlinegroup.com" created="Tue, 19 Jan 2016 11:35:54 +0000"  >&lt;p&gt;here is what we add to connection string connecttimeout=300000;maxpoolsize=800;waitQueueSize=2000;waitQueueTimeout=5m.&lt;/p&gt;

&lt;p&gt;but there are still bottlenecks, it did not happen in the old legacy driver&lt;/p&gt;</comment>
                            <comment id="1147069" author="moshe@imonlinegroup.com" created="Tue, 19 Jan 2016 11:29:40 +0000"  >&lt;p&gt;hi &lt;br/&gt;
we have upgraded to 2.2.2 and even though we see the improvement, we still have connection timeout issues. here is the stacktrace:&lt;br/&gt;
Unhandled Exception: System.TimeoutException: A timeout occured after 30000ms se&lt;br/&gt;
lecting a server using CompositeServerSelector{ Selectors = ReadPreferenceServer&lt;br/&gt;
Selector{ ReadPreference = &lt;/p&gt;
{ Mode = Primary, TagSets = [] }
&lt;p&gt; }, LatencyLimitingSe&lt;br/&gt;
rverSelector&lt;/p&gt;
{ AllowedLatencyRange = 00:00:00.0150000 }
&lt;p&gt; }. Client view of cluster&lt;br/&gt;
 state is { ClusterId : &quot;1&quot;, ConnectionMode : &quot;Automatic&quot;, Type : &quot;Unknown&quot;, Sta&lt;br/&gt;
te : &quot;Disconnected&quot;, Servers : [{ ServerId: &quot;&lt;/p&gt;
{ ClusterId : 1, EndPoint : &quot;Unspec
ified/host:port&quot; }
&lt;p&gt;&quot;, EndPoint: &quot;Unspecified/host/port&quot;, State: &quot;Disconnected&quot;, Type: &quot;Unknown&quot; }] }.&lt;br/&gt;
   at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector&lt;br/&gt;
 selector, ClusterDescription description)&lt;br/&gt;
   at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.Handl&lt;br/&gt;
eCompletedTask(Task completedTask)&lt;br/&gt;
   at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSele&lt;br/&gt;
ctor selector, ClusterDescription description, Task descriptionChangedTask, Time&lt;br/&gt;
Span timeout, CancellationToken cancellationToken)&lt;br/&gt;
   at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector&lt;br/&gt;
, CancellationToken cancellationToken)&lt;br/&gt;
   at MongoDB.Driver.MongoServer.Connect(TimeSpan timeout)&lt;br/&gt;
   at MongoDB.Driver.MongoServer.Connect()&lt;/p&gt;
</comment>
                            <comment id="1134892" author="xgen-internal-githook" created="Thu, 14 Jan 2016 15:10:25 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;rstam&apos;, u&apos;name&apos;: u&apos;rstam&apos;, u&apos;email&apos;: u&apos;robert@robertstam.org&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-1515&quot; title=&quot;Queries using the Legacy API can leak connections resulting in  TimeoutExceptions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-1515&quot;&gt;&lt;del&gt;CSHARP-1515&lt;/del&gt;&lt;/a&gt;: Remove unnecessary classes.&lt;br/&gt;
Branch: v2.2.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/b62b11e3a7f0a33831dd07018d5ff2fe126597c7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/b62b11e3a7f0a33831dd07018d5ff2fe126597c7&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1134891" author="xgen-internal-githook" created="Thu, 14 Jan 2016 15:10:24 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;rstam&apos;, u&apos;name&apos;: u&apos;rstam&apos;, u&apos;email&apos;: u&apos;robert@robertstam.org&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-1515&quot; title=&quot;Queries using the Legacy API can leak connections resulting in  TimeoutExceptions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-1515&quot;&gt;&lt;del&gt;CSHARP-1515&lt;/del&gt;&lt;/a&gt;: Dispose of cursor in AsyncCursorEnumeratorAdapter.&lt;br/&gt;
Branch: v2.2.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/ed71e559e14b791d290acae86d0d254a4e753a87&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/ed71e559e14b791d290acae86d0d254a4e753a87&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1134065" author="xgen-internal-githook" created="Wed, 13 Jan 2016 19:31:25 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;rstam&apos;, u&apos;name&apos;: u&apos;rstam&apos;, u&apos;email&apos;: u&apos;robert@robertstam.org&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-1515&quot; title=&quot;Queries using the Legacy API can leak connections resulting in  TimeoutExceptions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-1515&quot;&gt;&lt;del&gt;CSHARP-1515&lt;/del&gt;&lt;/a&gt;: Remove unnecessary classes.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/482ea3d09cdcabed4ea06b2f8790cc9ce89ada93&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/482ea3d09cdcabed4ea06b2f8790cc9ce89ada93&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1134064" author="xgen-internal-githook" created="Wed, 13 Jan 2016 19:31:24 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;rstam&apos;, u&apos;name&apos;: u&apos;rstam&apos;, u&apos;email&apos;: u&apos;robert@robertstam.org&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-1515&quot; title=&quot;Queries using the Legacy API can leak connections resulting in  TimeoutExceptions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-1515&quot;&gt;&lt;del&gt;CSHARP-1515&lt;/del&gt;&lt;/a&gt;: Dispose of cursor in AsyncCursorEnumeratorAdapter.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/38590103ae76d9ea5f5398b1e7648f6ba7760fb2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/38590103ae76d9ea5f5398b1e7648f6ba7760fb2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1133786" author="craiggwilson" created="Wed, 13 Jan 2016 16:48:33 +0000"  >&lt;p&gt;Our release notes document what was fixed and what new features were added. You can see those here: &lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/releases/tag/v2.2.0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/releases/tag/v2.2.0&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="1133762" author="moshe@imonlinegroup.com" created="Wed, 13 Jan 2016 16:41:30 +0000"  >&lt;p&gt;ok.&lt;br/&gt;
last thing: can u refer of any known issues with that version?&lt;/p&gt;</comment>
                            <comment id="1133711" author="craiggwilson" created="Wed, 13 Jan 2016 16:21:01 +0000"  >&lt;p&gt;You can get the dll&apos;s from the same place you got the 2.2 version. Either from github releases or from nuget.&lt;/p&gt;

&lt;p&gt;It supports server 3.2, but not any new features. You would absolutely want to test your application before deploying to production.&lt;/p&gt;</comment>
                            <comment id="1133697" author="moshe@imonlinegroup.com" created="Wed, 13 Jan 2016 16:17:21 +0000"  >&lt;p&gt;ok. &lt;br/&gt;
how can i get the dll?&lt;br/&gt;
does it support mongo 3.2?&lt;/p&gt;</comment>
                            <comment id="1133676" author="craiggwilson" created="Wed, 13 Jan 2016 16:09:52 +0000"  >&lt;p&gt;Yes. Every 2.x release supports the legacy API.&lt;/p&gt;</comment>
                            <comment id="1133672" author="moshe@imonlinegroup.com" created="Wed, 13 Jan 2016 16:07:43 +0000"  >&lt;p&gt;our flow is using legacy api. does 2.1 support it?&lt;/p&gt;</comment>
                            <comment id="1133572" author="craiggwilson" created="Wed, 13 Jan 2016 15:17:18 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=moshe%40imonlinegroup.com&quot; class=&quot;user-hover&quot; rel=&quot;moshe@imonlinegroup.com&quot;&gt;moshe@imonlinegroup.com&lt;/a&gt;, can you elaborate on why you can&apos;t downgrade? You mentioned SCRAM-SHA-1, but that is supported in driver version 2.1. Which feature is preventing the downgrade?&lt;/p&gt;</comment>
                            <comment id="1133565" author="moshe@imonlinegroup.com" created="Wed, 13 Jan 2016 15:14:49 +0000"  >&lt;p&gt;i am glad you managed to reproduce it, and hope you will provide us with fix soon. we need it badly, as i told u we cannot downgrade.&lt;/p&gt;

&lt;p&gt;thanks.&lt;/p&gt;</comment>
                            <comment id="1133538" author="rstam" created="Wed, 13 Jan 2016 14:57:14 +0000"  >&lt;p&gt;I have been able to reproduce this.&lt;/p&gt;

&lt;p&gt;In order to reproduce this I had to increase the size of the collection my test program was reading so that the number of documents being returned was more than one fit in a single batch.&lt;/p&gt;</comment>
                            <comment id="1133524" author="rstam" created="Wed, 13 Jan 2016 14:43:02 +0000"  >&lt;p&gt;What would help the most is a small self contained application that reproduces the problem.&lt;/p&gt;

&lt;p&gt;Then I can run that locally and figure out what is happening.&lt;/p&gt;</comment>
                            <comment id="1133499" author="moshe@imonlinegroup.com" created="Wed, 13 Jan 2016 14:27:05 +0000"  >&lt;p&gt;hi Robert&lt;br/&gt;
What can i do for you to help you reproducing it? i can give stack trace, screen shot, team viewer... what will help you?&lt;/p&gt;</comment>
                            <comment id="1133446" author="rstam" created="Wed, 13 Jan 2016 13:31:24 +0000"  >&lt;p&gt;I have not been able to reproduce this. I am using  a test program with 400 threads. Each thread repeatedly reads the entire contents of a collection in an infinite loop.&lt;/p&gt;

&lt;p&gt;Using the default connection pool settings of 100 connections and a wait queue size of 500, my test program would have 100 threads actively reading at one time while the other 300 threads are waiting to acquire a connection. Since 300 &amp;lt; 500 I would not expect any WaitQueueFullExceptions.&lt;/p&gt;

&lt;p&gt;My test program has been running overnight without throwing a single TimeoutException.&lt;/p&gt;

&lt;p&gt;I am using version 2.2.1 of the driver and using the Legacy API.&lt;/p&gt;</comment>
                            <comment id="1133393" author="moshe@imonlinegroup.com" created="Wed, 13 Jan 2016 11:32:16 +0000"  >&lt;p&gt;hi Robert we are still getting this error. did u manage to reproduce it. please assist here.&lt;/p&gt;</comment>
                            <comment id="1132839" author="moshe@imonlinegroup.com" created="Tue, 12 Jan 2016 20:34:28 +0000"  >&lt;p&gt;Robert your fixes to connection string solved it for me currently. i will keep an eye on it.&lt;/p&gt;

&lt;p&gt;thanks&lt;/p&gt;</comment>
                            <comment id="1132830" author="rstam" created="Tue, 12 Jan 2016 20:28:07 +0000"  >&lt;p&gt;2.3 is not out. The current version is 2.2.1.&lt;/p&gt;

&lt;p&gt;We are trying to reproduce this but have not yet been able to.&lt;/p&gt;</comment>
                            <comment id="1132773" author="moshe@imonlinegroup.com" created="Tue, 12 Jan 2016 20:08:02 +0000"  >&lt;p&gt;hi&lt;br/&gt;
i also have the same issue. my question is: i saw that there is 2.3 out&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;does it have it fixed?&lt;/li&gt;
	&lt;li&gt;how stable it is?&lt;/li&gt;
	&lt;li&gt;where can i get it?&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;it breaks our system and we cannot downgrade since all our users use SCRAM-SHA-1 for auth and our coded uses legacy and the old legacy supports only old auth.&lt;/p&gt;

&lt;p&gt;please help it is very URGENT!&lt;/p&gt;</comment>
                            <comment id="1132530" author="rstam" created="Tue, 12 Jan 2016 17:07:26 +0000"  >&lt;p&gt;It&apos;s difficult to tell from the stack trace whether this is a bug or simply a result of a heavy load running on top of a connection pool that is too small to support that load.&lt;/p&gt;

&lt;p&gt;The default connection pool size is 100 connections, and the default size of the wait queue (tasks/threads that are waiting for a connection to be released back into the connection pool) is 500.&lt;/p&gt;

&lt;p&gt;In a heavily loaded system it is possible for there to be more tasks/threads than there are connections, and in that scenario it is possible for tasks/threads to get a TimeoutException while waiting for a connection to be release back to the connection pool.&lt;/p&gt;

&lt;p&gt;Can you try configuring a larger connection pool? And/or a larger wait queue size and wait queue timeout? That would help determine whether this exception is simply the result of a heavy load, or whether there is a bug related to the connection pooling.&lt;/p&gt;

&lt;p&gt;These settings can all be configured on the connection string:&lt;/p&gt;

&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;mongodb://hostnames/?maxPoolSize=100;waitQueueSize=500;waitQueueTimeout=2m&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;The values shown in the example above are the default values.&lt;/p&gt;</comment>
                            <comment id="1132516" author="rstam" created="Tue, 12 Jan 2016 16:59:02 +0000"  >&lt;p&gt;The &quot;after 0ms&quot; in the error message is a red herring. There is a bug in the error message.&lt;/p&gt;

&lt;p&gt;See &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-1528&quot; title=&quot;The message of the TimeoutException thrown by AcquireConnection always reports &amp;quot;after 0ms&amp;quot;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-1528&quot;&gt;&lt;del&gt;CSHARP-1528&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="1132400" author="sevaf@top4.com" created="Tue, 12 Jan 2016 15:48:59 +0000"  >&lt;p&gt;Same issue . I understand 2.2.1 didn&apos;t solve the problem.&lt;/p&gt;</comment>
                            <comment id="1132055" author="kevinfairs" created="Tue, 12 Jan 2016 07:56:23 +0000"  >&lt;p&gt;We have hit this exact same issue with 2.2, rolling back to 2.1 works for now, but our upgrade to server 3.2 is now on hold until this is resolved. Is there any timescale for resolution? Thanks.&lt;/p&gt;</comment>
                            <comment id="1129827" author="borigas@nebraskaglobal.com" created="Fri, 8 Jan 2016 17:32:45 +0000"  >&lt;p&gt;Have you had a chance to investigate this at all? I&apos;d like to update the server to 3.2, but can&apos;t until we figure this out so I can run the 2.2 driver.&lt;/p&gt;</comment>
                            <comment id="1121826" author="craiggwilson" created="Wed, 23 Dec 2015 23:08:24 +0000"  >&lt;p&gt;Hi Ben,&lt;/p&gt;

&lt;p&gt;There was a large-ish change in which we added a sync stack down through Core and all the legacy API, which you are using, goes through that. It&apos;s possible there is some type of connection leak going on. We&apos;ll take a look as soon as we get back. For now, I&apos;d recommend downgrading to either 2.1 or back to 2.0.&lt;/p&gt;

&lt;p&gt;Craig&lt;/p&gt;</comment>
                            <comment id="1121529" author="borigas@nebraskaglobal.com" created="Wed, 23 Dec 2015 16:27:46 +0000"  >&lt;p&gt;Any ideas?&lt;/p&gt;</comment>
                            <comment id="1118615" author="borigas@nebraskaglobal.com" created="Fri, 18 Dec 2015 22:41:40 +0000"  >&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;var connectionString = @&quot;mongodb://fake-server01.ng.com:27017,fake-server02.ng.com:27017/?replicaSet=rs0&quot;;&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;_mongoClient = new MongoClient(connectionString);&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;_mongoServer = _mongoClient.GetServer();&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&amp;nbsp;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;var conventionPack = new ConventionPack() { new IgnoreExtraElementsConvention(true) };&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;ConventionRegistry.Register(&quot;IgnoreExtraElements&quot;, conventionPack, type =&amp;gt; true);&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&amp;nbsp;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;_mongoDatabase = _mongoServer.GetDatabase(dbName);&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;We then hold onto _mongoDatabase and use it for the lifetime of the app. It seems to work for the 1st few requests, but after 5+ min, we start getting timeouts&lt;/p&gt;</comment>
                            <comment id="1118589" author="craiggwilson" created="Fri, 18 Dec 2015 22:21:57 +0000"  >&lt;p&gt;Could you provide your connection string and any setup code you have?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="246765">CSHARP-1528</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="232776">CSHARP-1435</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="247037">CSHARP-1532</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="259068">CSHARP-1536</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="259345">CSHARP-1538</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </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|hsf9rj:</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_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="832">C# Sprint 30</customfieldvalue>

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