rpc.mountd dying

Jonathan I. Kamens jik at athena.mit.edu
Sat Mar 2 05:08:12 AEST 1991


  (Note that I have restored comp.unix.admin to the Newsgroups, because this
is more of an inetd issue than an NFS protocol issue.)

  Inetd has a security feature to prevent a particular service from being
overloaded with requests.

  If more than TOOMANY requests for a particular service come in in CNT_INTVL
seconds (in the code I'm staring at, the former is 40 and the latter is 60),
then inetd assumes that either something is looping somewhere or someone is
trying to perform some sort of attack on your machine, and shuts off the
service.

  Therefore, it seems quite likely that if, for example, you boot up fifty
diskless workstations all at the same time and they all boot in sync and try
to mount the same root partition in quick succession, that would cause your
inetd to shut down the rpc.mountd service.

  The fix is to recompile inetd with either a larger value for TOOMANY, or a
smaller value for CNT_INTVL.  Probably, making TOOMANY bigger than the number
of clients that are hosing the machine would solve your problem.  I suspect
you can get the source to inetd from the BSD archive sites if you don't have
it; if not, you can always adb the binary and change the value :-).

  I hope this helps.

-- 
Jonathan Kamens			              USnail:
MIT Project Athena				11 Ashford Terrace
jik at Athena.MIT.EDU				Allston, MA  02134
Office: 617-253-8085			      Home: 617-782-0710



More information about the Comp.unix.admin mailing list