Hello All,

I've completely new to HAProxy and have come up with a basic configuration
for my haproxy server to test with. I have it loadbalancing port 80 for our
websites, which load flash applications, as well as port 1312 which is used
for some backend services. In testing, I'm noticing that my webpage is
loading really slow. So slow that I had to kick up my timeouts just to get
it to finish loading. When I load directly through the webserver, I do not
see this issue. Here is a copy of my config. Any input would be greatly
appreciated.

global
        maxconn     4096 # Total Max Connections. This is dependent on
ulimit
        daemon
        nbproc      4 # Number of processing cores. Dual Dual-core Opteron
is 4 cores for example.
        log 127.0.0.1 local0 debug

defaults
        mode        http
        clitimeout  150000
        srvtimeout  30000
        contimeout  4000
        log global
        #option      httpclose # Disable Keepalive

listen  http_proxy x.x.x.x:80
        mode tcp
        balance roundrobin
        option httpchk
        option tcpka

        ## Define your servers to balance
        server rs-webserver1 x.x.x.215:80
        server rs-webserver2 x.x.x.216:80
        server rs-webserver3 x.x.x.136:80
        server rs-webserver4 x.x.x.220:80
        server rs-webserver5 x.x.x.126:80

listen  services x.x.x.x:1312
        mode tcp
        balance roundrobin
        option tcpka
        ## Define your servers to balance
        server rs-webserver1 x.x.x.217:1312
        server rs-webserver2 x.x.x.216:1312
        server rs-webserver3 x.x.x.136:1312
        server rs-webserver4 x.x.x.220:1312
        server rs-webserver5 x.x.x.126:1312

Thanks,
Amanda


-- 
   ´¨)                                               __o
 .·´  .·´¨)    ¸.·´¨)                              _'\< .
(¸.·´     (¸.·´     (¸.·´¨¨  Amanda ¨¨¨¨¨¨( * )  (   )

Reply via email to