home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.mail.elm
- Path: sparky!uunet!caen!batcomputer!lynx.msc.cornell.edu!rob
- From: rob@lynx.msc.cornell.edu.UUCP (Rob Vaughn,302 Thurston Hall,50637,2730428)
- Subject: Location of temporary mbox problem
- Message-ID: <1992Aug19.184947.10831@msc.cornell.edu>
- Originator: rob@snoopy.msc.cornell.edu
- Sender: news@msc.cornell.edu
- Organization: Cornell-Materials-Science-Center
- Date: Wed, 19 Aug 1992 18:49:47 GMT
- Lines: 41
-
- Our current computing environment consists of almost 30 RS/6000's, a half
- dozen Suns, and two Convex C210's, not to mention numerous PCs and Macs.
- To help make life in this distributed environment easier we are slowly
- trying to migrate mail onto a single Sun server, and by using NFS mounts
- and POP mailers allow access to a user's mail from any of our machines.
-
- To date Elm (v2.3 PL11) hasn't posed any problems, but I've finally run
- into one. Elm's idea of checking for the existance of the temp mbox file
- to prevent multiple sessions is a good one, but now we've run into the
- complication of keeping simultaneous sessions from happening on multiple
- machines.
-
- My original plan was to store the temp files in /usr/spool/mail/tmp instead
- of /tmp, and since /usr/spool/mail is an NFS mounted file system on all the
- machines, all the machines would use the same temp file space and thus
- only one session of Elm could be running on only a single machine.
-
- Unfortunately, keeping the temporary box on the server means lots of
- network traffic, and hence Elm runs considerably slower. So I decided
- that we could store the temp file in the user's home directory, which
- satisfies the requirement above but still gives speedy response, provided
- the user is on the same machine that their home directory is on
- (99.9% of the time this is true.)
-
- Unfortunately, any and all attempts to get the temp file to be stored
- somewhere consistant in the user's home dir has failed. '~/.elm/' doesn't
- work, nor does '.elm/' (if the user isn't in the same directory that the
- other Elm session is running in it creates another file.)
-
- I would rather not modify any source code unless necessary, since it means
- work every time we upgrade Elm, although that may be the only way. Any
- suggestions or insights otherwise are appreciated.
-
- Rob
-
-
- --
-
- Rob Vaughn, Fugitive Systems Guy
- Mat. Sci. Center Computing, Cornell University
- rob@msc.cornell.edu - rob@crnlmsc2.bitnet
-