LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Negative count for persistent client connections

To: lvs <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Negative count for persistent client connections
From: Christian Bronk <chris@xxxxxx>
Date: Wed, 01 Mar 2000 12:42:20 +0000
Hi,

i think this is a real problem, because the laod
of a server is set by
active connections*50 + inactive connections
so your server would have a Load 

10.2.245.4:80 : 60*50 + -9691 = -6691
10.2.245.2:80 : 0*50  + 0     = 0
10.2.245.3:80 : 5*50  + -6145 = -5895

so only the first and the third server would be
selected but it has allready
60 active conn.

Wensong has released a patch against this at
22.2.99

cu

Chris

jacob.rief@xxxxxx wrote:
> 
> Hello Wensong,
> if I run LVS for persistant client connections and I list the connections
> with ipvsadm -l -n, I often get a negative count of inactive connections.
> For instance:
> 
> # ipvsadm -l -n
> IP Virtual Server version 0.9.7 (size=65536)
> Prot LocalAddress:Port Scheduler Flags
>   -> RemoteAddress:Port          Forward Weight ActiveConn InActConn
> TCP  195.96.23.245:80 wlc persistent 7200
>   -> 10.2.245.4:80               Masq    4      60         -9691
>   -> 10.2.245.2:80               Masq    3      0          0
>   -> 10.2.245.3:80               Masq    5      3          -6145
> TCP  195.96.23.213:80 wrr persistent 1800
>   -> 10.2.213.2:80               Masq    1      2          -69
> 
> This seems to be just a cosmetic bug, but I wanted to report it.
> 
> ---
> 
> There is a new version of ldirectord. Many new features have been added,
> many
> bugs resolved. Please get the newest version as user guest, passwd guest
> from
> cvs.linux-ha.org:/home/cvs/
> module-name is: ha-linux
> file: ha-linux/heartbeat/resource.d/ldirectord
> documentation: ha-linux/doc/ldirectord
> 
> Best regards, Jacob
> 


<Prev in Thread] Current Thread [Next in Thread>
  • Re: Negative count for persistent client connections, Christian Bronk <=