LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] Keepalive timeout

To: Adrian Chapela <achapela.rexistros@xxxxxxxxx>
Subject: Re: [lvs-users] Keepalive timeout
Cc: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
From: Simon Horman <horms@xxxxxxxxxxxx>
Date: Sat, 3 Oct 2009 18:28:20 +1000
On Fri, Oct 02, 2009 at 08:39:55AM +0200, Adrian Chapela wrote:
> Joseph Mack NA3T escribió:
> > On Thu, 1 Oct 2009, Adrian Chapela wrote:
> >
> >   
> >> Hello,
> >>
> >> I am getting problems with keepalive timeout.
> >>     
> >
> > which keepalive?
> >
> >   
> >> I have a visual basic application
> >>     
> >
> > where? client, realserver?
> >
> >   
> >> that is opening a connection to another Windows Server
> >> across the LVS director.
> >>     
> >
> > why is the director in the path?
> >
> >   
> >> This connection will be an idle connection. This is the 
> >> reason why the VB application needs to reconnect and why 
> >> the server
> >>     
> >
> > what is the server? the realserver? some other box?
> >
> > Do you know about setting idle timeouts (see the HOWTO)
> >   
> 
> Don't get angry please. I am searching and If I am asking is because I 
> am lost in found the real problem. In your lines you have tell me the 
> real problem. A tcp timeout that is reaching in all connections on the 
> director.
> 
> Re-reading the HOWTO I found the next command:
> 
> $ipvsadm --set tcp tcpfin udp
> 
> With this command I think on a problem. If I modify the tcp timeout I 
> will affect all tcp connections (If I only modify tcp parameter...) and 
> if you have a lot of connections you could waste all of your machine 
> resources.  Is there any way (I think that the HOWTO doesn't mention 
> this possibility ;) ) to apply a timeout to a virtual server.

Hi Adrian,

the ipvsadm command above will set the timeouts for all connections to
virtual services, but not for connections to the director that are not
being handled by LVS. Does that suit your needs?


_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
<Prev in Thread] Current Thread [Next in Thread>