On Thu, 2011-03-24 at 14:23 -0700, Robinson, Eric wrote:
> I've been a little afraid of running any commands
> on the load balancer to count the number of connections during high
> production load.
You can get a good + fast total connection count from /proc/slabinfo:
egrep '^(nf_conntrack_|ip_vs_conn)' /proc/slabinfo
Look at column 2, the first column with numbers.
Compare the numbers to
cat /proc/sys/net/nf_conntrack_max
cat /sys/module/ip_vs/parameters/conn_tab_bits
The conntrack_max is a HARD limit of the number of conntracks the system
can have.
2^conn_tab_bits for IPVS is the size of the ipvs tracking table - I'm
not sure whether that is a hard limit, or just a hash bucket sizing
which permits chaining.
best regards
Patrick
_______________________________________________
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
|