<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:40:09 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-1615] c# driver (2.2.3)- what is the connection pool size and how can i configure it.</title>
                <link>https://jira.mongodb.org/browse/CSHARP-1615</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;c# driver (2.2.3)- what is the connection pool size and how can i configure it.&lt;br/&gt;
this question comes because we are working async with mongodb and performs many read and write operations and from time to time we get several timeouts.&lt;br/&gt;
A timeout occured after 30000ms selecting a server using CompositeServerSelector{ Selectors = ReadPreferenceServerSelector{ ReadPreference = &lt;/p&gt;
{ Mode = Primary, TagSets = [] }
&lt;p&gt; }, LatencyLimitingServerSelector&lt;/p&gt;
{ AllowedLatencyRange = 00:00:00.0150000 }
&lt;p&gt; }. Client view of cluster state is { ClusterId : &quot;1&quot;, ConnectionMode : &quot;Automatic&quot;, Type : &quot;Unknown&quot;, State : &quot;Disconnected&quot;, Servers : [{ ServerId: &quot;&lt;/p&gt;
{ ClusterId : 1, EndPoint : &quot;50.50.50.50:27017&quot; }
&lt;p&gt;&quot;, EndPoint: &quot;50.50.50.50:27017&quot;, State: &quot;Disconnected&quot;, Type: &quot;Unknown&quot;, HeartbeatException: &quot;MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server. ---&amp;gt; System.Runtime.InteropServices.SEHException: External component has thrown an exception. at MongoDB.Driver.Core.WireProtocol.CommandWireProtocol`1.&amp;lt;ExecuteAsync&amp;gt;d_&lt;em&gt;11.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start&lt;span class=&quot;error&quot;&gt;&amp;#91;TStateMachine&amp;#93;&lt;/span&gt;(TStateMachine&amp;amp; stateMachine) at MongoDB.Driver.Core.WireProtocol.CommandWireProtocol`1.ExecuteAsync(IConnection connection, CancellationToken cancellationToken) at MongoDB.Driver.Core.Connections.ConnectionInitializer.&amp;lt;InitializeConnectionAsync&amp;gt;d&lt;/em&gt;&lt;em&gt;1.MoveNext() &amp;#8212; End of stack trace from previous location where exception was thrown &amp;#8212; at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult() at MongoDB.Driver.Core.Connections.BinaryConnection.&amp;lt;OpenHelperAsync&amp;gt;d&lt;/em&gt;&lt;em&gt;47.MoveNext() &amp;#8212; End of inner exception stack trace &amp;#8212; at MongoDB.Driver.Core.Connections.BinaryConnection.&amp;lt;OpenHelperAsync&amp;gt;d&lt;/em&gt;&lt;em&gt;47.MoveNext() &amp;#8212; End of stack trace from previous location where exception was thrown &amp;#8212; at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MongoDB.Driver.Core.Servers.ClusterableServer.&amp;lt;HeartbeatAsync&amp;gt;d&lt;/em&gt;_42.MoveNext()&quot; }] }.&lt;/p&gt;</description>
                <environment>windows application running with the c# driver 2.2.3 with MongoDB 3.2 server running on linux</environment>
        <key id="276363">CSHARP-1615</key>
            <summary>c# driver (2.2.3)- what is the connection pool size and how can i configure it.</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="avi74">avi inbar</reporter>
                        <labels>
                            <label>question</label>
                    </labels>
                <created>Thu, 31 Mar 2016 15:18:07 +0000</created>
                <updated>Fri, 5 Apr 2019 13:57:56 +0000</updated>
                            <resolved>Thu, 22 Dec 2016 19:45:36 +0000</resolved>
                                    <version>2.2.3</version>
                                                    <component>API</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1222523" author="craiggwilson" created="Fri, 1 Apr 2016 14:59:19 +0000"  >&lt;p&gt;Ok. Well, since this is getting thrown outside the driver, you&apos;ll need to investigate below the stack. I&apos;d suggest turning on &lt;a href=&quot;https://msdn.microsoft.com/en-us/library/ty48b824(v=vs.110).aspx&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;network tracing&lt;/a&gt; and seeing what gets reported below the stack.&lt;/p&gt;

&lt;p&gt;If you find anything, please let us know what you find.&lt;/p&gt;</comment>
                            <comment id="1221323" author="avi74" created="Thu, 31 Mar 2016 15:32:27 +0000"  >&lt;p&gt;Hi Craig,&lt;/p&gt;

&lt;p&gt;Thanks for the prompt response.&lt;br/&gt;
Sometimes it works fine and sometimes it doesn&#8217;t.&lt;br/&gt;
We have 2 mongoDB machines which raised the same error (one is with windows operating system and the other is linux and we use ssl connection with it).&lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Avi&lt;/p&gt;

&lt;p&gt;From: Craig Wilson (JIRA) &lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;mailto:jira@mongodb.org&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;jira@mongodb.org&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.mongodb.org/images/icons/mail_small.gif&quot; height=&quot;12&quot; width=&quot;13&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;br/&gt;
Sent: Thursday, March 31, 2016 6:23 PM&lt;br/&gt;
To: Avi Inbar &amp;lt;Avi.Inbar@clicksoftware.com&amp;gt;&lt;br/&gt;
Subject: &lt;span class=&quot;error&quot;&gt;&amp;#91;MongoDB-JIRA&amp;#93;&lt;/span&gt; (&lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-1615&quot; title=&quot;c# driver (2.2.3)- what is the connection pool size and how can i configure it.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-1615&quot;&gt;&lt;del&gt;CSHARP-1615&lt;/del&gt;&lt;/a&gt;) c# driver (2.2.3)- what is the connection pool size and how can i configure it.&lt;/p&gt;


&lt;p&gt;[ &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-1615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;amp;focusedCommentId=1221309#comment-1221309&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/CSHARP-1615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;amp;focusedCommentId=1221309#comment-1221309&lt;/a&gt;&amp;lt;&lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-1615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;amp;focusedCommentId=1221309#comment-1221309&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/CSHARP-1615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;amp;focusedCommentId=1221309#comment-1221309&lt;/a&gt;&amp;gt; ]&lt;/p&gt;

&lt;p&gt;Craig Wilson commented on &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-1615&quot; title=&quot;c# driver (2.2.3)- what is the connection pool size and how can i configure it.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-1615&quot;&gt;&lt;del&gt;CSHARP-1615&lt;/del&gt;&lt;/a&gt;:&lt;br/&gt;
--------------------------------------&lt;/p&gt;

&lt;p&gt;This doesn&apos;t appear to have anything to do with a connection pool. Why do you think it does?&lt;/p&gt;

&lt;p&gt;SEHException appears to be getting thrown when opening a socket. This happens outside our codebase. By definition, SEHException hasn&apos;t been mapped to a .NET exception and so I don&apos;t have any idea what the cause of the exception is, other than it was thrown by an external component.&lt;/p&gt;

&lt;p&gt;Did this use to work and no longer does? What changed on the machine?&lt;/p&gt;




&lt;p&gt;----------------------&lt;br/&gt;
This message was sent from MongoDB&apos;s issue tracking system. To respond to this ticket, please login to &lt;a href=&quot;https://jira.mongodb.org&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org&lt;/a&gt;&amp;lt;&lt;a href=&quot;https://jira.mongodb.org&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org&lt;/a&gt;&amp;gt; using your JIRA or MMS credentials.&lt;/p&gt;

&lt;p&gt;CONFIDENTIALITY NOTICE: This email may contain ClickSoftware confidential and privileged material for the sole use of the intended recipient(s).&lt;br/&gt;
Any review, use, distribution or disclosure by others is strictly prohibited. If you have received this communication in error, &lt;br/&gt;
please notify the sender immediately by email and delete the message and any file attachments from your computer.&lt;br/&gt;
Thank you.&lt;/p&gt;</comment>
                            <comment id="1221309" author="craiggwilson" created="Thu, 31 Mar 2016 15:20:54 +0000"  >&lt;p&gt;This doesn&apos;t appear to have anything to do with a connection pool. Why do you think it does?&lt;/p&gt;

&lt;p&gt;SEHException appears to be getting thrown when opening a socket. This happens outside our codebase. By definition, SEHException hasn&apos;t been mapped to a .NET exception and so I don&apos;t have any idea what the cause of the exception is, other than it was thrown by an external component.&lt;/p&gt;

&lt;p&gt;Did this use to work and no longer does? What changed on the machine?&lt;/p&gt;
</comment>
                    </comments>
                    <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|hsjyfj:</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>