From: Dwight Marzolf <dwight.marzolf@analog.com>
To: nfs@lists.sourceforge.net
Subject: udp ports not being released
Date: Mon, 22 Nov 2004 14:42:50 -0500 [thread overview]
Message-ID: <41A2413A.9020800@analog.com> (raw)
We are running RedHat 8, kernel 2.4.20-20.8smp and autofs 4.1.2. We
were having a variety of automount problems until a kernel patch was
recommended. We added this patch, recompiled our kernel, and
distributed the patched kernel to all of our workstations. About 90% of
our problems disappeared. But one problem seems to remain.
When /net is used to mount directories, most of the time the udp port
used for that nfs mount operation is not released once the /net mount
times out. Depending on the level of activity on a machine, over the
period of several days, all the available reserved ports are used up.
At that point the user on the workstation cannot cd to any mount points
in our automount maps except the ones already mounted. In the
/var/log/messages the following error occurs for attempted mounts:
RPC: Can't bind to reserved port
In my experiments I found that doing a "umount -l /net" releases all the
udp ports immediately. Our workaround has been to kill all the autofs
processes, do a umount -l on all mount points in /etc/mtab, and them
restart the autofs process.
My question is (1) is there any fix for this problem or some switch I
need to turn on/off in order for these udp ports to be released when the
mount point times out and (2) is there some command that I can use to
release these ports rather than going through the multiple step process
I described above to clean up a machine?
Dwight Marzolf
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
next reply other threads:[~2004-11-22 19:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-22 19:42 Dwight Marzolf [this message]
2004-11-22 19:56 ` udp ports not being released Mike Waychison
2004-11-23 1:34 ` Ian Kent
2004-11-23 16:50 ` Re: [NFS] " Jeff Moyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=41A2413A.9020800@analog.com \
--to=dwight.marzolf@analog.com \
--cc=nfs@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.