mongodb-user
[Arriba] [Todas las Listas]

Re: [mongodb-Usuario] Re: asuntos Intermitentes con C# conductor en Azur

To: mongodb-user <mongodb-user@xxxxxxxxxxxxxxxx>
Subject: Re: [mongodb-Usuario] Re: asuntos Intermitentes con C# conductor en Azure
From: Craig Wilson <craig.wilson@xxxxxxxxxxx>
Date: Wed, 9 Sep 2015 15:48:33 -0700 (PDT)
Delivery-date: Wed, 09 Sep 2015 18:59:46 -0400
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :content-type:x-original-sender:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :sender:list-subscribe:list-unsubscribe; bh=uFD2jXBNEQw2DW8CpSW7ZbTNT+Bon8NirrRcgCkgQG0=; b=gUJw0QB9lz3MUFoR75s6bcNUqSPTiTPxIVlYNS7YOqPzu7ps/JkdNP/PAj8PGfNZet ns0zOuvNZc9lAKa0KVrG394wz9M6xMhYCpqS42yG7OcO3L/dyf1HHC9CeMxbSt5Hnd2b GKrqfHzFnrydY2wxfvhDkyg3tlYvxNabMTEBn8DPY98eq5yH4nIY240WTyMpozgYTH6b VSk9HowyVI/UaPqp3GXCYiWe1Kjm/c0QTEOj2sGU3tRCXqcVP4o03C5iY7LxID1sS8kI 4hY/fCgiJMG1Lrmtj89rekWYzuLjy8lllg56VTKjgWdFlxhTtIiGISLhKroPfVT3G26B eZtw==
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mongodb.com; s=google; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :content-type:x-original-sender:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :sender:list-subscribe:list-unsubscribe; bh=uFD2jXBNEQw2DW8CpSW7ZbTNT+Bon8NirrRcgCkgQG0=; b=jyhZzyyFj6+Fkq9jJj1T9I/wi8cYU8Y2kLacbFfK9F9xAtXtVVVgawUYh0jKqoVA3o qBtL6zI/vliEq38RLhhMabDd8lAwr1LxAIVzaT7e0xyvE0sJHrlzkpdNCNq5hXaWoaS+ TFpmUlpdlRflSGIeGdL1YUE1kowBhOFkmHhcw=
Envelope-to: traductor@xxxxxxxxxxx
In-reply-to: <CA+=k--7wb7WogPiCCvm321FkdUid48P8sEVZzaSTbJ1KfSvkTA@mail.gmail.com>
List-archive: <http://groups.google.com/group/mongodb-use>
List-help: <http://groups.google.com/support/>, <mailto:mongodb-user+help@googlegroups.com>
List-id: <mongodb-user.googlegroups.com>
List-post: <http://groups.google.com/group/mongodb-user/post>, <mailto:mongodb-user@googlegroups.com>
List-subscribe: <http://groups.google.com/group/mongodb-user/subscribe>, <mailto:mongodb-user+subscribe@googlegroups.com>
List-unsubscribe: <mailto:googlegroups-manage+1044811755470+unsubscribe@googlegroups.com>, <http://groups.google.com/group/mongodb-user/subscribe>
Mailing-list: list mongodb-user@xxxxxxxxxxxxxxxx; contact mongodb-user+owners@xxxxxxxxxxxxxxxx
References: <e38e659f-2350-4697-ba03-075037493de8@googlegroups.com> <da4096d3-c92a-4a1a-b3df-ecbdbb0bad92@googlegroups.com> <b1872bf8-0a40-479a-b283-665326df64d7@googlegroups.com> <CA+=k--7wb7WogPiCCvm321FkdUid48P8sEVZzaSTbJ1KfSvkTA@mail.gmail.com>
Reply-to: mongodb-user@xxxxxxxxxxxxxxxx
Sender: mongodb-user@xxxxxxxxxxxxxxxx
1. Sí, *maxIdleTimeMS es implementado en el conductor. Te es viendo evidencia 
que no está siendo *honored?
2. Sí. He añadido *https://*jira.*mongodb.*org/*browse/*CSHARP-1397
3. Nosotros  no TCP puesto actualmente mantiene vivo. Mientras es posible para ti para 
ponerlo a mano, hay ninguna interacción entre ellos.

