From: jmy@lolita.engr.sgi.com (James Yarbrough)
Subject: Re: MH anno hangs on NFS space mounted from SGI
Date: 1995/04/28 [thread overview]
Message-ID: <3nrbeh$915@infohub.engr.sgi.com> (raw)
In-Reply-To: SHEROUSE.95Apr26145157@shrimp.RadOnc.MUSC.EDU
In article <SHEROUSE.95Apr26145157@shrimp.RadOnc.MUSC.EDU>, sherouse@RadOnc.MUSC.EDU (George W. Sherouse, Ph.D.) writes:
|> Smells to me like a problem with NFS mounts from SGI to DEC, perhaps
|> related to file locking. Unfortunately, this is exactly the kind of
If you suspect file and record locking as the problem, the first thing to
do is to verify that the lock daemon (lockd or rpc.lockd) and the status
monitor (statd or rpc.statd) are running on both the client (the Alpha)
and the server (the SGI).
Having verified this, there is a way on the SGI to get lockd to say some
things about what it is doing. You may do this with the following command:
killall -USR1 rpc.lockd
This sends the signal SIGUSR1 to all rpc.lockd processes (there should only
be one). As rpc.lockd is a process owned by root, you must be root to
successfully send a signal to rpc.lockd. Receipt of this signal will cause
rpc.lockd to write debugging information to /var/tmp/lockd.dbg. This may
be turned off with the following command:
killall -USR2 rpc.lockd
The appropriate steps to follow are
1. send SIGUSR1 to rpc.lockd on the SGI server
2. use tail -f /var/tmp/lockd.dbg to watch the output
3. execute the failing mh command on the client
4. when sufficient data has been collected, send SIGUSR2 to
rpc.lockd
You will see output in /var/tmp/lockd.dbg which looks something like the
following:
+++ 799091654 +++ NLM_PROG version 1 proc 7 xid 0
from fumble.foo.blah.edu pid 11278
add_mon: server "mumble.foo.blah.edu" clnt "fumble.foo.blah.edu"
enter nlmlock(10070290)
get_fd: old #12 12 inum 7775/2000010
enter local_lock...FD=12
req=10070290 cuky=82877 oh=fumb11278 svr=mumble.foo.blah.edu rel=0 lockID=0
blk=1 excl=0 type=1 baselen=1024,1024 pid=11278 ipaddr=deadbeef
fh=0200001000000005000a000000001e5f2ce3c954000a0000000001e12ce3c6d2
type=RDLCK blk start=1024 len=1024 pid=11278 ipaddr=deadbeef sysid=2 NEW
nlm_reply msg: (fumble.foo.blah.edu, 12), result = 0 (granted)
enter rel_reclock: 10070290 1
--- NLM_PROG...
Ignore everything but the following lines:
type=RDLCK blk start=1024 len=1024 pid=11278 ipaddr=deadbeef sysid=2 NEW
^^^^^
lock request type (read lock, write lock, unlock, or test)
nlm_reply msg: (fumble.foo.blah.edu, 12), result = 0 (granted)
^^^^^^^
reuest result
The result may be granted, denied, denied_nolocks, working, or deadlck.
If you get no output in /var/tmp/lockd.dbg, this means that the requests are
not being received by the server or that they are not being delivered
to the application properly. The latter would be a bug on the SGI. The former
is a problem outside the SGI (most likely).
In spite of how you think SGI might respond, if you identify a problem with
file and record locking, you should report it. Any problem identified on the
server whould have an existence independent of the application used on the
client.
--
James
jmy@lolita.engr.sgi.com
The answer is really 0.
next prev parent reply other threads:[~1995-04-28 4:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-04-26 4:00 MH anno hangs on NFS space mounted from SGI George W. Sherouse, Ph.D.
1995-04-28 4:00 ` James Yarbrough [this message]
1995-05-02 4:00 ` Eric Werme
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox