Re: Configuration API?

2011-02-07 Thread Bedis 9
Do you have an example of what purpose it would serve ? I'm asking because it's not very easy to implement with table-based algorithms, since the size of the table is determined by the GCD of all active servers' weights. Thus adding a new server will change the size of the table. It's also

HAProxy Stunnel SSL Setup question

2011-02-07 Thread Amol
Hi all, i had a question on setting up haproxy in SSL, since my current site is https(where i had used openssl to generate csr and crt keys), so i wanted to load balance with the same. My web servers are apache and they are behind the haproxy server, so once i install stunnel on HAproxy

Re: HAProxy Stunnel SSL Setup question

2011-02-07 Thread Brett Delle Grazie
Hi, On 7 February 2011 17:54, Amol mandm_z...@yahoo.com wrote: Hi all, i had a question on setting up haproxy in SSL, since my current site is https(where i had used openssl to generate csr and crt keys), so i wanted to load balance with the same. My web servers are apache and they are

Re: HAProxy Stunnel SSL Setup question

2011-02-07 Thread Craig
Hello, The last stunnel patch I saw on this mailing list was for stunnel 4.34 available from this thread: http://www.mail-archive.com/haproxy@formilux.org/msg04024.html Someone worked on this today, too: https://bugs.gentoo.org/show_bug.cgi?id=353955 It fixes the manpage, too. No one

Re: balance (hdr) problem (maybe bug?)

2011-02-07 Thread Craig
Hi, The X-Forwarded-For header is only added once at the end of all processing. Otherwise, having it in the defaults section would result in both your frontend and your backend adding it. Then the possibility to add it only to a frontend or a backend in the defaults section would be nice? So

Re: Configuration API?

2011-02-07 Thread Willy Tarreau
On Mon, Feb 07, 2011 at 09:45:21AM +0100, Bedis 9 wrote: Do you have an example of what purpose it would serve ? I'm asking because it's not very easy to implement with table-based algorithms, since the size of the table is determined by the GCD of all active servers' weights. Thus adding

Re: Configuration API?

2011-02-07 Thread Joel Krauska
On 2/7/11 1:01 PM, Willy Tarreau wrote: On Mon, Feb 07, 2011 at 09:45:21AM +0100, Bedis 9 wrote: Do you have an example of what purpose it would serve ? I'm asking because it's not very easy to implement with table-based algorithms, since the size of the table is determined by the GCD of all

nbprocs

2011-02-07 Thread Michael Schenck
I notice that the documentation states that nbproc By default, only one process is created, which is the recommended mode of operation.. I'm curios why this is recommended, other than for debugging purposes.

Re: Configuration API?

2011-02-07 Thread Willy Tarreau
Hi Joel, On Mon, Feb 07, 2011 at 01:10:53PM -0800, Joel Krauska wrote: On 2/7/11 1:01 PM, Willy Tarreau wrote: On Mon, Feb 07, 2011 at 09:45:21AM +0100, Bedis 9 wrote: Do you have an example of what purpose it would serve ? I'm asking because it's not very easy to implement with table-based

Re: nbprocs

2011-02-07 Thread John Marrett
Because a single process can handle several gigabits of traffic, and there are issues with multiple processes. This isn't the first time this question has been asked, here's a relevant discussion: http://www.mail-archive.com/haproxy@formilux.org/msg01246.html -JohnF On 11-02-07 04:59 PM,

Re: nbprocs

2011-02-07 Thread Michael Schenck
This looks great, thank you very much! (apologies for the repeat question) On Feb 7, 2011, at 5:57 PM, John Marrett wrote: Because a single process can handle several gigabits of traffic, and there are issues with multiple processes. This isn't the first time this question has been asked,

Re: HAProxy Stunnel SSL Setup question

2011-02-07 Thread Amol
Hi Craig, I will try and install this patch on my stunnel, but what would be the installation steps? is it similar to sudo patch -p1 ../stunnel-4.35-xforwarded-for.diff and do i have to run the ./configure and make and make install again? i have downloaded the patch from