LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Balancing weirdness

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: Balancing weirdness
From: Wensong Zhang <wensong@xxxxxxxxxxxx>
Date: Mon, 12 Aug 2002 23:01:56 +0800 (CST)
On Mon, 12 Aug 2002, Ramon Kagan wrote:

> HI,
> 
> I've just started an imap/pop lvs service with 6 real servers.
> 
> Weights were distributed using 4,4 and 1 for the remaining 4.
> 
> The four weighted on servers are all identical hardware.
> 
> In any case, I'm using wlc as the balancing schedule algorithm
> 
> At this time the following is the table.
> 
> Machine weight                number of activeConn
>       4               311
>       4               307
>       1               78
>       1               79
>       1               78
>       1               205
> 
> So I guess my question is:  What's up with the last 1.  Why is it getting
> so many connections?
> 
> Persistence is set to 30 seconds.
> 

I guess that this persistence might lead to some load imbalance. With 
the persistence feature, all the connections from the same IP address 
will be scheduled to the same server, before the persistent template 
expires. So, maybe there are many users behind one IP address (a NAT 
router) accessing your last server.

BTW, for the imap/pop service, maybe you don't need to use the persistent 
feature.

Regards,

Wensong



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