Hi. I`m a new haproxy user

From: Martin Petrov <dhstudio#abv.bg>
Date: Fri, 16 Jan 2009 15:21:50 +0200 (EET)


Hi i have a haproxy + wackamole + spread and i need a cluster two apache machines. Haproxy work FINE, BUT after 1-2 hours haproxy maybe broken. On all clients haproxy show blank page. If restart haproxy and wackamole + spread all is fine.

Is use this tutorial:
Part1: http://howtoforge.com/setting-up-a-high-availability-load-balancer-with-haproxy-wackamole-spread-on-debian-etch Part2: http://howtoforge.com/setting-up-a-high-availability-load-balancer-with-haproxy-wackamole-spread-on-debian-etch-p2

These is my conf files:
/etc/spread/spread.conf

Spread_Segment 82.137.108.255 {

       lb1.dhstudio.eu     82.137.108.6
       #     192.168.0.101

}

EventLogFile = /var/log/spread.log

EventTimeStamp



/etc/wackamole.conf
Spread = 4803
SpreadRetryInterval = 5s
Group = wack1
Control = /var/run/wackamole/wackamole.it

Prefer None

VirtualInterfaces {
# eth0:82.137.108.3/24

        eth0:82.137.108.3/32
}

Arp-Cache = 60s

Notify {

        eth0:82.137.108.1/32
        eth0:82.137.108.0/24
        arp-cache

}

balance {
        AcquisitionsPerRound = all
        interval = 4s

}

mature = 5s

/etc/haproxy/haproxy.cfg
global
        log 127.0.0.1   local0
        log 127.0.0.1   local1 notice
        #log loghost    local0 info
        maxconn 4096
        #debug
        #quiet
        user haproxy
        group haproxy

defaults
        log     global
        mode    http
        option  httplog
        option  dontlognull
        retries 3
        redispatch
        maxconn 2000
        contimeout      5000
        clitimeout      50000
        srvtimeout      50000

listen webfarm 82.137.108.3:80
       mode http
       stats enable
       stats auth amri:amridikon1
       balance roundrobin
       cookie JSESSIONID prefix
       option httpclose
       option forwardfor
       option httpchk HEAD /check.txt HTTP/1.0
       server dhstudio 82.137.108.2:88 cookie A check
       server me_ns2 82.137.108.6:88 cookie B check


Haproxy balancer 82.137.108.6:80
Webserver1 82.137.108.2:88
Webserver2 82.137.108.6:88

Please Help me! Why haproxy show blank page on some clients. Thx in advance! Received on 2009/01/16 14:21

This archive was generated by hypermail 2.2.0 : 2009/01/16 14:30 CET