LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] Measuring memory used by LVS connection table?

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] Measuring memory used by LVS connection table?
From: Nick Chalk <nick@xxxxxxxxxxxxxxxx>
Date: Wed, 28 Apr 2010 10:40:10 +0100
Hello Sven.

On 28 April 2010 08:37, Seventh Sven <svensven@xxxxxxxxx> wrote:
> On 2010-04-27 22:41, Nick Chalk wrote:
>> Does anyone know if there's a way of measuring the number of entries
>> in, and memory used by, the LVS connection table?
...
> """
> If SLUB is used
>
> $ cat /sys/kernel/slab/ip_vs_conn/object_size
>
> If SLAB is used, take fourth column of :
>
> $ grep ip_vs_conn /proc/slabinfo
> """

Excellent - that's just what I need.

Thanks for your help.
Nick.

-- 
Nick Chalk.

Loadbalancer.org Ltd.
Phone: +44 (0)870 443 8779
http://www.loadbalancer.org/

_______________________________________________
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>