<!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 &lt;seaside-bounces@lists.squeakfoundation.org&gt;<BR>
To: Seaside - general discussion &lt;seaside@lists.squeakfoundation.org&gt;<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&amp;_s=GKpDhxmXUPTXvMES&amp;5<BR>
/seaside/go/?_k=BeOXObFr&amp;_s=GKpDhxmXUPTXvMES<BR>
<BR>
Clicking on Services<BR>
/seaside/go/?_k=GcdAcWkd&amp;_s=GKpDhxmXUPTXvMES&amp;6<BR>
/seaside/go/?_k=ymJpsfHH&amp;_s=GKpDhxmXUPTXvMES<BR>
<BR>
Clicking on Registration/Login<BR>
/seaside/go/?_k=GBUIFPiq&amp;_s=GKpDhxmXUPTXvMES&amp;7<BR>
/seaside/go/?_k=FQErKPay&amp;_s=GKpDhxmXUPTXvMES<BR>
<BR>
Clicking on Contact Us<BR>
/seaside/go/?_k=LHOSwmFl&amp;_s=GKpDhxmXUPTXvMES&amp;9<BR>
/seaside/go/?_k=yqdTQvsk&amp;_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&amp;_s=AnxoaOgasUPcEfCp&amp;5<BR>
<BR>
Clicking on Services<BR>
(9091)<BR>
/seaside/go/<BR>
(9090)<BR>
/seaside/go/?_k=EWqdbkqZ&amp;_s=LCdHsZYDEHKgRPJx&amp;6<BR>
<BR>
Clicking on Registration/Login<BR>
(9090)<BR>
/seaside/go/<BR>
(9092)<BR>
/seaside/go/?_k=MSKlyDVX&amp;_s=IPsgzreQVBMvqmbr&amp;7<BR>
<BR>
Clicking on Contact Us<BR>
(9092)<BR>
/seaside/go/<BR>
(9091)<BR>
/seaside/go/?_k=dvMVcwbK&amp;_s=EdWhWjDdMnBoRAPP&amp;8<BR>
<BR>
Clicking on About Us<BR>
(9091)<BR>
/seaside/go/<BR>
(9090)<BR>
/seaside/go/?_k=wscOnKIR&amp;_s=YOTvBvZGLAwbxnlk&amp;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>