Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux Virtual Server: Users

[lvs-users] UDP port zero persistence inconsistency

 

 

Linux Virtual Server users RSS feed   Index | Next | Previous | View Threaded


david at davidcoulson

Sep 12, 2007, 1:09 PM

Post #1 of 2 (319 views)
Permalink
[lvs-users] UDP port zero persistence inconsistency

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[at]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?

_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users[at]LinuxVirtualServer.org
Send requests to lvs-users-request[at]LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users


jmack at wm7d

Sep 12, 2007, 1:49 PM

Post #2 of 2 (279 views)
Permalink
Re: [lvs-users] UDP port zero persistence inconsistency [In reply to]

On Wed, 12 Sep 2007, David Coulson wrote:

> I've configured IPVS with a port-zero UDP service -

people don't use port 0 a whole lot. This means to forward
all ports. Can you use something more restrictive, like only
the ports you're interested in (even using a fwmark to group
a few ports together).

I wouldn't expect anyone has looked at the port 0 code for
years. It may have bit rot. Certainly no-one's going to test
it to see if it still works.

As well there are problems load balancing UDP. Make sure
your setup doesn't have any of the problems listed in the
HOWTO.

Joe

--
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml
Homepage http://www.austintek.com/ It's GNU/Linux!

_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users[at]LinuxVirtualServer.org
Send requests to lvs-users-request[at]LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

Linux Virtual Server users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.