LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

[lvs-users] UDP port zero persistence inconsistency

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: [lvs-users] UDP port zero persistence inconsistency
From: David Coulson <david@xxxxxxxxxxxxxxxx>
Date: Wed, 12 Sep 2007 16:09:55 -0400
I've configured IPVS with a port-zero UDP service - Everything looks 
right, however I end up with the source/virtual/dest hash having a 60s 
timeout in some cases; rather than the 30 I assigned. I tried modifying 
the udp timeout using 'ipvsadm --set', but that did not seem to help. 
The persistence for the port-zero 'connection' seems to live around the 
60s mark whatever I configure the actual persistence to be.

Is this a bug, or just the way it works? This is on a 2.6.18 kernel, 
although since it's RHEL5 the version number is totally worthless in 
discovering what actual code is in there.

[root@localhost vs]# ipvsadm -Ln
IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
UDP  103.75.10.55:0 rr persistent 30
  -> 103.75.25.84:0               Route   1      0          0        
  -> 103.75.25.80:0               Route   1      0          0 

IPVS connection entries
pro expire state       source             virtual            destination
UDP 00:57  UDP         103.75.10.201:0    103.75.10.55:0     103.75.25.84:0
UDP 00:12  UDP         103.75.10.201:19999 103.75.10.55:40000 
103.75.25.84:40000

Any ideas? Am I missing something obvious?


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