[Bug 301772] [NEW] Long reboot times using autofs5 with ldap

BrandonS brandons at qualcomm.com
Mon Nov 24 18:21:40 UTC 2008


Public bug reported:

Binary package hint: autofs5

Hello,

I'm using autofs5-5.0.3-3 on an amd64 distribution of Intrepid.  
lsb_release -d
Description:    Ubuntu 8.10

We use LDAP here to manage automounts and have over 9000 mounts
presented to the system.

I noticed once I configure the system to work with our LDAP servers,
rebooting is very slow, in fact it took over 12 hours for the machine to
reboot the one time that I left it.

I did some digging and realized that it's a combination of two things:
1) This version of autofs does not clear out the autofs entries in /proc/mounts when it exits.
2) /etc/rc6.d/S40umountfs interated over every line in /proc/mounts to umount all remaining filesystems.

Because our /proc/mounts table is over 9000 lines, and because automount
doesn't clean out this table on exit, the above script takes forever to
iterate over these 9000 lines.

I copied an automount binary from a different linux distro (Gentoo,
version 5.0.3-r6) and this daemon does clean out /proc/mounts on exit.

Let me know if you need more info on this.

Thanks.

** Affects: autofs5 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Long reboot times using autofs5 with ldap
https://bugs.launchpad.net/bugs/301772
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list