HAproxy server connection limitation


MaggieMeng
 

Hi,

Is there connection limitation on HAproxy server? We had encountered a connection issue recently. HAproxy server failed to accept new connection request after connection number reached 2000+. Is there a way to change the connection limitation?

The CF version is 197 and below is the content of haproxy server configuration file.

global
log 127.0.0.1 syslog info
daemon
user vcap
group vcap
maxconn 64000
spread-checks 4

defaults
log global
timeout connect 30000ms

frontend http-in
mode http
bind :80
option httplog
option forwardfor
reqadd X-Forwarded-Proto:\ http
default_backend http-routers



frontend https-in
mode http
bind :443 ssl crt /var/vcap/jobs/haproxy/config/cert.pem no-sslv3 ciphers
option httplog
option forwardfor
option http-server-close
reqadd X-Forwarded-Proto:\ https
default_backend http-routers

frontend ssl-in
mode tcp
bind :4443 ssl crt /var/vcap/jobs/haproxy/config/cert.pem no-sslv3 ciphers
default_backend tcp-routers


backend http-routers
mode http
balance roundrobin

Thanks,
Maggie

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.