On Fri, 2006-02-03 at 06:53, Jonathan Angliss wrote:

> > The 3 webmail front ends are load balanced behind an Alteon load
> > balancer with IP persistency. Sessions are stored on the NFS mount.
> 
> While I don't believe it's likely to happen too often, there is a
> possibility that the session id generated by web server 1 has the same
> name as a session id generated on web server 2, this would cause the
> sessions to pollute each other as they're accessed from the same NFS
> share. 

Session handler allows characters in the range a-z, A-Z and 0-9, and the
the SID is a random 32 character. 

We have P(62,32) = 1.1864140987082986e+53 possible SID values, yes there
is a possibility the the value generated in two different servers is the
same, but I dont think this is a problem we have to think about it.

> Have you considered shifting the session files to storing
> locally to each web server? You said the balancer keeps IP persistency
> so it shouldn't cause any harm. 

With this, you dont have real load balancing and automatic feilover. I
do not understand why to use IP persistency when you share session data
between servers. Well I can understand it if you use NFS to share the
files but not if you use a database with transactions.

-- 
Rafael Martinez, <[EMAIL PROTECTED]>
Center for Information Technology Services
University of Oslo, Norway

PGP Public Key: http://folk.uio.no/rafael/



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
--
squirrelmail-users mailing list
Posting Guidelines: 
http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@lists.sourceforge.net
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to