Re: haproxy segfault

2019-02-13 Thread Georg Faerber
On 19-02-13 16:27:21, Hugues Alary wrote: > (Also, I've been looking for commit 451c5a88 and can't find it > anywhere). See http://git.haproxy.org/?p=haproxy-1.9.git;a=commit;h=451c5a88, also attached. Cheers, Georg From 451c5a8879a9d59b489ad5117c984044d41c8338 Mon Sep 17 00:00:00 2001 From:

Re: haproxy segfault

2019-02-13 Thread Lukas Tribus
Hi Hugues, On Thursday, 14 February 2019, Hugues Alary wrote: > Hi, > > I am also running into this issue using 1.9.4 (i.e. the current "latest" > docker image) with absolutely no load at all (1 client): > > [ALERT] 044/001000 (1) : sendmsg()/writev() failed in logger #1: No such > file or

Re: haproxy segfault

2019-02-13 Thread Hugues Alary
Hi, I am also running into this issue using 1.9.4 (i.e. the current "latest" docker image) with absolutely no load at all (1 client): [ALERT] 044/001000 (1) : sendmsg()/writev() failed in logger #1: No such file or directory (errno=2) [NOTICE] 044/001000 (1) : New worker #1 (8) forked [ALERT]

Re: High p99 latency with HAProxy 1.9 in http mode compared to 1.8

2019-02-13 Thread Ashwin Neerabail
Hi Willy, Thank you for the detailed response. Sorry for the delay in response. I ran all the combinations multiple times to ensure consistent reproducibility. Here is what i found : Test Setup (same as last time): 2 Kube pods one running Haproxy 1.8.17 and another running 1.9.2 loadbalancing

Re: Compilation fails on OS-X

2019-02-13 Thread Patrick Hemmer
On 2019/2/13 10:29, Olivier Houchard wrote: > Hi Patrick, > > On Wed, Feb 13, 2019 at 10:01:01AM -0500, Patrick Hemmer wrote: >> >> On 2019/2/13 09:40, Aleksandar Lazic wrote: >>> Am 13.02.2019 um 14:45 schrieb Patrick Hemmer: Trying to compile haproxy on my local machine for testing

Re: Compilation fails on OS-X

2019-02-13 Thread Tim Düsterhus
Olivier, Am 13.02.19 um 16:29 schrieb Olivier Houchard: > Does the (totally untested, because I have no Mac to test) patch works for > you ? > Note: This was also reported in the bug tracker. Can you add a "see issue #42" to the message of the final patch? see:

[RFC PATCH] MEDIUM: compression: Add support for brotli compression

2019-02-13 Thread Tim Duesterhus
Willy, Aleks, List, this (absolutely non-ready-to-merge) patch adds support for brotli compression as suggested in issue #21: https://github.com/haproxy/haproxy/issues/21 It is tested on Ubuntu Xenial with libbrotli 1.0.3: [timwolla@~]apt-cache policy libbrotli-dev

Re: Compilation fails on OS-X

2019-02-13 Thread Olivier Houchard
Hi Patrick, On Wed, Feb 13, 2019 at 10:01:01AM -0500, Patrick Hemmer wrote: > > > On 2019/2/13 09:40, Aleksandar Lazic wrote: > > Am 13.02.2019 um 14:45 schrieb Patrick Hemmer: > >> Trying to compile haproxy on my local machine for testing purposes and am > >> running into the following: > >

Re: Compilation fails on OS-X

2019-02-13 Thread Patrick Hemmer
On 2019/2/13 09:40, Aleksandar Lazic wrote: > Am 13.02.2019 um 14:45 schrieb Patrick Hemmer: >> Trying to compile haproxy on my local machine for testing purposes and am >> running into the following: > Which compiler do you use? # gcc -v Configured with:

Re: Compilation fails on OS-X

2019-02-13 Thread Aleksandar Lazic
Am 13.02.2019 um 14:45 schrieb Patrick Hemmer: > Trying to compile haproxy on my local machine for testing purposes and am > running into the following: Which compiler do you use? >         # make TARGET=osx >     src/proto_http.c:293:1: error: argument to 'section' attribute is not > valid

Compilation fails on OS-X

2019-02-13 Thread Patrick Hemmer
Trying to compile haproxy on my local machine for testing purposes and am running into the following: # make TARGET=osx src/proto_http.c:293:1: error: argument to 'section' attribute is not valid for this target: mach-o section specifier requires a segment and section separated by

Re: http-use-htx and IIS

2019-02-13 Thread Christopher Faulet
Le 08/02/2019 à 15:55, Willy Tarreau a écrit : Hi Marco, On Fri, Feb 08, 2019 at 02:20:53PM +0100, Marco Corte wrote: Il 2019-02-07 17:50 Marco Corte ha scritto: Hello! I am testing haproxy version 1.9.4 on Ubuntu 18.04. With the "option http-use-htx", haproxy shows a strange behaviour when

Re: error in haproxy 1.9 using txn.req:send in lua

2019-02-13 Thread Laurent Penot
Hi Christopher, I'm so sad It was really working well in my use case with 1.8 versions. Thank's a lot for your answer Best Laurent On 13/02/2019 10:56, "Christopher Faulet" wrote: Le 13/02/2019 à 09:34, Laurent Penot a écrit : > Hi Thierry, guys, > > When receiving a POST

Re: haproxy segfault

2019-02-13 Thread Christopher Faulet
Le 13/02/2019 à 09:40, m...@mildis.org a écrit : Thanks Vincent, got a core dump. Here is the backtrace #0  0x5577fb060375 in __pool_get_from_cache (pool=0x5577fb3f7540 ) at include/common/memory.h:199 199    include/common/memory.h: No such file or directory. (gdb) bt full #0 

Re: error in haproxy 1.9 using txn.req:send in lua

2019-02-13 Thread Christopher Faulet
Le 13/02/2019 à 09:34, Laurent Penot a écrit : Hi Thierry, guys, When receiving a POST request on haproxy, I use lua to compute some values, and modify the body of the request before forwarding to the backend, so my backend can get these variables from the POST and use them. Here is a

Re: HAProxy in front of Docker Enterprise problem

2019-02-13 Thread Aleksandar Lazic
Hi. Am 13.02.2019 um 00:21 schrieb Norman Branitsky: > I have an HAProxy 1.7 server sitting in front of a number of Docker Enterprise > Manager nodes and Worker nodes. > > The Worker nodes don’t appear to have any problem with HAProxy terminating the > SSL and connecting to them via HTTP. > >

Re: haproxy segfault

2019-02-13 Thread me
Thanks Vincent, got a core dump. Here is the backtrace #0  0x5577fb060375 in __pool_get_from_cache (pool=0x5577fb3f7540 ) at include/common/memory.h:199 199    include/common/memory.h: No such file or directory. (gdb) bt full #0  0x5577fb060375 in __pool_get_from_cache

error in haproxy 1.9 using txn.req:send in lua

2019-02-13 Thread Laurent Penot
Hi Thierry, guys, When receiving a POST request on haproxy, I use lua to compute some values, and modify the body of the request before forwarding to the backend, so my backend can get these variables from the POST and use them. Here is a sample cfg, and lua code to reproduce this. #