En miércoles, septiembre 9, 2015 en 2:24:52 PM *UTC-5, Joe *Waller escribió:
>
> *Hi Craig,
>
> intentaré conseguir los rastros pediste. Unos cuantos más seguir arriba de cuestiones
>
> 1. Es *maxIdleTimeMS implementado en el *c# conductor?
> 2. Lo es posible de añadir a la documentación el *default valores para 
> varios parámetros en el conductor - *connectiontimeout, *sockettimeout, medida 
> de piscina, *max *idle tiempo *ms
> 3. Qué hace *maxIdleTimeMS *interact con *tcp mantiene vivo? Si pongo el TCP mantiene 
> vivo a un valor más bajo como 40*s  aquello impide de *maxIdleTimeMS de chutar 
> dentro y sacando y *idle conexión?
>
>
> En *Wed, *Sep 9, 2015 en 9:36 AM, Craig Wilson <craig....@xxxxxxxxxxx 
> <*javascript:>> escribió:
>
>> aparecería que hay alguna forma de *networking asunto: 
>>
>>     Sistema.Red.*Sockets.*SocketException: Un intento de conexión fallado 
>> porque el partido conectado  no correctamente *respond después de un periodo de tiempo, 
>> o la conexión establecida fallada porque el anfitrión conectado ha fallado a *respond. 
>>  
>>
>> Esto indica a mí que una conexión que era vivo ha parado 
>> funcionamiento.  Puede giras en la Red que localiza para Sistema.Red.*Sockets: 
>> *https://*msdn.*microsoft.*com/*en-nos/Biblioteca/*ty48*b824(*v=*vs.110).*aspx?
>>
>> En martes, septiembre 8, 2015 en 8:28:08 PM *UTC-5, Joe *Waller escribió:
>>>
>>> También la versión de conductor es 2.0.1
>>>
>>> En miércoles, septiembre 9, 2015 en 1:26:17 SOY *UTC, Joe *Waller escribió:
>>>>
>>>> *Hi *folks,
>>>>
>>>> estoy experimentando errores intermitentes con mi aplicación en *Azure. Pasa cada poco Sistema
>>>>
>>>> de minutos.*AggregateException: Uno o más los errores ocurrieron. ---> 
>>>> *MongoDB.Conductor.*MongoConnectionException: Una excepción ocurrida mientras 
>>>> recibiendo un mensaje del *server. ---> Sistema.IO.*IOException: Incapaz de leer 
>>>> dato de la conexión de transporte: Un intento de conexión fallado 
>>>> porque el partido conectado  no correctamente *respond después de un periodo de tiempo, 
>>>> o la conexión establecida fallada porque el anfitrión conectado ha fallado a *respond. 
>>>> ---> Sistema.Red.*Sockets.*SocketException: Un intento de conexión 
>>>> fallado porque el partido conectado  no correctamente *respond después de un periodo 
>>>> de tiempo, o la conexión establecida fallada porque el anfitrión conectado ha fallado 
>>>> a *respond
>>>>    en Sistema.Red.*Sockets.*Socket.*EndReceive(*IAsyncResult *asyncResult)
>>>>    En Sistema.Red.*Sockets.*NetworkStream.*EndRead(*IAsyncResult *asyncResult)
>>>>    --- Fin de excepción interior *stack rastro ---
>>>>    en Sistema.Red.Seguridad._*SslStream.*EndRead(*IAsyncResult *asyncResult)
>>>>    En Sistema.Red.Seguridad.*SslStream.*EndRead(*IAsyncResult *asyncResult)
>>>>    En 
>>>> Sistema.IO.Corriente.<>*c__*DisplayClass0.<*BeginEndReadAsync>*b__9(corriente de Corriente, 
>>>> *IAsyncResult *asyncResult)
>>>>    en 
>>>> Sistema.*Threading.Tareas.*TaskFactory`1.*FromAsyncTrimPromise`1.Completo(*TInstance 
>>>> *thisRef, *Func`3 *endMethod, *IAsyncResult *asyncResult, *Boolean 
>>>> *requiresSynchronization)
>>>> --- Fin de *stack rastro de ubicación anterior donde la excepción fue 
>>>> echada ---
>>>>    en 
>>>> Sistema.*Runtime.*CompilerServices.*TaskAwaiter.*ThrowForNonSuccess(Tarea de tarea)
>>>>    en 
>>>> Sistema.*Runtime.*CompilerServices.*TaskAwaiter.*HandleNonSuccessAndDebuggerNotification(Tarea 
>>>> de tarea)
>>>>    en 
>>>> *MongoDB.Conductor.Núcleo.*Misc.*StreamExtensionMethods.<*ReadBytesAsync>*d__0.*MoveNext()
>>>>
>>>>
>>>> Aquí es mi conexión *settings
>>>> *ssl=cierto
>>>> *connectTimeoutMS=30000
>>>> *socketTimeoutMS=300000
>>>> *maxPoolSize=50
>>>> *maxIdleTimeMS=45000
>>>>
>>>>
>>>> Cómo  voy sobre depurar esto? Lo es un asunto de piscina de conexión 
>>>> posible? 
>>>>
>>>> -- 
>> Recibiste este mensaje porque eres *subscribed al *Google Grupos 
>> "*mongodb-grupo"
>> de usuario.
>>  
>> Para otro *MongoDB opciones de apoyo técnico, ve: 
>> *http://www.mongodb.org/sobre/apoyo/.
>> --- 
>> Recibiste este mensaje porque eres *subscribed a un tema en 
>> el *Google Grupos "*mongodb-grupo" de usuario.
>> A *unsubscribe de este tema, visita 
>> *https://grupos.*google.*com/*d/Tema/*mongodb-usuario/*OlT0*kecHBzY/*unsubscribe.
>> A *unsubscribe de este grupo y todos sus temas, enviar un *email a *mongodb-user...@xxxxxxxxxxxxxxxx 
>>  <*javascript:>.
>> A correo a este grupo, envía *email a mongod...@xxxxxxxxxxxxxxxx 
>> <*javascript:>.
>> Visita este grupo en *http://grupos.*google.*com/Grupo/*mongodb-usuario.
>> Para ver esta discusión en la visita de web 
>> *https://grupos.*google.*com/*d/*msgid/*mongodb-Usuario/*b1872*bf8-0#uno40-479un-*b283-665326*df64*d7%40*googlegroups.*com 
>> <*https://Grupos.*google.*com/*d/*msgid/*mongodb-Usuario/*b1872*bf8-0#uno40-479un-*b283-665326*df64*d7%40*googlegroups.*com?*utm_Medio=*email&*utm_fuente=*footer>
>> .
>>
>> Para más opciones, visita *https://grupos.*google.*com/*d/*optout.
>>
>
>

-- 
Recibiste este mensaje porque eres *subscribed al *Google Grupos "*mongodb-grupo"
de usuario.

Para otro *MongoDB opciones de apoyo técnico, ve: *http://www.mongodb.org/sobre/apoyo/.
--- 
Recibiste este mensaje porque eres *subscribed al *Google Grupos "*mongodb-grupo" de usuario.
A *unsubscribe de este grupo y la parón que recibe *emails de él, enviar un *email a *mongodb-usuario+unsubscribe@xxxxxxxxxxxxxxxx.
A correo a este grupo, envía *email a *mongodb-user@xxxxxxxxxxxxxxxx.
Visita este grupo en *http://grupos.*google.*com/Grupo/*mongodb-usuario.
Para ver esta discusión en la visita de web *https://grupos.*google.*com/*d/*msgid/*mongodb-Usuario/*e33*e8*bfe-4*b5*f-40*d0-*aeb1-627*e03*e55485%40*googlegroups.*com.
Para más opciones, visita *https://grupos.*google.*com/*d/*optout.
1. Yes, maxIdleTimeMS is implemented in the driver. Are you seeing evidence 
that it isn't being honored?
2. Yes. I've added https://jira.mongodb.org/browse/CSHARP-1397
3. We don't currently set TCP keep alive. While it is possible for you to 
set it manually, there is no interaction between them.

On Wednesday, September 9, 2015 at 2:24:52 PM UTC-5, Joe Waller wrote:
>
> Hi Craig,
>
> I will try to get the traces you requested. A few more follow up questions
>
> 1. Is maxIdleTimeMS implemented in the c# driver?
> 2. Is it possible to add to the documentation the default values for 
> various parameters in the driver - connectiontimeout, sockettimeout, pool 
> size, max idle time ms
> 3. How does maxIdleTimeMS interact with tcp keep alive? If I set TCP keep 
> alive to a lower value like 40s will that prevent from maxIdleTimeMS from 
> kicking in and removing and idle connection?
>
>
> On Wed, Sep 9, 2015 at 9:36 AM, Craig Wilson <craig....@xxxxxxxxxxx 
> <javascript:>> wrote:
>
>> It would appear that there is some form of networking issue: 
>>
>>     System.Net.Sockets.SocketException: A connection attempt failed 
>> because the connected party did not properly respond after a period of 
>> time, or established connection failed because connected host has failed to 
>> respond. 
>>
>> This indicates to me that a connection that was alive has stopped 
>> functioning.  Can you turn on Network tracing for System.Net.Sockets: 
>> https://msdn.microsoft.com/en-us/library/ty48b824(v=vs.110).aspx?
>>
>> On Tuesday, September 8, 2015 at 8:28:08 PM UTC-5, Joe Waller wrote:
>>>
>>> Also the driver version is 2.0.1
>>>
>>> On Wednesday, September 9, 2015 at 1:26:17 AM UTC, Joe Waller wrote:
>>>>
>>>> Hi folks,
>>>>
>>>> I am experiencing intermittent errors with my application on Azure. It 
>>>> happens every few minutes
>>>>
>>>> System.AggregateException: One or more errors occurred. ---> 
>>>> MongoDB.Driver.MongoConnectionException: An exception occurred while 
>>>> receiving a message from the server. ---> System.IO.IOException: Unable to 
>>>> read data from the transport connection: A connection attempt failed 
>>>> because the connected party did not properly respond after a period of 
>>>> time, or established connection failed because connected host has failed to 
>>>> respond. ---> System.Net.Sockets.SocketException: A connection attempt 
>>>> failed because the connected party did not properly respond after a period 
>>>> of time, or established connection failed because connected host has failed 
>>>> to respond
>>>>    at System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult)
>>>>    at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)
>>>>    --- End of inner exception stack trace ---
>>>>    at System.Net.Security._SslStream.EndRead(IAsyncResult asyncResult)
>>>>    at System.Net.Security.SslStream.EndRead(IAsyncResult asyncResult)
>>>>    at 
>>>> System.IO.Stream.<>c__DisplayClass0.<BeginEndReadAsync>b__9(Stream stream, 
>>>> IAsyncResult asyncResult)
>>>>    at 
>>>> System.Threading.Tasks.TaskFactory`1.FromAsyncTrimPromise`1.Complete(TInstance 
>>>> thisRef, Func`3 endMethod, IAsyncResult asyncResult, Boolean 
>>>> requiresSynchronization)
>>>> --- End of stack trace from previous location where exception was 
>>>> thrown ---
>>>>    at 
>>>> System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
>>>>    at 
>>>> System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task 
>>>> task)
>>>>    at 
>>>> MongoDB.Driver.Core.Misc.StreamExtensionMethods.<ReadBytesAsync>d__0.MoveNext()
>>>>
>>>>
>>>> Here are my connection settings
>>>> ssl=true
>>>> connectTimeoutMS=30000
>>>> socketTimeoutMS=300000
>>>> maxPoolSize=50
>>>> maxIdleTimeMS=45000
>>>>
>>>>
>>>> How do I go about debugging this? Is it a possible connection pool 
>>>> issue? 
>>>>
>>>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "mongodb-user"
>> group.
>>  
>> For other MongoDB technical support options, see: 
>> http://www.mongodb.org/about/support/.
>> --- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "mongodb-user" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/mongodb-user/OlT0kecHBzY/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> mongodb-user...@xxxxxxxxxxxxxxxx <javascript:>.
>> To post to this group, send email to mongod...@xxxxxxxxxxxxxxxx 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/mongodb-user.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/mongodb-user/b1872bf8-0a40-479a-b283-665326df64d7%40googlegroups.com 
>> <https://groups.google.com/d/msgid/mongodb-user/b1872bf8-0a40-479a-b283-665326df64d7%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.

For other MongoDB technical support options, see: http://www.mongodb.org/about/support/.
--- 
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+unsubscribe@xxxxxxxxxxxxxxxx.
To post to this group, send email to mongodb-user@xxxxxxxxxxxxxxxx.
Visit this group at http://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/e33e8bfe-4b5f-40d0-aeb1-627e03e55485%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<Anterior por Tema] Tema Actual [Siguiente por Tema>