You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Somesh Naidu <So...@citrix.com> on 2015/09/01 00:20:10 UTC

RE: HAProxy Max Sessions

Looks like the fullconn parameter you reference. It is supposed to be 10% of maxconn. The maxconn looks like set to default 2000 in your case so what you are seeing seems correct. Check out this link for more details - http://comments.gmane.org/gmane.comp.web.haproxy/9715

There is a global config "network.loadbalancer.haproxy.max.conn" that was introduced for this (and is set to 4096 by default) but I haven't recently verified if it still works.

Regards,
Somesh


-----Original Message-----
From: Steve Searles [mailto:ssearles@zimcom.net] 
Sent: Monday, August 31, 2015 12:10 PM
To: <us...@cloudstack.apache.org>
Subject: HAProxy Max Sessions

Does anyone know how to change the max backend sessions on the HA proxy load balancer? Currently with 2 servers I am seeing a backend session limit of 200. Is this something that needs to be changed on the VR by hand? If so how can the change be made persistent?   This is what I am seeing from the HAProxy status page.

XXX-443<http://209.212.254.157:8081/admin?stats#209_212_254_142-443>

        Queue   Session rate    Sessions        Bytes   Denied  Errors  Warnings        Server
Cur     Max     Limit   Cur     Max     Limit   Cur     Max     Limit   Total   LbTot   Last    In      Out     Req     Resp    Req     Conn    Resp    Retr    Redis   Status  LastChk Wght    Act     Bck     Chk     Dwn     Dwntme  Thrtle
Frontend<http://209.212.254.157:8081/admin?stats#209_212_254_142-443/Frontend>          1


        33


        -       161     223     2000    9554


                        116492541       403138671
        0       0       0                                       OPEN
XXX-443_0<http://209.212.254.157:8081/admin?stats#209_212_254_142-443/209_212_254_142-443_0>    0       0       -       1       26              33      110     -       3382





        209     1s      52333389        161282984               0               0       183
        68      34      8m13s UP        L4OK in 0ms
        1       Y       -       3
        1       1m4s    -
XXX-443_1<http://209.212.254.157:8081/admin?stats#209_212_254_142-443/209_212_254_142-443_1>    0       0       -       1       28              128     158     -       6274





        333     1s      64159152        241855687               0               0       261
        0       0       22m14s UP       L4OK in 0ms
        1       Y       -       0
        0       0s      -
Backend<http://209.212.254.157:8081/admin?stats#209_212_254_142-443/Backend>    0       0               1       33              161     223     200     9554




        542     1s      116492541       403138671
        0       0               0       444



- Steve