Re: Sessions not propagated through different hosts - *Urgent!*

From: Date: Fri, 14 Jul 2000 09:09:52 +0000
Subject: Re: Sessions not propagated through different hosts - *Urgent!*
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-6621@lists.php.net to get a copy of this message
php3@developersdesk.com wrote: > > > - The session information must be physically shared between all > > servers, either with the same path, NFS mount, or in a commonly > > accessed database. > > Same path? What is that? > > NFS will work, about as well as NFS works... Not all that well. If > your NFS mount fails for any reason, your server will hang, forever, or > until you restore NFS. Not a pretty picture. I do use nfs from the > command line, where I am there to see if it works or not. I don't trust > it enough for automated scripts or for the servers to use unattended. > There have been too many kill -9 's when NFS has hung on me to trust > it unattended. (A lesser kill, or a ^C will not break out of a NFS > hang.) You could use option "soft", which will do exit if mount fail. And i recommend to use it. You may also use "intr". soft This option allows the kernel to time out if the nfs server is not responding for some time. The time can be specified with timeo=time. This option might be useful if your nfs server sometimes doesn't respond or will be rebooted while some process tries to get a file from the server. Usually it just causes lots of trouble. -- pozdrawiam.. ## ## | Sylwester Zarębski - ISP Group | #### ## | e-mail: sylwek@isp.net.pl | ## ## ## | ICQ uin: #45780888 | ## #### ## | Administrator ISP.NET.PL |

« previous php.general (#6621) next »