On Fri, 2006-02-03 at 07:26, Iain Pople wrote:
[............]
> 
> The advantage of using the NFS share is that we can bring down a front 
> end without the user losing their session.
> 
> We did look into a postgres based custom session handler but found that 
> performance wasn't satisfactory (we have > 50,000 users).
> 

We have around 60.000 potential users in our system, around 23-24.000
use it during a month but only bewteen 2.000 and 2.600 use it at the
same time. This last number is the one that affects the performance of
your system. Do you have  > 50,000 users using the system at the same
time?

I can not  believe that a NFS share for session data bewteen 3-4
machines outperforms a postgreSQL database. We are using a 2 x Intel(R)
Xeon(TM) CPU 2.80GHz / 4GB RAM / Disk: 2 x RAID 1 (2 x 73GB / 2 x 73GB)
/ postgreSQl-7.4.8 for the database (sessions, adreessbooks, userpref
and webmail stats) and it works without a problem. We run VACUUM ANALYZE
every hour and CLUSTER one time a day in the sessionstable. 

A database with transactions (as postgreSQL) will also prevent
conflicts/problems in the supposed case that two application servers try
to modify the session data at the same time.

We share via NFS the temp_directory used to store temp files when users
send an attachment and we had problems sometimes because the
files/modifications did not get visible to all servers at the same time
(or fast enough). We have almost fixed this problem running NFS via
tcp/ip and these parameters in /etc/fstab
rw,bg,hard,intr,noac,rsize=32768,wsize=32768,nfsvers=3,tcp 0 0. With
time we will try a real cluster share system as f.ex.Red Hat GFS.

-- 
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