Below is my test script and data which are the same as the case description, thanks.
# Test script
echo "/- auto.direct --timeout 60" > /etc/auto.master
END=20000
for i in $(seq 1 $END); do echo $i; echo "/test/samba/test"$i" -fstype=cifs,rw,username=hua,password=password ://192.168.99.169/share" >> /etc/auto.direct; done
# Yakkety with 5.1.1-1ubuntu3
root@yakkety:~# apt-cache policy autofs |grep Installed
Installed: 5.1.1-1ubuntu3
root@yakkety:~# time service autofs restart
real 1m58.780s
user 0m0.012s
sys 0m0.016s
root@yakkety:~# mount |wc -l
20030
# Yakkety with 5.1.1-1ubuntu4
root@yakkety:~# apt-cache policy autofs |grep Installed
Installed: 5.1.1-1ubuntu4
root@yakkety:~# time service autofs restart
real 0m6.284s
user 0m0.000s
sys 0m0.012s
root@yakkety:~# mount |wc -l
20030
# Xenail with 5.1.1-1ubuntu3
root@node1:~# apt-cache policy autofs |grep Installed
Installed: 5.1.1-1ubuntu3
root@node1:~# time service autofs restart
Job for autofs.service failed because a timeout was exceeded. See "systemctl status autofs.service" and "journalctl -xe" for details.
real 5m0.397s
user 0m0.208s
sys 0m0.124s
(NOTE: For the out of 'journalctl -xe' pls see: http://paste.ubuntu.com/24953533/
root@node1:~# mount |wc -l
13103
# Xenail with 5.1.1-1ubuntu3.1
root@node1:~# apt-cache policy autofs |grep Installed
Installed: 5.1.1-1ubuntu3.1
root@node1:~# time service autofs restart
real 0m6.648s
user 0m0.004s
sys 0m0.000s
root@node1:~# mount |wc -l
20038
root@node1:~# time umount -a -t autofs
real 10m7.251s
user 0m19.476s
sys 0m4.436s
root@node1:~# mount |wc -l
38
root@node1:~# time service autofs restart
real 0m12.967s
user 0m0.008s
sys 0m0.000s
root@node1:~# mount |wc -l
20038
Hi Eric,
Below is my test script and data which are the same as the case description, thanks.
# Test script
echo "/- auto.direct --timeout 60" > /etc/auto.master samba/test" $i" -fstype= cifs,rw, username= hua,password= password ://192. 168.99. 169/share" >> /etc/auto.direct; done
END=20000
for i in $(seq 1 $END); do echo $i; echo "/test/
# Yakkety with 5.1.1-1ubuntu3
root@yakkety:~# apt-cache policy autofs |grep Installed
Installed: 5.1.1-1ubuntu3
root@yakkety:~# time service autofs restart
real 1m58.780s
user 0m0.012s
sys 0m0.016s
root@yakkety:~# mount |wc -l
20030
# Yakkety with 5.1.1-1ubuntu4
root@yakkety:~# apt-cache policy autofs |grep Installed
Installed: 5.1.1-1ubuntu4
root@yakkety:~# time service autofs restart
real 0m6.284s
user 0m0.000s
sys 0m0.012s
root@yakkety:~# mount |wc -l
20030
# Xenail with 5.1.1-1ubuntu3
root@node1:~# apt-cache policy autofs |grep Installed paste.ubuntu. com/24953533/
Installed: 5.1.1-1ubuntu3
root@node1:~# time service autofs restart
Job for autofs.service failed because a timeout was exceeded. See "systemctl status autofs.service" and "journalctl -xe" for details.
real 5m0.397s
user 0m0.208s
sys 0m0.124s
(NOTE: For the out of 'journalctl -xe' pls see: http://
root@node1:~# mount |wc -l
13103
# Xenail with 5.1.1-1ubuntu3.1
root@node1:~# apt-cache policy autofs |grep Installed
Installed: 5.1.1-1ubuntu3.1
root@node1:~# time service autofs restart
real 0m6.648s
user 0m0.004s
sys 0m0.000s
root@node1:~# mount |wc -l
20038
root@node1:~# time umount -a -t autofs
real 10m7.251s
user 0m19.476s
sys 0m4.436s
root@node1:~# mount |wc -l
38
root@node1:~# time service autofs restart
real 0m12.967s
user 0m0.008s
sys 0m0.000s
root@node1:~# mount |wc -l
20038