1.8.0 stuck in write(threads_sync_pipe[1], "S", 1)

2017-12-01 Thread Максим Куприянов
Hi! Tonight all of mine haproxy 1.8.0 instances stopped answering. They didn't forward traffic and even didn't answered over socket. They're compiled with threads, but threads are not enabled in they configs (no nbthread option). All of them stuck in same place: # strace -f -p 831919 Process

Client cert verification on some paths

2017-12-01 Thread Joao Morais
Hi, I have some apps that need to mimic an Apache httpd behavior on client certificate verification: require certificate only on some paths. Apache does this implementing SSL renegotiation as briefly explained here[1]. Of couse I can `mode tcp` proxy to an Apache instance to do that for me but

What can cause RST from HAProxy 1.7.9

2017-12-01 Thread Joao Morais
Hi, HAProxy 1.7.9 is being used to route traffic to a Kubernetes cluster on AWS. It was observed periodic spikes of RST from HAProxy on active connections. Full details in the following issue from GitHub: https://github.com/jcmoraisjr/haproxy-ingress/issues/77 . In which circumstances HAProxy

Re: Segfault with 1.8.0 build (RHEL5, old gcc).

2017-12-01 Thread Olivier Houchard
Hi Christopher, On Fri, Dec 01, 2017 at 11:59:14AM -0800, Christopher Lane wrote: > gist with backtrace, -vv output, and config file. Also strace. > > https://gist.github.com/jayalane/c6dbe7918aa9635b62c874d20f57dfec > > It does all the listens and then right after the first epoll is done it

Segfault with 1.8.0 build (RHEL5, old gcc).

2017-12-01 Thread Christopher Lane
gist with backtrace, -vv output, and config file. Also strace. https://gist.github.com/jayalane/c6dbe7918aa9635b62c874d20f57dfec It does all the listens and then right after the first epoll is done it has this segv. all the local variables are "optimized out" (We really want the

[PATCH] Make thread affinity work on FreeBSD

2017-12-01 Thread Olivier Houchard
Hi, The attached patch makes the call to pthread_setaffinity_np() work on FreeBSD. Regards, Olivier >From fc204ac3d7f9323b6583465ff5b42a0cfa46b8b1 Mon Sep 17 00:00:00 2001 From: Olivier Houchard Date: Fri, 1 Dec 2017 18:19:43 +0100 Subject: [PATCH] MINOR: threads: Fix

Re: [PATCH]: BUILD/MINOR : cfgparse: parse_cpu_set under condition

2017-12-01 Thread Willy TARREAU
On Fri, Dec 01, 2017 at 03:00:13PM +, David CARLIER wrote: > Hi, > > Here a little patch proposal to compile this function only when needed. Good catch, thank you David, now merged and backported. Willy

[PATCH]: BUILD/MINOR : cfgparse: parse_cpu_set under condition

2017-12-01 Thread David CARLIER
Hi, Here a little patch proposal to compile this function only when needed. Hope it is good. Thanks. From 7a1053f25331d21e164eae30dc1bad2400914f8d Mon Sep 17 00:00:00 2001 From: David Carlier Date: Fri, 1 Dec 2017 09:14:02 + Subject: [PATCH] BUILD/MINOR: haproxy:

MQTT client id in Haproxy

2017-12-01 Thread CJ
Hi All, Is it possible to get client id in haproxy in tcp mode just like http mode. I'm trying to get mqtt client id in haproxy tcp mode Similar case in nginx: https://www.nginx.com/blog/nginx-plus-iot-load-balancing-mqtt/ Regards, CJ

Re: Question to halog

2017-12-01 Thread Aleksandar Lazic
-- Originalnachricht -- Von: "Aleksandar Lazic" An: "haproxy" Gesendet: 01.12.2017 12:59:34 Betreff: Question to halog Hi all. I have the following log line and want to parse it with the halog tool. '2017-12-01T12:12:35+01:00 localhost

Question to halog

2017-12-01 Thread Aleksandar Lazic
Hi all. I have the following log line and want to parse it with the halog tool. '2017-12-01T12:12:35+01:00 localhost haproxy[14]: 1.2.3.4:55866 [01/Dec/2017:12:12:02.628] public be_01/server_01 0/0/2/32379/32381 500 969 - - 9/9/2/3/0 0/0 "POST /PATH/Service HTTP/1.1"' |./halog -H I