HAPROXY in zLinux is presenting Segmentation fault

2009-10-16 Thread alexandre oliveira
Hello. I've downloaded, compiled and installed haproxy version 1.3.20 in one SUSE Linux Enterprise Server 10 (s390x), VERSION = 10, PATCHLEVEL = 2. I start the haproxy with command line: /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -d and I make some tests with HTTP and HTTPS. At first it

Redirect_prefix question

2009-10-16 Thread chris
Hi Guys, I have a wildcard SSL certificate which I wish to do a redirect from http to https whilst maintaining the original subdomain requested, eg: http://sub.domain.com/page should be redirected to https://sub.domain.com/page I can't do this with redirect_prefix (it seems to require I kno

Re: HAPROXY in zLinux is presenting Segmentation fault

2009-10-16 Thread Krzysztof Olędzki
On 2009-10-16 15:22, alexandre oliveira wrote: Hello. I've downloaded, compiled and installed haproxy version 1.3.20 in one SUSE Linux Enterprise Server 10 (s390x), VERSION = 10, PATCHLEVEL = 2. I start the haproxy with command line: /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -d and I make

Question relating to the errors show on the HAProxy stats screen and 503 errors.

2009-10-16 Thread Malcolm Turnbull
Under the errors section what exactly does the Resp.section mean? Does it mean any response that is not a 200 OK? I have a customer with a lot of check errors, a lot of Resp. errors and too many Down errors. Origional config was:     server mm5 173.45.238.119:80 weight 1 cookie mm5     server mm

Re: HAPROXY in zLinux is presenting Segmentation fault

2009-10-16 Thread Willy Tarreau
Hello Alexandre, On Fri, Oct 16, 2009 at 01:22:03PM +, alexandre oliveira wrote: > > Hello. I've downloaded, compiled and installed haproxy version 1.3.20 in one > SUSE Linux Enterprise Server 10 (s390x), VERSION = 10, PATCHLEVEL = 2. > > > > I start the haproxy with command line: /usr/s

Re: dynamic weights based on actual server load

2009-10-16 Thread Mariusz Gronczewski
2009/10/16 Craig : > Hi, > > a patch (set weight/get weight) I imagined some days ago was integrated > just 6hrs after I had thought about it (Willy must be reading them!). > > I've written a simple (exchangable) interface that prints out a servers > load and a client to read it. I plan to read the

Re: dynamic weights based on actual server load

2009-10-16 Thread Hank A. Paulson
For the code you are developing, if you make the interface general enough so that parameters can be added or removed that would be good. Telnet/text/memcached style protocols seem popular to allow easy debugging/monitoring. So if your protocol says a machine has to send a load info bundle like:

Re: dynamic weights based on actual server load

2009-10-16 Thread Robert Simmons
Hello, Before anyone goes too far into creating things here, I should probably point out that I have already written a system that handles this feature based upon CPU, Memory and Network usage, it was my University Dissertation! Since that has only just been marked, I haven't previously

Re: dynamic weights based on actual server load

2009-10-16 Thread David Birdsong
On Fri, Oct 16, 2009 at 10:29 AM, Craig wrote: > Hi, > > a patch (set weight/get weight) I imagined some days ago was integrated > just 6hrs after I had thought about it (Willy must be reading them!). > > I've written a simple (exchangable) interface that prints out a servers > load and a client t

Re: dynamic weights based on actual server load

2009-10-16 Thread Willy Tarreau
Hi, On Fri, Oct 16, 2009 at 07:29:30PM +0200, Craig wrote: > Hi, > > a patch (set weight/get weight) I imagined some days ago was integrated > just 6hrs after I had thought about it (Willy must be reading them!). hehe :-) > I've written a simple (exchangable) interface that prints out a servers

Re: dynamic weights based on actual server load

2009-10-16 Thread Willy Tarreau
On Fri, Oct 16, 2009 at 01:44:58PM -0700, David Birdsong wrote: > I know it's not as precise as using weights, but dynamic rebalancing > of traffic could also be done with health checks. You could write > something like this in 2 hours or less. > > Run a simple daemon on a server that can take a

Re: dynamic weights based on actual server load

2009-10-16 Thread Willy Tarreau
On Fri, Oct 16, 2009 at 01:36:52PM -0700, Hank A. Paulson wrote: > For the code you are developing, if you make the interface general enough > so that parameters can be added or removed that would be good. > Telnet/text/memcached style protocols seem popular to allow easy > debugging/monitoring.

Re: Question relating to the errors show on the HAProxy stats screen and 503 errors.

2009-10-16 Thread Willy Tarreau
Hi Malcolm, On Fri, Oct 16, 2009 at 05:54:13PM +0100, Malcolm Turnbull wrote: > Under the errors section what exactly does the Resp.section mean? > Does it mean any response that is not a 200 OK? No, it means that haproxy detected an error when waiting for the response. It generally means a timeo

Re: Redirect_prefix question

2009-10-16 Thread Willy Tarreau
Hi Chris, On Fri, Oct 16, 2009 at 02:50:44PM +0100, ch...@sargy.co.uk wrote: > > Hi Guys, > > I have a wildcard SSL certificate which I wish to do a redirect from > http to https whilst maintaining the original subdomain requested, eg: > > http://sub.domain.com/page should be redirected to >

Re: OT: murmurhash

2009-10-16 Thread Aleksandar Lazic
On Fre 16.10.2009 06:32, Willy Tarreau wrote: Hi Aleks, On Fri, Oct 16, 2009 at 12:56:02AM +0200, Aleksandar Lazic wrote: Dear Listmember, does anybody have seen or used this 'new' hash? http://murmurhash.googlepages.com/ http://murmurhash.googlepages.com/MurmurHash2A.cpp For me it looks ve