Re: [jgroups-dev] JGroup - Connection broken

Bela Ban <[email protected]> Tue, 27 Nov 2012 11:01:49 +0100
Newsgroups gmane.comp.java.javagroups.devel
Message-ID <[email protected]>

On 11/27/12 10:39 AM, Dalal wrote:
>
> appreciate your prompt reply.
>
> This leads 2 quick questions:
>
> 1) what is default value of Conn_expire_time?


0 (= off)


> 2) Can you please confirm understanding of relationship of Failure detection
> ( time out = 2 seconds, max tries = 30 ) and connection expire time?


Failure detection and connection management are orthogonal issues.


> 2 JVM (A & B) :
>
> JVM A running 35 seconds full GC which stops-the-world
> JVM B will detect failure of JVM A only after 60 seconds (2 * 30 )


Correct


> JVM A becomes responsive after 35 seconds but by the time TCP connection
> already closed as it passes conn_expire_time, gets broken pipe error


Correct, but the connection is simply re-established when accessed again


> In this case setting only FD parameter does not help.  Is this correct?
>
>
>
> Bela Ban wrote:
>>
>>
>>
>> On 11/26/12 11:26 PM, Dalal wrote:
>>>
>>> Hi,
>>>
>>> We are aware that newer version 3.X+ series has many new features as well
>>> defect fixes. Due to release schedule and testing effort, we are continue
>>> on
>>> 2.8.0 GA version.
>>>
>>> Please, help to identify the impact of following parameter:
>>>
>>> tcp.conn_expire_time
>>
>> http://www.jgroups.org/manual-3.x/html/protlist.html#TCP
>>
>> If a connection is idle for more than conn_expire_time ms, it will be
>> closed. 0 disables this.
>>
>>
>>
>>> What I want to confirm is, if JVM running longer GC like 30+ Seconds,
>>> would
>>> this kill TCP connection due to not setting above parameter?
>>
>>
>> No, the connection has to be idle, e.g. no incoming or outgoing traffic.
>>
>>
>>> By the way, we are setting FD (TimeOut & MaxTries ) which has combine
>>> effects of 60 Seconds.
>>>
>>> Thanks,
>>> Kamal.
>>>
>>
>> --
>> Bela Ban, JGroups lead (http://www.jgroups.org)
>>
>> ------------------------------------------------------------------------------
>> Monitor your physical, virtual and cloud infrastructure from a single
>> web console. Get in-depth insight into apps, servers, databases, vmware,
>> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
>> Pricing starts from $795 for 25 servers or applications!
>> http://p.sf.net/sfu/zoho_dev2dev_nov
>> _______________________________________________
>> Javagroups-development mailing list
>>
>>
>>
>

-- 
Bela Ban, JGroups lead (http://www.jgroups.org)

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Javagroups-development mailing list