Re: Keep alive with haproxy stud

2011-10-26 Thread Baptiste
Hi Erik, You just need to enable the option httplog in your HAProxy frontend which is verbose and provide useful information for troubleshooting. cheers On Tue, Oct 25, 2011 at 10:52 PM, Erik Torlen erik.tor...@apicasystem.com wrote: Hi, I will continue testing in a few days and see how the

Re: Timeout values

2011-10-26 Thread Baptiste
Hi Erik, What's your purpose here? Depending on your load test and you haproxy configuration, the queue timeout might generate 503 responses. The other ones are related to the behavior you want for your web platform. Basically, all the values you added seems too high. Cheers On Tue, Oct 25,

Re: Timeout values

2011-10-26 Thread carlo flores
I can appreciate having to keep a slow application layer highly available via long timeouts, but as a suggestion: a) keep lots of available sockets open and think about the timeout wait sysctl reuse/recycle variables And b) think about creating a simple page (in whatever language and

Haproxy with stunnel and a session cookie service.

2011-10-26 Thread Sean Patronis
We are in the process of converting most of our HAProxy usage to be http balanced (instead of TCP). In our lab we are using stunnel to decrypt our https traffic to http which then gets piped to haproxy. We also have a load balanced session service that stunnel/HAProxy also serves which uses

Re: Haproxy with stunnel and a session cookie service.

2011-10-26 Thread Baptiste
Hi, how do you achieve session persistance in HAProxy configuration? What load-balancing algorithm do you use? Can you configure HAProxy to log your session cookie then show us some log lines? cheers On Wed, Oct 26, 2011 at 2:57 PM, Sean Patronis spatro...@add123.com wrote: We are in the

Re: Haproxy with stunnel and a session cookie service.

2011-10-26 Thread Sean Patronis
Our session service deals with persistence... Our application is written in such a way that it does not matter the backend it is connected to (i.e. we do not need HAProxy to keep the persistence). Currently, HAProxy is set to Round-Robbin (default). Also of note, in the lab, we are only

client side keep-alive (http-server-close vs httpclose)

2011-10-26 Thread Vivek Malik
We have been using haproxy in production for around 6 months while using httpclose. We use functions like reqidel, reqadd to manipulate request headers and use_backend to route a request to a specific backend. We run websites which often have ajax calls and load javascripts and css files from the

Re: client side keep-alive (http-server-close vs httpclose)

2011-10-26 Thread Vincent Bernat
OoO En cette nuit nuageuse du jeudi 27 octobre 2011, vers 00:02, Vivek Malik vivek.ma...@gmail.com disait : We have been using haproxy in production for around 6 months while using httpclose. We use functions like reqidel, reqadd to manipulate request headers and use_backend to route a

Re: client side keep-alive (http-server-close vs httpclose)

2011-10-26 Thread Baptiste
Hi, In order to be able to process layer 7 manipulation (what you want to achieve) for *each* request, then you must enable http mode on your frontebd/backend and to enable the option http-server-close. cheers On Thu, Oct 27, 2011 at 12:21 AM, Vivek Malik vivek.ma...@gmail.com wrote: The