Re: Request rate limiting on the backend section

2017-11-07 Thread Krishna Kumar (Engineering)
On Tue, Nov 7, 2017 at 11:57 PM, Lukas Tribus wrote: Hi Lukas, > Yes, in 1.7 you can change server maxconn values in real time using > the admin socket: > https://cbonte.github.io/haproxy-dconv/1.7/management. html#9.3-set%20maxconn%20server Thanks, will take a look at if we can use this. The o

lua socket api settimeout in seconds vs. milliseconds

2017-11-07 Thread Nick Galbreath
Hello, Thanks for a great Lua API! I have a question regarding the socket:settimeout function. It appears to only accept an integer value for seconds, but internally converts to milliseconds (see below). Is there a reason to enforce whole seconds, or could this be relaxed to accept a lua number

Re: Request rate limiting on the backend section

2017-11-07 Thread Lukas Tribus
Hello, 2017-11-07 17:55 GMT+01:00 Krishna Kumar (Engineering) : > Hi Lukas, > > On Tue, Nov 7, 2017 at 6:46 PM, Lukas Tribus wrote: > >> I'd suggest to use maxconn. This limits the amount of connections opened >> to a single server, and is therefor equivalent to in-flight requests. >> That's is

Re: Request rate limiting on the backend section

2017-11-07 Thread Krishna Kumar (Engineering)
Hi Lukas, On Tue, Nov 7, 2017 at 6:46 PM, Lukas Tribus wrote: > I'd suggest to use maxconn. This limits the amount of connections opened > to a single server, and is therefor equivalent to in-flight requests. That's is > a more appropriate limit than RPS because it doesn't matter if the response

Re: Problem: Connect() failed for backend: no free ports.

2017-11-07 Thread Lukas Tribus
Hello, >> If you don't require specific source IP's per server, than just remove >> the "source ip:port-range" keyword altogether, the kernel will take >> care of everything. Just make sure that your sysctls permit a similar >> source port range. > > thanks. That helps. > > >> If you need specifi

Re: Problem: Connect() failed for backend: no free ports.

2017-11-07 Thread Michael Schwartzkopff
Am 06.11.2017 um 23:43 schrieb Lukas Tribus: > Hallo Michael, > > > > 2017-11-06 22:47 GMT+01:00 Michael Schwartzkopff : >> Am 06.11.2017 um 22:39 schrieb Baptiste: >>> On Mon, Nov 6, 2017 at 10:14 PM, Michael Schwartzkopff wrote: >>> Hi, I have a problem setting up a haproxy 1.6.13

Re: Request rate limiting on the backend section

2017-11-07 Thread Lukas Tribus
Hello, 2017-11-07 10:46 GMT+01:00 Krishna Kumar (Engineering) : > Hi all, > > I am trying to implement request rate limiting to protect our servers from > too > many requests. While we were able to get this working correctly in the > frontend section, it is required to implement the same in the

Re: Rename SPIN/RWLOCK macros using HA_

2017-11-07 Thread Willy TARREAU
On Tue, Nov 07, 2017 at 10:51:16AM +0100, Christopher Faulet wrote: > Hi Willy, > > Here is the patch to rename SPIN/RWLOCK macros and another one to > implicitly enable USE_THREAD on Solaris. now applied, thank you! Willy

Request rate limiting on the backend section

2017-11-07 Thread Krishna Kumar (Engineering)
Hi all, I am trying to implement request rate limiting to protect our servers from too many requests. While we were able to get this working correctly in the frontend section, it is required to implement the same in the backend section due to the configuration we use in our data center for differe

Editorial Ideas for your consideration

2017-11-07 Thread Jason Grills
Hello, My name is Jason; I am a Writer & Technical Support Executive at ProProfs.com ( https://www.proprofs.com/ ) , a website for building and testing knowledge. I have recently contributed articles to sites like Mycustomer ( https://www.mycustomer.com/service/channels/do-emojis-have-a-rol

Re: Diagnose a PD-- status

2017-11-07 Thread Christopher Faulet
Le 06/11/2017 à 16:47, Mildis a écrit : Hi Christopher, Configuration is attached. The domain2backend map sends data mostly to bck-traefik. Hi Mildis, At first glance, I don't see anything strange here. The compression filter is not supposed to fail this way. So there is definitely somethi