Re: Is --persistent set by default?

Horms <[email protected]>
Newsgroups gmane.linux.highavailability.ultramonkey
Message-ID <[email protected]>
On Tue, 11 Jul 2006 13:47:25 -0500, Dave Thacker wrote:
> Setup:  SuSE 9.3  ipvsadm v1.24
> 
> We're doing testing on a single virtual server that distributes
> transactions to 4 real servers.
> 
> omares-loadbal1:~ # ipvsadm -S -n
> 
> -A -t 10.0.33.120:9314 -s rr
> -a -t 10.0.33.120:9314 -r 10.0.37.139:9314 -m -w 1
> -a -t 10.0.33.120:9314 -r 10.0.37.138:9314 -m -w 1
> -a -t 10.0.33.120:9314 -r 10.0.37.137:9314 -m -w 1
> -a -t 10.0.33.120:9314 -r 10.0.37.136:9314 -m -w 1
> 
> What we're expecting to happen:
> 
> When we fire off 20 transactions, we expect them to be evenly
> distributed among the 4 real servers.  Each transaction opens and closes
> a connection to the real server.
> 
> What's actually happening:
> 
> All twenty transactions are being sent to a single server.  If we fire
> off another 20, those are sent to the second server.  
> 
> We're thinking that we should follow one of two courses: 
> 1) Change to least connection scheduling
> 2) Set --persistence to zero. 
> 
> We're wondering whether --persistent is set by default, which might
> explain the behavior we are seeing now.  

--persistent is definately not set by default.

Option 1 is likely to help your problem.

-- 
Horms                                           
  H: http://www.vergenet.net/~horms/
  W: http://www.valinux.co.jp/en/


-- 
Ultra Monkey - http://www.ultramonkey.org/
To UNSUBSCRIBE, email to [email protected], with a body:
unsubscribe ultramonkey-users [email protected]
where "[email protected]" is YOUR email address.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.