Hello,I have experienced some problems with autofs 5.0.7 on openSUSE 12.2 with multiple machines lately.
Sometimes right after booting the machine, sometimes after some operation, direct maps become "unavailable", that is, for example
# cd /opt/<direct map> No such file or directory If i then issue # rcautofs restart I get the following lines in the logs: -------------- Dec 6 10:33:57 lab05 automount[2758]: mapent cache rwlock busyDec 6 10:33:57 lab05 automount[2758]: do_umount_autofs_direct: couldn't get ioctl fd for direct mount /opt/servershare
Dec 6 10:33:57 lab05 automount[2758]: mapent cache rwlock busyDec 6 10:33:57 lab05 automount[2758]: do_umount_autofs_direct: couldn't get ioctl fd for direct mount /opt/lnt
Dec 6 10:33:57 lab05 automount[2758]: mapent cache rwlock busyDec 6 10:33:57 lab05 automount[2758]: do_umount_autofs_direct: couldn't get ioctl fd for direct mount /doc
Dec 6 10:33:57 lab05 automount[2758]: mapent cache rwlock busyDec 6 10:33:57 lab05 automount[2758]: do_umount_autofs_direct: couldn't get ioctl fd for direct mount /group
-------------- All of the above entries are direct maps, managed via kerberized LDAP... After restart, maps are available!The problem may (or may not) have something to do with automount getting stuck in some kind of loop sometimes right after boot, taking 100% CPU and not responding.
I did an strace -fF on the hanging process after boot and got the following: -------------- ...2861 poll([{fd=7, events=POLLIN}], 1, -217828) = 1 ([{fd=7, revents=POLLIN}]) 2861 poll([{fd=7, events=POLLIN}], 1, -217828) = 1 ([{fd=7, revents=POLLIN}]) 2861 poll([{fd=7, events=POLLIN}], 1, -217828) = 1 ([{fd=7, revents=POLLIN}]) 2861 poll([{fd=7, events=POLLIN}], 1, -217828) = 1 ([{fd=7, revents=POLLIN}]) 2861 poll([{fd=7, events=POLLIN}], 1, -217828) = 1 ([{fd=7, revents=POLLIN}]) 2861 poll([{fd=7, events=POLLIN}], 1, -217828) = 1 ([{fd=7, revents=POLLIN}]) 2861 poll([{fd=7, events=POLLIN}], 1, -217829) = 1 ([{fd=7, revents=POLLIN}]) 2861 poll([{fd=7, events=POLLIN}], 1, -217829) = 1 ([{fd=7, revents=POLLIN}]) 2861 poll([{fd=7, events=POLLIN}], 1, -217829) = 1 ([{fd=7, revents=POLLIN}]) 2861 poll([{fd=7, events=POLLIN}], 1, -217829) = 1 ([{fd=7, revents=POLLIN}]) 2861 poll([{fd=7, events=POLLIN}], 1, -217829) = 1 ([{fd=7, revents=POLLIN}])
... --------------The number -21782... is repeating multiple time before increasing by one. This continues indefinitely (or longer than I was wanting to wait).
I have now turned autofs logging to "debug" and will wait for the problem to reappear... possibly, the two described problems are the same or separate ones.
- J Brauchle
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature