LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: testlvs and ip_conntrack

To: Anush Elangovan <eas@xxxxxxx>
Subject: Re: testlvs and ip_conntrack
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: Wang Haiguang <wanghaig@xxxxxxxxxxxxxxx>
Date: Mon, 13 Nov 2000 12:15:26 +0800 (GMT-8)
On Sun, 12 Nov 2000, Anush Elangovan wrote:

> 
> I would like to know:
> 1) does the 4096 limit effect the director/realserver, how can i change the
> limit, I heard it can be changed with a sysctl variable.

The limit is the hash table size of the director. Default value is
4096. When the director have 4096 connection alive at the same time, it
will give you the error.

You can define a larger hash table when you compile the kernel.
 
> 2) Does anyone have ideas on why the RH6.2 machine doesnt give me the same
> error.
> 
> 3) Not related to the above: How can I calculate the total number of TCP/UDP
> connections that my cluster can support in VS-DR, and also the number of
> connections that my  realservers can support.

First it is limited by the hash table size at the director.

Second is the memory and CPU speed of the computer in the cluster.
If not concern about the memory and CPU, the limit is virtual memory of
the kernel because each connection will consume some memory. I am not so
sure about this point.

> 
> Thanks
> Anush
>  
> 
> ----------------------------
> anush@xxxxxxx
>  
> 
> 
> 



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