Re: Sticky session, dumb client

2009-10-27 Thread Willy Tarreau
On Tue, Oct 27, 2009 at 08:37:38PM -0400, Robinson, Michael wrote: > Thanks for the reply, Aleks. > > appsession lookup in URL does not seem to work for me. > > The request, as it appears in HTTP access_log: > > 64.88.170.40 - - [28/Oct/2009:00:22:04 +] "POST > /app;jsessionid=813FD58805960

RE: Sticky session, dumb client

2009-10-27 Thread Robinson, Michael
Thanks for the reply, Cyril. Each Apache/Tomcat frontend has 1 apache instance communicating with 1 tomcat instance via mod_jk (ajp13). I'm curious about jvmRoute - should I have it set in the tomcat configuration (and, if so, to what)? Since HAproxy is doing the routing of requests, by the

RE: Sticky session, dumb client

2009-10-27 Thread Robinson, Michael
Thanks for the reply, Aleks. appsession lookup in URL does not seem to work for me. The request, as it appears in HTTP access_log: 64.88.170.40 - - [28/Oct/2009:00:22:04 +] "POST /app;jsessionid=813FD588059604BD3D519A11A0C1FA7B.10.250.54.70 HTTP/1.0" 200 1002 "-" "" And from haproxy.log:

Re: Sticky session, dumb client

2009-10-27 Thread Aleksandar Lazic
Dear Michael, On Mon 26.10.2009 21:18, Robinson, Michael wrote: I've got HAproxy 1.3.22 configured on two EC2 servers in front of two Apache/Tomcat frontends serving a JSP-based mobile phone application. The application requires session stickiness - I've tried every documented alternative HAprox

Re: HAPROXY in zLinux is presenting Segmentation fault

2009-10-27 Thread Willy Tarreau
Hi Alexandre, On Tue, Oct 27, 2009 at 03:41:55PM +, alexandre oliveira wrote: > > Willy, I have gdb but I dont know how to use it. Could you say me how to > invoke haproxy command using it? yes, basically you place yourself in the place where you have all your sources (and the binary) and u

RE: HAProxy on OpenBSD

2009-10-27 Thread McCann, Brian
(Sorry about top posting...haven't fixed my Outlook yet to quote properly) That fixed it. I also bumped kern.maxfiles in my /etc/sysctl.conf file. Thanks! --Brian -Original Message- From: Willy Tarreau [mailto:w...@1wt.eu] Sent: Tuesday, October 27, 2009 3:32 PM To: McCann, Brian Cc: ha

Re: [PATCH 2/2] [MINOR] Collect & provide http response codes for frontends, fix backends

2009-10-27 Thread Willy Tarreau
Hi Krzysztof, On Sat, Oct 24, 2009 at 03:48:52PM +0200, Krzysztof Piotr Oledzki wrote: > >From d529a265e60ea3366452329e2f462a0bd02d8e58 Mon Sep 17 00:00:00 2001 > From: Krzysztof Piotr Oledzki > Date: Sat, 24 Oct 2009 15:36:15 +0200 > Subject: [MINOR] Collect & provide http response codes for fro

Re: HAProxy on OpenBSD

2009-10-27 Thread Willy Tarreau
Hi Brian, On Mon, Oct 26, 2009 at 02:18:09PM -0400, McCann, Brian wrote: > Hi all. I'm trying to setup HAProxy on OpenBSD and I'm having some problems. > I can't seem to get it to accept a maxconn value larger than 1024. When I > run it set to 4096 for example, I get the following: > > [ALER

RE: HAPROXY in zLinux is presenting Segmentation fault

2009-10-27 Thread alexandre oliveira
Willy, I have gdb but I dont know how to use it. Could you say me how to invoke haproxy command using it? I have used the SIGQUIT signal. The result is as follow: holb001:~/haproxy-1.3.22 # haproxy -f /etc/haproxy/haproxy.cfg -db Available polling systems : sepoll : pref=400, test resu

Re: Sticky session, dumb client

2009-10-27 Thread Cyril Bonté
Le mardi 27 octobre 2009 02:18:35, Robinson, Michael a écrit : > I've got HAproxy 1.3.22 configured on two EC2 servers in front of two > Apache/Tomcat frontends serving a JSP-based mobile phone application. Does 1 apache instance can talk to 1 (and only 1) tomcat or can it talk to both tomcat