Re: NFS inconsistent behaviour

From: Mohit Katiyar
Date: Mon Oct 16 2006 - 05:36:13 EST


Hi,
But I think unmounting will free the sockets. I am also unmounting the
partition in the loop. Also both machines are same configuration but
show different behaviour.

Thanks
Mohit

On 10/16/06, Frank van Maarseveen <frankvm@xxxxxxxxxxx> wrote:
On Mon, Oct 16, 2006 at 04:13:00PM +0900, Mohit Katiyar wrote:
[...]
>
> [Machine1:] while :; do mount -a -F -t nfs ;umount -a -t nfs ; done
>

This will quickly run out of [privileged] TCP sockets unless mount and
nfs use UDP.

Try mounting with -o udp

--
Frank

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/