LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Dead connections on director

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Dead connections on director
From: Kerscaven Marc <mkerscaven@xxxxxxxx>
Date: Sat, 17 Dec 2005 12:24:10 +0100 (CET)
Hello,
   
  I've upgraded the kernel to 2.6.14.2 and it solve the problem.
   
  When I put a Weight of 0 for a real server, 10 minutes later all ActiveConn 
and InActConn return to 0.
   
  IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
TCP  vip_squid:www wlc
  -> realsquid16:www                  Route   100    2483       454
  -> realsquid16:www                   Route   0      2          0
  -> realsquid16:www                  Route   100    2486       418

  Thanks for your help.
   
  Regards.
   
  Marc.

Horms <horms@xxxxxxxxxxxx> a écrit :
  Kerscaven Marc wrote:
> Hello
> 
> thanks for your answer.
> 
> When I stop 1 real server : I switch off this real server.
> 
> 30 minutes later I've again some active connections to this real server :
> 
> TCP vip_squid:www wlc
> -> realsquid17:www Route 100 20034 69179
> -> realsquid16:www Route 0 15499 24624

That does sound like a problem. I know that there a lot of connections,
but some analysis of ipvsadm -Lcn might shed some light on the problem.

> I've a kernel 2.6.14.2 for real servers, I will test it on the director.

An excellent idea. 2.6.8 is a bit old, and there have been some LVS
fixes lately, at least one relating to connection expiry. I'm not
exactly sure if it was post 2.6.8 or not, but testing the latest
at least allows us to see if the problem is still present.

-- 
Horms



                
---------------------------------
 Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs 
exceptionnels pour appeler la France et l'international.Téléchargez la version 
beta.

<Prev in Thread] Current Thread [Next in Thread>