Re: [1.8] tune.ssl.cachesize

2017-11-28 Thread Willy Tarreau
On Tue, Nov 28, 2017 at 11:17:31AM +0100, William Lallemand wrote: > Thanks for the report, the bug was elsewhere, in fact the shctx was > initialized > for each ssl bind. > > Patch attached. Applied, thanks. Willy

Re: [1.8] tune.ssl.cachesize

2017-11-28 Thread Maciej Zdeb
Hi William, Thank you very much, I've applied your patch and it fixed issue: ps aux | grep hap USER PID %CPU %MEMVSZ RSS TTY STAT START TIME COMMAND haproxy 37601 0.1 0.5 2509548 165352 ? Ss 11:35 0:00 /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -p /var/run/haprox

Re: [1.8] tune.ssl.cachesize

2017-11-28 Thread William Lallemand
Hi, On Tue, Nov 28, 2017 at 09:08:59AM +0100, Maciej Zdeb wrote: > Hi Willy, > > Thanks for your response. In change > http://git.haproxy.org/?p=haproxy-1.8.git;a=commit;h=4f45bb9c461f462290b77bf2511badb7a4453c0a > William made shctx more generic. Right now it's calculated: > > shctx = (struct s

Re: [1.8] tune.ssl.cachesize

2017-11-28 Thread Maciej Zdeb
Hi Willy, Thanks for your response. In change http://git.haproxy.org/?p=haproxy-1.8.git;a=commit;h=4f45bb9c461f462290b77bf2511badb7a4453c0a William made shctx more generic. Right now it's calculated: shctx = (struct shared_context *)mmap(NULL, sizeof(struct shared_context) + extra + (maxblocks *

Re: [1.8] tune.ssl.cachesize

2017-11-27 Thread Willy Tarreau
Hi Maciej, On Mon, Nov 27, 2017 at 09:15:22AM +0100, Maciej Zdeb wrote: > Hi, > > Thank you for your hard work on HAProxy 1.8 - great job! > > I tried to update haproxy from 1.7 on our r&d machine to 1.8 version > however stumbled upon problem with tune.ssl.cachesize directive. > > In 1.7.3 wit

[1.8] tune.ssl.cachesize

2017-11-27 Thread Maciej Zdeb
Hi, Thank you for your hard work on HAProxy 1.8 - great job! I tried to update haproxy from 1.7 on our r&d machine to 1.8 version however stumbled upon problem with tune.ssl.cachesize directive. In 1.7.3 with tune.ssl.cachesize = 1000: ps aux | grep haproxy USER PID %CPU %MEMVSZ