Your message dated Wed, 28 May 2014 08:43:16 +0200
with message-id <[email protected]>
and subject line Re: Bug#253348: keepalived: wrong persistent timeouts
has caused the Debian Bug report #253348,
regarding keepalived: wrong persistent timeouts
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
253348: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=253348
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: keepalived
Version: 1.1.4-1
Severity: important
persistent timeouts are not set properly
some service defined as (/etc/keepalived.conf)
-----------------------------------------
virtual_server fwmark 5 {
delay_loop 60
lb_algo wlc
lb_kind NAT
nat_mask 255.255.255.0
persistence_timeout 300
protocol TCP
...
-----------------------------------------
will result in ("ipvsadm")
-----------------------------------------
FWM 5 wlc persistent 3
-> host1.example.com:0 Masq 1 1 0
-> host2.example.com:0 Masq 1 0 0
-----------------------------------------
It looks like as only a 100th of the timeout's value is passed to the kernel
(though all docs define this param as seconds).
The workaround to multiply all persistent timeouts by 100 is ok for values<1000
(so defining persistent_timeout 30000 will set 300 in kernel).
Setting timeouts>1000 seems impossible, because setting it to 180000 will
result in (only) 180 in ipvsadm.
This was verified with included ipvs code of kernel 2.4.23 and 2.4.26
-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux defiant1 2.4.26 #1 Sat Jun 5 00:15:30 CEST 2004 i586
Locale: LANG=C, LC_CTYPE=C
Versions of packages keepalived depends on:
ii ipvsadm 1.20release6-2 Linux Virtual Server support progr
ii libc6 2.2.5-11.5 GNU C Library: Shared libraries an
ii libpopt0 1.6.2-7 lib for parsing cmdline parameters
ii libssl0.9.6 0.9.6g-0.woody.1 SSL shared libraries
--- End Message ---
--- Begin Message ---
On Tue, 08 Jun 2004, root wrote:
> Package: keepalived
> Version: 1.1.4-1
> Severity: important
>
> persistent timeouts are not set properly
>
> some service defined as (/etc/keepalived.conf)
> -----------------------------------------
> virtual_server fwmark 5 {
> delay_loop 60
> lb_algo wlc
> lb_kind NAT
> nat_mask 255.255.255.0
> persistence_timeout 300
> protocol TCP
> ...
We don't have 2.4 anymore and as it seems this bug is fixed with recent
kernels I will close this bug now.
Thanks for reporting
Alex
--- End Message ---