> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Greg Bradner > Sent: Monday, January 19, 2004 9:49 AM > To: [EMAIL PROTECTED] > Subject: [autofs] running out of mount points > > > I wanted to repost this plea. I am really in a bind and could use some
> help. I need to mount these users on the mail server. > BTW: this is with autofs 4.1.0 > Hello Greg, I have run into this problem as well, actually it isn't autofs but the kernel itself. The kernel hackers can explain the details but the simplified version is that the kernel runs out of 'unnamed devices' and when it does it cannot make any additional NFS mounts. You can get around this by applying a patch or using a kernel that already has the patch applied. RedHat's kernels (updates.redhat.com) have this patch and more, I have had good results with them. You can grab the source RPM and apply the autofs 4.1.0 patch to it to get the functionality you want. The 'unnamed devices' patch used by RedHat is supposed to allow around 1200 simultaneous NFS mounts. Without this patch the kernel has an 8-bit address space for unnamed devices so you hit the limit at 255 mounts. Once you get past this hurdle you may run into another problem, you may find (as I did) that you can't actually mount 1200 filesystems... RPC will start running into problems around 800 mounts or slightly less. I've been told that this happens because RPC is using a separate port for each NFS mount, it starts at port 800 and counts down to 1, so when the system runs out of ports it is once again unable to mount anything. Supposedly there is some work being done to rewire linux RPC so that it uses one port *per server* rather than one port per NFS mount, that change would fix the problem for any reasonable configuration. hope this helps, aaron _______________________________________________ autofs mailing list [EMAIL PROTECTED] http://linux.kernel.org/mailman/listinfo/autofs
