ActiveConn是活动连接数,也就是tcp连接状态的ESTABLISHED;

[root@lvs-fullnat-one ~]# ipvsadm -L --timeout
Timeout (tcp tcpfin udp): 90 3 300

InActConn是指除了ESTABLISHED以外的,所有的其它状态的tcp连接.

[root@lvs-fullnat-one ~]# ipvsadm -ln
IP Virtual Server version 1.2.1 (size=4194304)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
TCP  2.2.2.3:80 rr synproxy
  -> 172.16.97.30:80              FullNat 100    0          0         
[root@lvs-fullnat-one ~]# 

调整

ipvsadm --set 5 10 300

参考:
LVS ActiveConn InActConn 详解 优化
https://blog.51cto.com/weiruoyu/791802


微信公众号,随便发点有意思的东西