Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4731

Stick Table Size

$
0
0

@haproxy wrote:

Hello,

I'm not finding much detail on the stick table size settings. Can someone point me in the right direction?

We're running 1.5.18. The latest change log for 1.5.19 mentions some bugs related to segfaults with stick tables. Since upgrading isn't an option for us, and I've narrowed down the problem to our stick table (see below), I think we can possibly configure our way out of daily crashes by fiddling withe the 'size' value, probably making it 500k or larger?

https://www.haproxy.org/download/1.5/src/CHANGELOG

stick-table type ip size 200k expire 5m store gpc0,conn_cur,conn_cnt
acl block_on_path path_beg -i /path/to/login
tcp-request content track-sc1 src if block_on_path
http-request tarpit if { src_conn_cnt ge 15 } block_on_path

In the documentation, some examples of stick tables show the size:204800, so about the same as ours (200k). Other examples I've ran across are all about the same, think the largest was 500. But, what is that number exactly?

Thanks in advance!

HAP (can't believe i scored the username 'haproxy' in this community!) :nerd:

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4731

Trending Articles