Re: Error file and keep-alive

2014-11-17 Thread Mathias Bogaert
Hi Baptiste, Well in keep-alive mode I'd expect the connection to not be closed but idle. I'm using HAProxy behind an ELB with keep-alive mode enabled, but when using 'errorfile' I'm getting 504 Gateway Timeout. The ELB manual: "Solution: Enable keep-alive settings on your EC2 instances and set

Re: Error file and keep-alive

2014-11-17 Thread Baptiste
On Mon, Nov 17, 2014 at 11:23 PM, Mathias Bogaert wrote: > Hi, > > Is it possible that HAProxy (1.5.8) closes a keep-alive connecting using > 'http-request deny' in combination with 'errorfile'? > > Thanks, > > Mathias Hi Mathias, I would say this is the expected behavior. Have you observed som

Error file and keep-alive

2014-11-17 Thread Mathias Bogaert
Hi, Is it possible that HAProxy (1.5.8) closes a keep-alive connecting using 'http-request deny' in combination with 'errorfile'? Thanks, Mathias

[no subject]

2014-11-17 Thread Joel Van Velden
Subscribe joel.vanvelden+hapr...@bulletin.net -- [image: Inline image 1] Joel van Velden DEVOPS ENGINEER Bulletin.Net (NZ) Ltd. Auckland, New Zealand

(AD)86412058

2014-11-17 Thread 万源机械化有限公司

[PATCH] [RFC] Linux network namespace support for haproxy [v2]

2014-11-17 Thread KOVACS Krisztian
Dear Willy & list, We've finally had some time to spend on the namespace support previously discussed here on the mailing list. Please find attached the new version of the patch implementing namespace support and hopefully fixing some of your concerns. Changes compared to the previous version of

Re: Support for fair share concurrent request scheduling?

2014-11-17 Thread Baptiste
On Mon, Nov 17, 2014 at 3:48 PM, Jesse Hathaway wrote: > Baptiste writes: > >> >> On Fri, Nov 14, 2014 at 10:11 PM, Jesse Hathaway wrote: >> > Does haproxy have support for fair share concurrent request scheduling? >> > >> > Description: >> > >> > Give each user at least their fair share of conc

Re: HAProxy - DNS

2014-11-17 Thread Baptiste
Let me answer inline. On Mon, Nov 17, 2014 at 2:48 PM, Yosef Amir wrote: > Will HAProxy keep 10.0.0.1 session (since the session time out 7 minutes- > not expired) for the second request from the HTTP client ? an incoming connection won't trigger a name resolution. the name resolution is simply

Re: Support for fair share concurrent request scheduling?

2014-11-17 Thread Jesse Hathaway
Baptiste writes: > > On Fri, Nov 14, 2014 at 10:11 PM, Jesse Hathaway wrote: > > Does haproxy have support for fair share concurrent request scheduling? > > > > Description: > > > > Give each user at least their fair share of concurrent connections based on the > > current number of users and

RE: HAProxy - DNS

2014-11-17 Thread Yosef Amir
You are right, that's the way our DNS works. I probably wasn't clear enough. I will describe a scenario. Let's say we have HTTP client which opened session to HAProxy and HAProxy bind to 10.0.0.1 backend server (HAProxy will get 10.0.0.1 from the DNS upon health check and not upon client reques

Re: HAProxy - DNS

2014-11-17 Thread Baptiste
On Mon, Nov 17, 2014 at 11:37 AM, Yosef Amir wrote: > Lets say that the DNS is configure with s1.domain.com which has 5 ips: > 10.0.0.1 > 10.0.0.2 > 10.0.0.3 > 10.0.0.4 > 10.0.0.5 > > The DNS respond for the first DNS query 10.0.0.1 for the second 10.0.0.2 and > so on...(roundrobin) > That's mean

RE: HAProxy - DNS

2014-11-17 Thread Yosef Amir
Lets say that the DNS is configure with s1.domain.com which has 5 ips: 10.0.0.1 10.0.0.2 10.0.0.3 10.0.0.4 10.0.0.5 The DNS respond for the first DNS query 10.0.0.1 for the second 10.0.0.2 and so on...(roundrobin) That’s mean the for each health check (DNS query) HAProxy will get different ip. Pr

Re: HAProxy - DNS

2014-11-17 Thread Baptiste
On Mon, Nov 17, 2014 at 10:40 AM, Yosef Amir wrote: > We have in our system DNS which has its own logic for health check and > balancing for preconfigured "farms". > So, our system DNS could respond with different ip to the different queries > for the same name i.g "s1.domain.com". > Could it wi

RE: HAProxy - DNS

2014-11-17 Thread Yosef Amir
We have in our system DNS which has its own logic for health check and balancing for preconfigured "farms". So, our system DNS could respond with different ip to the different queries for the same name i.g "s1.domain.com". Could it will be problem for the HAProxy ? Thanks Amir Yosef -Orig

RE: HAProxy - DNS

2014-11-17 Thread Yosef Amir
Thanks a lot for your clear answer. Thanks Amir Yosef -Original Message- From: Baptiste [mailto:bed...@gmail.com] Sent: Monday, November 17, 2014 10:44 AM To: Yosef Amir Cc: Cohen Galit; HAProxy; Meltser Tiran Subject: Re: HAProxy - DNS On Sun, Nov 16, 2014 at 8:50 PM, Yosef Amir wrot

Re: HAProxy - DNS

2014-11-17 Thread Baptiste
On Sun, Nov 16, 2014 at 8:50 PM, Yosef Amir wrote: > Thanks a lot for the quick prompt. > > Will be very appreciate if you can elaborate (High Level is fine) for this > feature option/s ? DNS resolution will be per server. So if your DNS server answers multiple IPs, then HAProxy will use only on

Re: Support for fair share concurrent request scheduling?

2014-11-17 Thread Baptiste
On Fri, Nov 14, 2014 at 10:11 PM, Jesse Hathaway wrote: > Does haproxy have support for fair share concurrent request scheduling? > > Description: > > Give each user at least their fair share of concurrent connections based on > the > current number of users and if capacity exceeds that allotment