Trying to stop health check messages from being logged
I am trying to stop backend health check error messages from being logged to the system console. I have tried using "no option log-health-checks” in my configuration defaults log global no option log-health-checks mode http option dontlognull But I am still seeing error messages logged when a backend server goes down e.g. 2016 May 4 23:11:14 devtest0 backend web has no server available! 2016 May 4 23:12:06 devtest0 backend photos has no server available! What can I do to prevent these messages from going to the console.
Re: Limiting the size of the backend queues
Ideally I would like to return 429 Too Many Requests. -Original Message- From: Willy Tarreau <w...@1wt.eu> Date: Tuesday, February 9, 2016 at 11:27 PM To: Chris White <chris.wh...@illumio.com> Cc: "haproxy@formilux.org" <haproxy@formilux.org> Subject: Re: Limiting the size of the backend queues >On Tue, Feb 09, 2016 at 03:45:15PM +, Chris White wrote: >> I have been looking at the documentation for haproxy and I can???t seem to >> find anyway of limiting the size of each backend proxy queue. I can see how >> to limit the queue size and number of connections handle by each of the >> backend servers. I can see how to configure the backend queue timeout, but >> no way of actually limiting the total number of requests queued per backend >> proxy. I really want to put limits on how many requests are queued per >> backend proxy, is there anyway of doing this? > >Limiting is one thing, but what matters is what happens once the limit is >reached. Are you sure you want to return a 503 in such a case ? > >Willy >
Limiting the size of the backend queues
I have been looking at the documentation for haproxy and I can’t seem to find anyway of limiting the size of each backend proxy queue. I can see how to limit the queue size and number of connections handle by each of the backend servers. I can see how to configure the backend queue timeout, but no way of actually limiting the total number of requests queued per backend proxy. I really want to put limits on how many requests are queued per backend proxy, is there anyway of doing this? Chris White