🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.misc
Article #5078

Re: File find delay within emacs on a NeXT

#5078
From: Scott Hess
Date: Wed, 18 Sep 1991 12:17
37 lines
3001 bytes
In article <1991Sep18.021603.260@s1.msi.umn.edu> meuer@roch.geom.umn.edu (Mark V. Meuer) writes:
   In article <1991Sep16.231808.9812@s1.msi.umn.edu> meuer@roch.geom.umn.edu (Mark  
   V. Meuer) writes:

   >I have a NeXT with version 2.1 of the system.  We have emacs 18.55
   >running.  (Please don't tell me to upgrade to version 18.57 unless
   >you can also supply a pointer to diffs or at least s- and m- files
   >for the NeXT.)  There are several machines in our network and we
   >are using yellow pages.  The problems is that whenever I try to
   >find a file (either through "C-x C-f", "emacs file" or through a
   >client talking to the server) emacs freezes completely for between
   >15 and 30 seconds.  The file then loads and everything works fine.
   >In about 1 in 10 times the file loads immediately with no delay at
   >all.

   The problem we had was that /usr/lib/emacs/lock was mounted over
   NFS, and apparently NFS doesn't handle exclusive create as well as
   one would hope.  The command would create the file, but return an
   error saying it didn't.  Since emacs thinks it wasn't able to
   create the lock file, it never removes it.  But since it did create
   the file, all future attempts to open files encounter this lock
   file and force emacs to go through a 20 second loop before
   proceeding.  That was what was causing the delay.

NFS on the NeXT does not do exclusive locks on files, period.  That
might be the reason someone else mentions that they've been doing this
on diskless Suns without problems for some time - maybe Sun's NFS
implements exclusive locks (in fact, considering origins of NFS, I'd
have to bet they do :-).

Later,
--
scott hess                      scott@gac.edu
Independent NeXT Developer      Graduated GAC Undergrad!
<I still speak for nobody>
Old:    PO 829, GAC, St. Peter, MN  56082       (507) 933-8466
New:    RR#4 Box 227 Pipestone, MN  56164       (507) 825-2788
Technical Details
Message-ID: <SCOTT.91Sep18071740@tigger.jvnc.net>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cs.utexas.edu!qt.cs.utexas.edu!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!dsinc!netnews.upenn.edu!jvnc.net!r2d2.jvnc.net!scott
References: <1991Sep16.231808.9812@s1.msi.umn.edu> <1991Sep18.021603.260@s1.msi.umn.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,b8df2162b8094dbf
X-Google-Attributes: gid103b8b,public
X-Google-Thread: f9256,b8df2162b8094dbf
X-Google-Attributes: gidf9256,public
X-Google-Thread: 1035b6,b8df2162b8094dbf
X-Google-Attributes: gid1035b6,public
X-Google-ArrivalTime: 1991-09-18 13:24:51 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cs.utexas.edu!qt.cs.utexas.edu!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!dsinc!netnews.upenn.edu!jvnc.net!r2d2.jvnc.net!scott
From: scott@gac.edu (Scott Hess)
Newsgroups: comp.sys.next.misc,comp.sys.next.programmer,gnu.emacs.help
Subject: Re: File find delay within emacs on a NeXT
Message-ID: <SCOTT.91Sep18071740@tigger.jvnc.net>
Date: 18 Sep 91 12:17:40 GMT
References: <1991Sep16.231808.9812@s1.msi.umn.edu>
 <1991Sep18.021603.260@s1.msi.umn.edu>
Sender: news@jvnc.net (Zee News Genie)
Organization: Organization is for wussies.
Lines: 37
In-Reply-To: meuer@roch.geom.umn.edu's message of 18 Sep 91 02:16:03 GMT
Nntp-Posting-Host: tigger.jvnc.net