Re: Geotargeting and Server DOWN problem

2012-01-30 Thread Sebastian Fohler
Thank you for your answer. Sorry Cyril I've missed the messeges between my textlines somehow, no offense, just plain laziness. Should have read the complete text before I asked for further advice. I'll check your hints now and will reconfigure my system hope it helps. Thank you again. Best

Re: Geotargeting and Server DOWN problem

2012-01-29 Thread Sebastian Fohler
Sure no problem, here is my config: # cat haproxy.cfg global maxconn 9 log 127.0.0.1 local0 uid 80 gid 80 nbproc 1 chroot

Re: Geotargeting and Server DOWN problem

2012-01-29 Thread Sebastian Fohler
Another thing which might help to understand the problem: Jan 29 14:24:57 haproxy[61441]: Server adserver.adworxs.local/adserver2 is DOWN, reason: Socket error, info: Operation not permitted, check duration: 0ms. 2 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining

Re: Geotargeting and Server DOWN problem

2012-01-29 Thread Willy Tarreau
Hi Sebastian, On Sun, Jan 29, 2012 at 02:09:57PM +0100, Sebastian Fohler wrote: server adserver1.dev 192.168.10.41:80 check inter 10 weight 100 server adserver1.dev 192.168.10.41:443 check inter 10 weight 100 The check intervals are in

Re: Geotargeting and Server DOWN problem

2012-01-29 Thread Cyril Bonté
Hi Sebastian, Is this really your configuration ? I'm afraid to say that it can't work the way it is done (or I missed something). For those reasons : Le 29/01/2012 14:09, Sebastian Fohler a écrit : Sure no problem, here is my config: the points the points # cat haproxy.cfg global maxconn

Re: Geotargeting and Server DOWN problem

2012-01-29 Thread Sebastian Fohler
Where is the problem? As I already said before, it's my first haproxy config. I only used hardware loadbalancing before. Any help would be appreciated. Best regards Sebastian On 29.01.2012 23:27, Cyril Bonté wrote: Hi Sebastian, Is this really your configuration ? I'm afraid to say that it

Re: Geotargeting and Server DOWN problem

2012-01-29 Thread Baptiste
Hi Sebastian, I think Cyril's email is full of advices for you, explaining you where your problem may be. Basically you have several options for your configuration. Either you turn all your listeneners to tcp, removing the http health checks, HAProxy will do basic tcp. Or you can also splitting

Re: Geotargeting and Server DOWN problem

2012-01-27 Thread Sander Klein
On 27.01.2012 16:01, Sebastian Fohler wrote: Sorry just found out that I definitly do an active check. But for some reason every second refresh of my stats shows the servers down. Any idea why that could be? The servers are definitly up all that time. Hmz, I don't know. It think it's helpful

Geotargeting and Server DOWN problem

2012-01-26 Thread Sebastian Fohler
I'm trying to setup a loadbalancing configuration with four backend server on nginx basis. The first problem I had was, while checking the haproxy stats, that they show every backendserver is at least the same time DOWN as it is UP, how can this be, and what could be the problem? Another

Re: Geotargeting and Server DOWN problem

2012-01-26 Thread Sander Klein
Hi, On 26.01.2012 18:45, Sebastian Fohler wrote: I'm trying to setup a loadbalancing configuration with four backend server on nginx basis. The first problem I had was, while checking the haproxy stats, that they show every backendserver is at least the same time DOWN as it is UP, how can this