[prev in list] [next in list] [prev in thread] [next in thread] 

List:       keepalived-devel
Subject:    Re: [Keepalived-devel] Keepalived high persistence timeout
From:       Adrian Chapela <achapela.rexistros () gmail ! com>
Date:       2009-10-02 6:15:28
Message-ID: 4AC59A80.3080507 () gmail ! com
[Download RAW message or body]

Richard L. Allbery escribió:
> Hi Adrian,
>
> So, this may have been covered but do you know for a fact that keepalived is 
> causing the problem.  In other words have you taken keepalived out of the 
> loop and does your application work as you want?  Sure sounds like there's 
> something else going.
>   
Yes I know that keepalived (LVS) is causing the problem. If I connect 
the application with the server without keepalived I can maintain the 
connection open all time I want.
> On Thursday 01 October 2009 01:20, Adrian Chapela wrote:
>   
>> After a few tests I could see that my application doesn't know the real
>> state of a connection. It seems like Windows XP thinks that the
>> connection is OK but for the keepalived this connection is death after
>> some minutes of inactivity (I don't know how much time of inactivity but
>> I think about 5 - 9 minutes). When I try to use this connection I
>> receive an error because keepalived is sending to client a Reset package
>> (I think that it is to ensure that client is closing the lost openning
>> connection).
>>     
>
> If this is in fact what's going on it sounds like keeplived thinks it's a new 
> connection.  What does 'ipvsadm' show?  Does it show the connection as Active 
> or InActive?  
>   
I don't know now, I didn't test it, I will do in my next test.
> Also, not sure if this might be an issue but some places like AOL have 
> multiple proxy out gateways meaning that you're not always guaranteed the 
> client will have the same source IP address.  We've had to add network 
> persistence for such networks.  I don't know ... just some thoughts.
>   
Yes I know, I have problems with blackberry network and my http load 
balanced servers. For that case I have configured a network persistence 
(granularity) but in this case the load balancing is in a local network, 
there isn't proxies, there isn't firewall is a direct connection between 
client, keepalived and server.

The real problem is related to tcp keepalive but I can't do anything to 
maintain the connection open automatically, I think that in VB I need to 
program something to do that.
> --
> Richard L. Allbery, R&B Communications, Inc.
>
>   


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Keepalived-devel mailing list
Keepalived-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/keepalived-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic