Hello haproxy mailgroup

I have a haproxy loadbalancing 2 servers.... the servers are running java
applications on tomcat and using apache to serve static content.

one of these pages takes around 40 seconds to load acording to catalina.out
logs.

If i call it thru tomcat  (without static conent thro 8080) the page loads
(after a while); same result if i call it thru apache (port 80)

however;  If i call this page thru haproxy; there is a moment when it says
done and the page stays blank on the browser


this is my configuration

global
        maxconn     10000 # Total Max Connections.
        log     127.0.0.1   local0
        log     127.0.0.1   local1 notice
        daemon
        nbproc      1 # Number of processes
        user        haproxy
        group       haproxy
        chroot      /var/lib/haproxy

defaults
        log     global
        option      httplog
        option      logasap
        option      dontlognull
        mode        tcp
        clitimeout  60000
        srvtimeout  30000
        contimeout  4000
        retries     3
        option  redispatch
        option      httpclose


listen  load_balanced   *:80,*:443

       balance     source
        option      forwardfor
        option      httpchk /shop/c-344.htm
        server server1 192.168.0.101 weight 1 maxconn 5000 check port 8080
check port 80
        server server2 192.168.0.102 weight 1 maxconn 5000 check port 8080
check port 80

listen admin_stats *:8085
        mode            http
        stats uri       /stats
        stats realm     Scrapbookmemoriesclub global\ statistics
        stats auth      user:password

Reply via email to