<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7651.59">
<TITLE>Re: [Seaside] ProxyPass and the P Option</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>Did you indicate to balancer how to determine sticky sessions? I think there's a setting for it.<BR>
<BR>
Cheers!<BR>
<BR>
-Boris<BR>
(Sent from a BlackBerry)<BR>
<BR>
----- Original Message -----<BR>
From: seaside-bounces@lists.squeakfoundation.org <seaside-bounces@lists.squeakfoundation.org><BR>
To: Seaside - general discussion <seaside@lists.squeakfoundation.org><BR>
Sent: Tue Nov 06 04:36:02 2007<BR>
Subject: Re: [Seaside] ProxyPass and the P Option<BR>
<BR>
As a matter of fact, Lukas, when I woke up this morning, I thought I should<BR>
gather some data. So I started tracking the Transcript. Here's what I found:<BR>
<BR>
With ONE VM (9090) in the balancer cluster:<BR>
<BR>
Initial page (typing <A HREF="http://www.goodsexnetwork.com">http://www.goodsexnetwork.com</A>)<BR>
/seaside/go/<BR>
<BR>
Clicking on About Us<BR>
/seaside/go/?_k=LQeoPxhB&_s=GKpDhxmXUPTXvMES&5<BR>
/seaside/go/?_k=BeOXObFr&_s=GKpDhxmXUPTXvMES<BR>
<BR>
Clicking on Services<BR>
/seaside/go/?_k=GcdAcWkd&_s=GKpDhxmXUPTXvMES&6<BR>
/seaside/go/?_k=ymJpsfHH&_s=GKpDhxmXUPTXvMES<BR>
<BR>
Clicking on Registration/Login<BR>
/seaside/go/?_k=GBUIFPiq&_s=GKpDhxmXUPTXvMES&7<BR>
/seaside/go/?_k=FQErKPay&_s=GKpDhxmXUPTXvMES<BR>
<BR>
Clicking on Contact Us<BR>
/seaside/go/?_k=LHOSwmFl&_s=GKpDhxmXUPTXvMES&9<BR>
/seaside/go/?_k=yqdTQvsk&_s=GKpDhxmXUPTXvMES<BR>
<BR>
As you can see, the session number remains constant. My web app is working<BR>
perfectly!<BR>
<BR>
<BR>
With THREE VMs (9090, 9091, 9092):<BR>
<BR>
Initial page<BR>
(9090)<BR>
/seaside/go/<BR>
<BR>
Clicking on About Us<BR>
(9092)<BR>
/seaside/go/<BR>
(9091)<BR>
/seaside/go/?_k=HOPZQNPd&_s=AnxoaOgasUPcEfCp&5<BR>
<BR>
Clicking on Services<BR>
(9091)<BR>
/seaside/go/<BR>
(9090)<BR>
/seaside/go/?_k=EWqdbkqZ&_s=LCdHsZYDEHKgRPJx&6<BR>
<BR>
Clicking on Registration/Login<BR>
(9090)<BR>
/seaside/go/<BR>
(9092)<BR>
/seaside/go/?_k=MSKlyDVX&_s=IPsgzreQVBMvqmbr&7<BR>
<BR>
Clicking on Contact Us<BR>
(9092)<BR>
/seaside/go/<BR>
(9091)<BR>
/seaside/go/?_k=dvMVcwbK&_s=EdWhWjDdMnBoRAPP&8<BR>
<BR>
Clicking on About Us<BR>
(9091)<BR>
/seaside/go/<BR>
(9090)<BR>
/seaside/go/?_k=wscOnKIR&_s=YOTvBvZGLAwbxnlk&5<BR>
<BR>
<BR>
As you can see, what's happening when you have more than one VM in the<BR>
balancer cluster is that each time you click on a page, it starts a new<BR>
session! And in a different VM!<BR>
<BR>
The succession of port numbers (9092/9091, 9091/9090, 9090/9092, 9092/9091,<BR>
9091/9090) suggests that the sessions are not sticky. The load balancer is<BR>
cycling through my VMs. But I'm the only user! I should only have one<BR>
session.<BR>
<BR>
What is going on???<BR>
<BR>
Regards,<BR>
Richard<BR>
<BR>
-------<BR>
Did you observe access_log, error_log, rewrite_log, etc. of your<BR>
server? Did you consider adding some logging statements to the<BR>
Smalltalk web-server to see what comes in and what goes out?<BR>
<BR>
Lukas<BR>
<BR>
<BR>
_______________________________________________<BR>
seaside mailing list<BR>
seaside@lists.squeakfoundation.org<BR>
<A HREF="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</A><BR>
</FONT>
</P>
</BODY>
</HTML>