Hi,
I have the following settings in a backend
--
balance uri
hash-type consistent
#appsession JSESSIONID len 120 timeout 360min request-learn
stick-table type string len 32 size 1M expire 360m
stick store-response set-cookie(JSESSIONID)
stick on cookie(JSESSIONID) if { hdr_sub(Cookie) JSESSIONID }
stick on url_param(JSESSIONID,;) if { url_sub JSESSIONID }
stick on url_param(jsessionid,;) if { url_sub jsessionid }
--
This works well for the first hour but then it seems that persistence
doesnt work anymore. Is there anything wrong
with this config?
Iam running haproxy 1.5dev18patch56.
The output of haproxy -vv is
--
root@ww-router-01:~# haproxy -vv
HA-Proxy version 1.5-dev18-patch56 2013/06/10
Copyright 2000-2013 Willy Tarreau <[email protected]>
Build options :
TARGET = linux2628
CPU = generic
CC = x86_64-openwrt-linux-gnu-gcc
CFLAGS = -O2 -march=x86-64 -pipe -fomit-frame-pointer
-fno-align-jumps -fno-align-functions -fno-align-labels -fno-align-loops
-pipe -fomit-frame-pointer -fhonour-copts -DBUFSIZE=16384
-DMAXREWRITE=1030 -DSYSTEM_MAXCONN=165530
OPTIONS = USE_LINUX_SPLICE=1 USE_LINUX_TPROXY=1 USE_ZLIB=yes
USE_REGPARM=1 USE_OPENSSL=1 USE_PCRE=1
Default settings :
maxconn = 165530, bufsize = 16384, maxrewrite = 1030, maxpollevents = 200
Encrypted password support via crypt(3): yes
Built with zlib version : 1.2.7
Compression algorithms supported : identity, deflate, gzip
Built with OpenSSL version : OpenSSL 1.0.1e 11 Feb 2013
Running on OpenSSL version : OpenSSL 1.0.1e 11 Feb 2013
OpenSSL library supports TLS extensions : yes
OpenSSL library supports SNI : yes
OpenSSL library supports prefer-server-ciphers : yes
Built with PCRE version : 8.11 2010-12-10
PCRE library supports JIT : no (USE_PCRE_JIT not set)
Built with transparent proxy support using: IP_TRANSPARENT
IPV6_TRANSPARENT IP_FREEBIND
Available polling systems :
epoll : pref=300, test result OK
poll : pref=200, test result OK
select : pref=150, test result OK
Total: 3 (3 usable), will use epoll.
--
Any hints or suggestions?
cheers
thomas