Automount Autofs intermittent hang

Posted on

Running RHEL 9 servers with automount and intermittently the file systems will hang if I do an ls or df on it

It appears this works fine on RHEL 7 and no issues are reported

[34772.547870] Call Trace:
[34772.547871]
[34772.547874] __schedule+0x21b/0x550
[34772.547879] schedule+0x2d/0x70
[34772.547881] schedule_timeout+0x11f/0x160
[34772.547885] ? mutex_lock+0xe/0x30
[34772.547887] ? autofs_wait+0x250/0x6c0
[34772.547891] __wait_for_common+0x90/0x1d0
[34772.547894] ? __pfx_schedule_timeout+0x10/0x10
[34772.547897] autofs_expire_wait+0x8f/0x140
[34772.547900] autofs_d_manage+0x62/0x1a0
[34772.547906] __traverse_mounts+0xd6/0x230
[34772.547910] step_into+0x296/0x380
[34772.547914] walk_component+0x70/0x1d0
[34772.547917] link_path_walk.part.0.constprop.0+0x24e/0x3c0
[34772.547920] ? path_init+0x2c5/0x3f0
[34772.547923] path_openat+0xb1/0x280
[34772.547926] do_filp_open+0xb2/0x160
[34772.547931] ? path_get+0x11/0x30
[34772.547932] ? audit_alloc_name+0x138/0x150
[34772.547939] do_sys_openat2+0x96/0xd0
[34772.547943] __x64_sys_openat+0x53/0xa0
[34772.547946] do_syscall_64+0x59/0x90
[34772.547950] ? do_syscall_64+0x69/0x90
[34772.547952] ? syscall_exit_work+0x103/0x130
[34772.547957] ? syscall_exit_to_user_mode+0x22/0x40
[34772.547960] ? do_syscall_64+0x69/0x90
[34772.547962] ? syscall_exit_work+0x103/0x130
[34772.547964] ? syscall_exit_to_user_mode+0x22/0x40
[34772.547966] ? do_syscall_64+0x69/0x90
[34772.547968] ? syscall_exit_to_user_mode+0x22/0x40
[34772.547970] ? do_syscall_64+0x69/0x90
[34772.547972] ? syscall_exit_to_user_mode+0x22/0x40
[34772.547974] ? do_syscall_64+0x69/0x90
[34772.547976] ? do_syscall_64+0x69/0x90
[34772.547979] entry_SYSCALL_64_after_hwframe+0x72/0xdc

Responses