home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!spool.mu.edu!yale.edu!qt.cs.utexas.edu!cs.utexas.edu!sun-barr!male.EBay.Sun.COM!news2me.EBay.Sun.COM!exodus.Eng.Sun.COM!jetsun.Eng.Sun.COM!robinson
- From: robinson@jetsun.Eng.Sun.COM (David Robinson)
- Newsgroups: comp.sys.sun.admin
- Subject: Re: SAVE ME FROM RPC.LOCKD
- Keywords: rpc.lockd
- Message-ID: <lj1j4vINNfoh@exodus.Eng.Sun.COM>
- Date: 17 Dec 92 18:53:19 GMT
- References: <1992Dec8.011935.25011@ibx.com> <1992Dec17.112649.6211@ucc.su.OZ.AU>
- Organization: Sun Microsystems, Mountain View, CA USA
- Lines: 32
- NNTP-Posting-Host: jetsun
-
- In article <1992Dec17.112649.6211@ucc.su.OZ.AU> matth@extro.ucc.su.OZ.AU (Matthew Hannigan) writes:
- >In article <1992Dec8.011935.25011@ibx.com>
- > steve@ibx.com (Steve Giuliano) writes:
- >>I've got several 6x0 machines that sit all day and bitch about
- >>
- >> rpc.lockd: cannot contact status monitor!
- >>
- >>Meanwhile it usurps about 25% of my CPU. Yes rpc.statd is running.
- >>BTW, portmap is screaming during this time too.
- >
- >rm /etc/sm/* /etc/sm.bak/* worked for me when I got this problem.
- >
- >Don't _really_ know why :-) but see the manual for statd.
-
- The locking protocol depends heavily on the status monitor protocol.
- When a lock is requested by a client it first contacts the local status
- monitor to have it "monitor" the server. When a host is monitored
- an entry is placed in the /etc/sm directory. The server likewise
- monitors the client. If one or the other crashes the status monitor
- upon reboot uses the stored files as a list of hosts to contact and
- inform them that they have rebooted and to either free or rerequest their
- locks.
-
- Now situations occur where the status monitor can't contact another
- host (permenantly dead) and it will dilligently keep trying to contact
- the other host. Removing the /etc/sm and /etc/sm.bak files essentially
- erases the host's long term memory so it will keep retrying
- other hosts on reboot.
-
- Combine this with bugs in lockd and you get your problem.
-
- -David
-