You should blog about....

2018-01-15 Thread David Miller
Hello, My name is David, I have contributed articles to sites like Business2Community ( http://www.business2community.com/strategy/4-important-key-areas-success-project-management-team-01687573#RukF6cTfu5DryqzW.97 ) ,eLearning Industry ( https://elearningindustry.com/project-management-in-

Re: High load average under 1.8 with multiple draining processes

2018-01-15 Thread Willy Tarreau
Hi Lukas, On Mon, Jan 15, 2018 at 11:30:49PM +0100, Lukas Tribus wrote: > Also consider this report from discourse: > https://discourse.haproxy.org/t/haproxy1-8-3-dynamic-dns-resolvers-problem/1997 > > Haproxy 1.8.3 with nbthread > 1 and while reloading, DNS resolutions fails. > Its possibile thi

Re: High load average under 1.8 with multiple draining processes

2018-01-15 Thread Lukas Tribus
Hey guys, On 15 January 2018 at 20:49, Willy Tarreau wrote: > Samuel, > > While running a few tests with Christopher's patch in order to integrate > it, I managed to find a case where I'm still seeing quite a number of > calls to epoll_wait(0)=0. Studying the patch, I found that there's a > corne

Re: High load average under 1.8 with multiple draining processes

2018-01-15 Thread Willy Tarreau
Samuel, While running a few tests with Christopher's patch in order to integrate it, I managed to find a case where I'm still seeing quite a number of calls to epoll_wait(0)=0. Studying the patch, I found that there's a corner case which it doesn't address, which is where an fd is processed and re

[SPAM] 你有美元,教你躺着赚钱

2018-01-15 Thread daohan
Title: 韩氏危害:仅止于文化领域么? 作者:四川一杀猪的 来自发信者::兑换美元,我先打人民币给你,你再结美元给我,比当天汇率高,详情请加黄生:扣 扣 7825 53723,手 机:135-3541-5522,V信同号,欢迎前来咨询

Warnings when using dynamic cookies and server-template

2018-01-15 Thread Pierre Cheynier
Hello, We started to use the server-template approach in which you basically provision servers in backends using a "check disabled" state, then re-enabling them using the Runtime API. I recently noticed that when used with dynamic cookies, we end up getting these warnings: haproxy.c:149    

Re: Cache & ACLs issue

2018-01-15 Thread Pierre Cheynier
Small update on this one: using a "path_beg" ACL it seems works... So, I guess there is something wrong potentially outside of cache.c when using path_end, but affecting the cache in some way. I also noticed some suspicious entries in the cache, like hash=0, but I'm not able to qualify when does

Re[2]: How to parse custom PROXY protocol v2 header for custom routing in HAProxy configuration?

2018-01-15 Thread Aleksandar Lazic
Hi. Follow up question to proxy protocol Is it possible to handle the Type-Length-Value (TLV) fields in from pp2 in haproxy config or in lua? I refer to 2.2.7. Reserved type ranges https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt from the question on so https://stackoverflow.com

Re: High load average under 1.8 with multiple draining processes

2018-01-15 Thread Willy Tarreau
On Mon, Jan 15, 2018 at 09:39:25AM -0600, Samuel Reed wrote: > Reload is done via the sysvinit wrapper, which executes: > > $HAPROXY -f "$CONFIG" -p $PIDFILE -sf $(cat $PIDFILE) -D $EXTRAOPTS > > No $EXTRAOPTS are specified. We don't use unix sockets and we don't use > master-worker. I'll send an

Re: High load average under 1.8 with multiple draining processes

2018-01-15 Thread Samuel Reed
Reload is done via the sysvinit wrapper, which executes: $HAPROXY -f "$CONFIG" -p $PIDFILE -sf $(cat $PIDFILE) -D $EXTRAOPTS No $EXTRAOPTS are specified. We don't use unix sockets and we don't use master-worker. I'll send an anonymized haproxy config directly to you two along with the results of

Re: High load average under 1.8 with multiple draining processes

2018-01-15 Thread Willy Tarreau
On Mon, Jan 15, 2018 at 03:28:12PM +0100, Christopher Faulet wrote: > Could you provide the output of "show > sess all" command on the CLI (and maybe "show fd" too) ? By the way, be careful, "show sess all" will be huge and will disclose some potentially sensitive information (source/destination

Re: High load average under 1.8 with multiple draining processes

2018-01-15 Thread Christopher Faulet
Le 15/01/2018 à 15:14, Samuel Reed a écrit : Thank you for the patch and your quick attention to this issue. Results after a few reloads, 8 threads on 16 core machine, both draining and new process have patches. New process: % time seconds  usecs/call calls    errors syscall --

Re: High load average under 1.8 with multiple draining processes

2018-01-15 Thread Willy Tarreau
On Mon, Jan 15, 2018 at 08:14:40AM -0600, Samuel Reed wrote: > Thank you for the patch and your quick attention to this issue. Results > after a few reloads, 8 threads on 16 core machine, both draining and new > process have patches. > > New process: > > % time seconds  usecs/call calls  

Re: High load average under 1.8 with multiple draining processes

2018-01-15 Thread Samuel Reed
Thank you for the patch and your quick attention to this issue. Results after a few reloads, 8 threads on 16 core machine, both draining and new process have patches. New process: % time seconds  usecs/call calls    errors syscall -- --- --- - - ---

Re: High load average under 1.8 with multiple draining processes

2018-01-15 Thread Christopher Faulet
Le 12/01/2018 à 18:51, Willy Tarreau a écrit : On Fri, Jan 12, 2018 at 11:06:32AM -0600, Samuel Reed wrote: On 1.8-git, similar results on the new process: % time seconds  usecs/call calls    errors syscall -- --- --- - -  93.75    0

Re: [PATCH 0/8] Add IPv6 support to the ipmask converter

2018-01-15 Thread Jarno Huuskonen
Hi Tim, On Sun, Jan 14, Tim Düsterhus wrote: > > Have you tested that req.hdr_ip / stick tables work w/both masks ? I > > used something like: > > http-request track-sc0 req.hdr_ip(X,1),ipmask(24,64) table test_be > > http-request set-var(sess.myx) req.hdr_ip(X,1),ipmask(24,64) > > http-response s