2005-01-30 23:43:59

by Stuart Anderson

[permalink] [raw]
Subject: nfs bindresvport: Address already in use


I get the following error on the a Linux (FC3) client machine when I issue
more than 53 NFS mount requests in less than ~1 minute:

Jan 30 10:40:22 beowulf automount[22882]: >> nfs bindresvport:
Address already in use
Jan 30 10:40:22 beowulf automount[22882]: mount(nfs): nfs:
mount failure node54:/usr1 on /data/node54
Jan 30 10:40:22 beowulf automount[22882]: failed to mount /data/node54

If I wait ~1 minute, I can mount another set of ~50 filesystems.
The NFS servers are also running FC3.

I repeatedly get this problem whether I manually issue the mount requests
with /bin/mount or use the automounter.

I have 290 Beowulf clusters nodes that operate as NFS servers and applications
that are trying to mount these too fast and failing.

I tried running autofs-4.1.4_beta1 to rule out RedHat patches, but that
did not help.

I do not have this problem on RH9 or Solaris 9 clients.

How do I increase the rate of allowed NFS mounts?

Thanks.


-------------------------------------------------------
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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs


2005-02-17 01:34:32

by Ian Kent

[permalink] [raw]
Subject: Re: nfs bindresvport: Address already in use

On Sun, 30 Jan 2005, Stuart Anderson wrote:

>
> I get the following error on the a Linux (FC3) client machine when I issue
> more than 53 NFS mount requests in less than ~1 minute:
>
> Jan 30 10:40:22 beowulf automount[22882]: >> nfs bindresvport:
> Address already in use
> Jan 30 10:40:22 beowulf automount[22882]: mount(nfs): nfs:
> mount failure node54:/usr1 on /data/node54
> Jan 30 10:40:22 beowulf automount[22882]: failed to mount /data/node54
>
> If I wait ~1 minute, I can mount another set of ~50 filesystems.
> The NFS servers are also running FC3.
>
> I repeatedly get this problem whether I manually issue the mount requests
> with /bin/mount or use the automounter.

One way to work around this is to rebuild the util-linux package without
the offending patch.

The patch that is causing you grief is against mount. Last time I tried to
locate it, it was fairly obvious. It does RPC probes to the servers it
expects to mount. This causes around 6 or more reserved ports to be used
for each attempted mount. Possibly more in your case or maybe you have a
bunch off mounts which fail. Last time I exersised this I was able to get
just over 120 mounts before the pear took shape.

Ian



-------------------------------------------------------
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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs