Bug 7546 - rpc.mountd dies
rpc.mountd dies
Product: Red Hat Linux
Classification: Retired
Component: nfs-utils (Show other bugs)
i386 Linux
medium Severity high
: ---
: ---
Assigned To: Michael K. Johnson
Depends On:
  Show dependency treegraph
Reported: 1999-12-03 11:04 EST by Rex Dieter
Modified: 2008-05-01 11:37 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-08-08 22:34:27 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Rex Dieter 1999-12-03 11:04:38 EST
About once every few days or so, our Linux NFS server (knfsd-1.4.7-7)
stops servicing new NFS mount requests.  The cause of this seems to be
because the rpc.mountd daemon dies.  This also occurred with redhat 6.0
(using rawhide's knfs-1.4.7-7).

This seems to be similar to BUG #2707.

To fix this, all I do is either manually restart the daemon
(/usr/sbin/rpc.mountd --no-nfs-version 3) or reboot the server.
Comment 1 Jeff Johnson 1999-12-03 11:44:59 EST
What kernel are you using? There are kernel patches that must match with
knfsd version (ugh).
Comment 2 Rex Dieter 1999-12-03 11:48:59 EST
It occurs both with the stock redhat-6.1 kernel (2.2.12-20) and with rawhide's
2.2.12-42 kernel.  Which would you recommend?  (I'm sticking with the "stock"
kernel for now).
Comment 3 Rex Dieter 1999-12-08 15:36:59 EST
This seems to be a repeat, or, at least very similar to bug #7024
Comment 4 Rex Dieter 1999-12-16 12:05:59 EST
I've verified the circumstances upon which rpc.mountd dies in that it dies in
conjunction with ypserv/ypbind problems (which may lead to my reporting bugs for
them).  Anyway, shortly before each time rpc.mountd died, I also had in
/var/log/messages, the errors:
Dec xx xx:xx:xx server ypserv[310]: WARNING: ypserv has to many running children
! We don't fork
THEN, got a few of the form:
Dec xx xx:xx:xx mountd[28864]: client.domain.com has non-inet addr
THEN, after a few more of both of those, rpc.mountd died.

As a fix, I chose to NOT use NIS for hostname lookups by editing
/etc/nsswitch.conf to include a hosts directive as:
hosts:	files dns

Since making this change (it's been over a week), I have not experienced a
single rpc.mountd crash.
Comment 5 Cristian Gafton 2000-08-08 22:34:25 EDT
assigned to johnsonm
Comment 6 Rex Dieter 2001-05-10 10:56:14 EDT
I am happy to report now much later that I have not experienced an rpc.mountd 
crash since the last time I reported it.  For the record, I'm now running:

So, I personally consider this bug closed.  I'll mark it resolved by "errata", 
as I think some combiniation of the upgraded components I mentioned above 
probably fixed it.

Note You need to log in before you can comment on or make changes to this bug.