Re: Way to reject connections when http request greater than a value

2016-04-27 Thread Vipin Nair
Hey Baptiste, Thanks for the reply. I already have maxconn set up on my config. I can see that the number of connections coming through are more than the maxconn value. I am running on nbproc > 1, So I have divided the maxconn / nbproc So if my server can only handle 4000 / sec, I have set

Re: Way to reject connections when http request greater than a value

2016-04-27 Thread Baptiste
Hi Vipin > I have haproxy set up in production, operating in keepalive in mode http. ok > In keepalive a single session can send multiple connections. you don't send a connection, you open it or you send a request. Could you please clarify this point? > Is there a way to reject connections?

Way to reject connections when http request greater than a value

2016-04-27 Thread Vipin
Hi, I have haproxy set up in production, operating in keepalive in mode http. In keepalive a single session can send multiple connections. Is there a way to reject connections? Upon reaching total number of conenctions in backend? I tried using an acl on be_conn. This count does not reflect