On Wed, 2009-04-29 at 15:05 +0200, "Götz Rieger" wrote: > I'm doing a load test now using The Grinder with four load test clients. The > problem I'm facing is an extremely uneven distribution of ActiveConn on the > real servers:
OK... > [r...@lvst1 ~]# ipvsadm -L -n > IP Virtual Server version 1.2.1 (size=4096) > Prot LocalAddress:Port Scheduler Flags > -> RemoteAddress:Port Forward Weight ActiveConn InActConn > TCP 194.xxx.xxx.xxx:80 rr > -> 192.168.xxx.xxx:80 Masq 1 137 421 > -> 192.168.xxx.xxx:80 Masq 1 203 509 > -> 192.168.xxx.xxx:80 Masq 1 0 630 > > Prot LocalAddress:Port Scheduler Flags > -> RemoteAddress:Port Forward Weight ActiveConn InActConn > TCP 194.xxx.xxx.xxx:80 rr > -> 192.168.xxx.xxx:80 Masq 1 232 424 > -> 192.168.xxx.xxx:80 Masq 1 5 418 > -> 192.168.xxx.xxx:80 Masq 1 3 419 A larger number of ActiveConns indicates a machine which is slower to respond (that is, these connections have not reached TIME_WAIT or FIN_WAIT), or a machine which has KeepAlive switched on in Apache. Of more significance to you during testing would be: ipvsadm -L -n --stats ipvsadm -L -n --rate If you use the "watch" utility you can watch these in real time: watch -n1 -- "ipvsadm -L -n --stats; echo; echo; ipvsadm -L -n --rate" BTW I presume you meant "lc" scheduler rather than "ll"? Graeme _______________________________________________ Please read the documentation before posting - it's available at: http://www.linuxvirtualserver.org/ LinuxVirtualServer.org mailing list - [email protected] Send requests to [email protected] or go to http://lists.graemef.net/mailman/listinfo/lvs-users
