Re: [PATCH] Support statistics in multi-process mode

2015-09-14 Thread Philipp Kolmann
Hi Willi, On 09/14/15 12:17, Willy Tarreau wrote: OK I now found a moment to spare some time on your patch. During my first lecture I didn't understand that it relied on SIGUSR2 to aggregate counters. I'm seeing several issues with that approach : I never had the intent to look like I did the

Cannot enable a config "disabled" server via socket command

2015-09-14 Thread Ayush Goyal
Hi, We are testing haproxy-1.6dev4, we have added a server in backend as disabled, but we are not able to bring it up using socket command. Our backend conf looks like this: =cut backend apiservers server api101 localhost:1234 maxconn 128 weight 1 check server

Re: [PATCH] Support statistics in multi-process mode

2015-09-14 Thread Aleksandar Lazic
Hi. Am 14-09-2015 12:17, schrieb Willy Tarreau: Hi Philipp, [snipped] What I'd like to have instead would be a per-proxy shared memory segment for stats in addition to the per-process one, that is updated using atomic operations each time other stats are updated. The max are a bit tricky

Accepting both, SSL- and non-SSL connections when acting as SSL end point

2015-09-14 Thread Martin Schmid
Hello list I'm quite new to haproxy, and I've managed to use it with SSL passthru and as SSL termination. I've also startet looking into the code to find the answers or solutions to what I want to achieve. I have OpenVPN and HTTPS running on the same port. This can be done with several

Re: [ANNOUNCE] haproxy-1.6-dev5

2015-09-14 Thread PiBa-NL
Op 14-9-2015 om 13:37 schreef Willy Tarreau: Hi all, we've fixed several bugs since -dev4 so in order to encourage people to safely test the code, here comes -dev5. Hi Willy, As always its nice to have a new -dev release when some fixes have been added. Though i think a day or two heads-up

RE: rate limiting according to "total time" - possible ?

2015-09-14 Thread Roland RoLaNd
That's exactly what i wanted!! thank you willy > Date: Mon, 14 Sep 2015 07:38:08 +0200 > From: w...@1wt.eu > To: r_o_l_a_...@hotmail.com > CC: haproxy@formilux.org > Subject: Re: rate limiting according to "total time" - possible ? > > Hi Roland, > > On Fri, Sep 11, 2015 at 05:11:11PM +0300,

Re: [PATCH] Support statistics in multi-process mode

2015-09-14 Thread Willy Tarreau
On Mon, Sep 14, 2015 at 01:07:45PM +0200, Philipp Kolmann wrote: > Hi Willi, > > On 09/14/15 12:17, Willy Tarreau wrote: > >OK I now found a moment to spare some time on your patch. During my > >first lecture I didn't understand that it relied on SIGUSR2 to > >aggregate counters. I'm seeing

Re: Accepting both, SSL- and non-SSL connections when acting as SSL end point

2015-09-14 Thread PiBa-NL
Op 14-9-2015 om 14:32 schreef Martin Schmid: Hello list I'm quite new to haproxy, and I've managed to use it with SSL passthru and as SSL termination. I've also startet looking into the code to find the answers or solutions to what I want to achieve. I have OpenVPN and HTTPS running on the

sticky session not always sticky

2015-09-14 Thread Yves Van Wert
Hi list, we have a backend configuration that uses sticky session based on a cookie. This works wel in 99.99% of all requests. The problem is with the 0.01% of requests where the client switches backend. Is there any way i can debug this ? The backend server is not reported to be DOWN. I can't

Re: sticky session not always sticky

2015-09-14 Thread Willy Tarreau
Hi Yves, On Mon, Sep 14, 2015 at 04:30:22PM +0200, Yves Van Wert wrote: > Hi list, > > we have a backend configuration that uses sticky session based on a > cookie. This works wel in 99.99% of all requests. The problem is with the > 0.01% of requests where the client switches backend. Is there

Re:premium printed swim caps

2015-09-14 Thread POQSWIM
DearManager Areyouinterestedinsilicon=esiwmcapswithlogoprint?Qty=:1000pcs Price:USD0.86/pcs =bsp;Logo:USD0.2/color/side 100%puresiliconeswimcap,=Smallorder,from100pcsCanproduceanypantonecolor,CanbeprintanylogoEasyorder,sentustheartandwedoth=erest

Re: [ANNOUNCE] haproxy-1.6-dev5

2015-09-14 Thread Baptiste
On Mon, Sep 14, 2015 at 9:12 PM, Willy Tarreau wrote: > On Mon, Sep 14, 2015 at 09:08:49PM +0200, PiBa-NL wrote: >> Op 14-9-2015 om 18:48 schreef Willy Tarreau: >> >BTW as a general rule, patches being merged are ACKed to their authors >> >or rejected, so if you don't get a response,

Re: [ANNOUNCE] haproxy-1.6-dev5

2015-09-14 Thread Willy Tarreau
On Mon, Sep 14, 2015 at 10:46:00PM +0200, Baptiste wrote: > The issue is related to the connect() function to establish the UDP > connection. > Currently, I use a sizeof() to get the len of the address structure > and Remi suggested to use get_addr_len() instead. > > Pieter confirmed Remi's

Re: Multiple log entries with exact same Tq, Tc, Tr and Tt

2015-09-14 Thread Dave Stern
Willy, Thank you so much for your response. We are not running in a VM, although our backend DB does, but I can't see how that would be relevant. This is a basic haproxy install via apt on ubuntu. I parsed the log myself to make it easier to read, but I realize I didn't include some important

Re: [ANNOUNCE] haproxy-1.6-dev5

2015-09-14 Thread PiBa-NL
Op 14-9-2015 om 18:48 schreef Willy Tarreau: BTW as a general rule, patches being merged are ACKed to their authors or rejected, so if you don't get a response, simply consider it lost. I didn't sent a patch so to speak, Remi did send a 'diff --git' but without the comment to put into the

Re: [ANNOUNCE] haproxy-1.6-dev5

2015-09-14 Thread Willy Tarreau
On Mon, Sep 14, 2015 at 09:08:49PM +0200, PiBa-NL wrote: > Op 14-9-2015 om 18:48 schreef Willy Tarreau: > >BTW as a general rule, patches being merged are ACKed to their authors > >or rejected, so if you don't get a response, simply consider it lost. > I didn't sent a patch so to speak, Remi did

Re: Two things: proxy protocol v2 example and a missing article.

2015-09-14 Thread Willy Tarreau
Hi Eliezer, On Fri, Sep 11, 2015 at 01:45:23PM +0300, Eliezer Croitoru wrote: > Hey List, > > I am writing a proxy protocol parser in golang and I need some help. > I am looking for couple proxy protocol v2 examples for testing purposes. > I am looking for couple strings which I can throw at my

Re: AW: Delete response headers unless condition give me a warning

2015-09-14 Thread Alex
Ricardo F writes: > > Hello, > Thanks for the responses, At least i found that my tought are correct. > > If you have enought time, Willy, i will read the explanation gladly but if someone are in the same situation as me, this is other workaroung: > >         rspidel

Re: [PATCH] Support statistics in multi-process mode

2015-09-14 Thread Willy Tarreau
Hi Philipp, OK I now found a moment to spare some time on your patch. During my first lecture I didn't understand that it relied on SIGUSR2 to aggregate counters. I'm seeing several issues with that approach : - the time to scan all the proxies can be huge. Some people on this list run