title: haproxy backend limit not going higher than 1000
body: <p>I have my backend <code>maxconn</code> set to <code>5000</code> but the limit will not go up from <code>1000</code>. The global maxconn in the screenshot is 2k. I changed that to 10, but the backend limit will not go above 1k
  <a href="https://i.stack.imgur.com/Hlm4i.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Hlm4i.png" alt="enter image description here"></a></p>
  
  <p>here is my config</p>
  
  <pre><code>global
    user haproxy
    group haproxy
    log /dev/log local0
    log-tag loggy
    chroot /var/lib/haproxy
    daemon
    quiet
    stats socket /var/lib/haproxy/stats mode 777 level admin
    pidfile /var/run/haproxy.pid
    maxconn 10000
  
  defaults
    timeout connect 10s
    timeout client 60s
    timeout server 120s
    timeout tunnel 1h
    log global
    mode http
    balance roundrobin
    option httplog
    option dontlognull
    option redispatch
    stats uri /haproxy-status
  
  frontend http-in
    default_backend servers
    bind *:80
    maxconn 10000
    acl is_record_http hdr(Upgrade) -i websocket
    use_backend servers-record if is_record_http
    use_backend servers if !is_record_http
  
  frontend httpssl-in
    default_backend servers-ssl
    bind *:443
    maxconn 10000
    use_backend servers-ssl-record if { req_ssl_sni -i something.something.com }
    use_backend servers-ssl if { req_ssl_sni -i www.something.com }
    tcp-request inspect-delay 10s
    tcp-request content accept if { req_ssl_hello_type 1 }
    mode tcp
  
  
  backend servers
    server server-app something.com
  
  backend servers-record
    server server-record something.com
  
  backend servers-ssl
    server server-app-ssl something.com
    acl clienthello req_ssl_hello_type 1
    acl serverhello rep_ssl_hello_type 2
    tcp-request inspect-delay 5s
    tcp-request content accept if clienthello
    stick on payload_lv(43,1) if clienthello
    stick store-response payload_lv(43,1) if serverhello
    maxconn 5000
    mode tcp
    stick-table type binary len 32 size 30k expire 30m
    tcp-response content accept if serverhello
  
  backend servers-ssl-record
    server server-record-ssl something.com
    acl clienthello req_ssl_hello_type 1
    acl serverhello rep_ssl_hello_type 2
    tcp-request inspect-delay 5s
    tcp-request content accept if clienthello
    stick on payload_lv(43,1) if clienthello
    stick store-response payload_lv(43,1) if serverhello
    maxconn 5000
    mode tcp
    stick-table type binary len 32 size 30k expire 30m
    tcp-response content accept if serverhello
  </code></pre>