gvfsd-recent preventing system suspension
Sometimes gvfsd-recent prevents my system suspension. From dmesg logs:
[Tue Feb 13 05:28:27 2024] Freezing user space processes
[Tue Feb 13 05:28:47 2024] Freezing user space processes failed after 20.000 seconds (1 tasks refusing to freeze, wq_busy=0):
[Tue Feb 13 05:28:47 2024] task:gvfsd-recent state:D stack:0 pid:4917 ppid:2013 flags:0x00004006
[Tue Feb 13 05:28:47 2024] Call Trace:
[Tue Feb 13 05:28:47 2024] <TASK>
[Tue Feb 13 05:28:47 2024] __schedule+0x3ed/0x1410
[Tue Feb 13 05:28:47 2024] ? kmem_cache_alloc+0x198/0x380
[Tue Feb 13 05:28:47 2024] schedule+0x5e/0xd0
[Tue Feb 13 05:28:47 2024] request_wait_answer+0xd0/0x2a0 [fuse]
[Tue Feb 13 05:28:47 2024] ? __pfx_autoremove_wake_function+0x10/0x10
[Tue Feb 13 05:28:47 2024] fuse_simple_request+0x17e/0x2c0 [fuse]
[Tue Feb 13 05:28:47 2024] fuse_lookup_name+0xa9/0x1b0 [fuse]
[Tue Feb 13 05:28:47 2024] ? __d_alloc+0x170/0x230
[Tue Feb 13 05:28:47 2024] fuse_lookup+0x7f/0x1a0 [fuse]
[Tue Feb 13 05:28:47 2024] __lookup_slow+0x83/0x130
[Tue Feb 13 05:28:47 2024] walk_component+0xdb/0x150
[Tue Feb 13 05:28:47 2024] path_lookupat+0x6a/0x1a0
[Tue Feb 13 05:28:47 2024] filename_lookup+0xe8/0x1f0
[Tue Feb 13 05:28:47 2024] ? __pfx_page_put_link+0x10/0x10
[Tue Feb 13 05:28:47 2024] ? getname_flags.part.0+0x4b/0x1c0
[Tue Feb 13 05:28:47 2024] user_path_at_empty+0x3a/0x60
[Tue Feb 13 05:28:47 2024] do_faccessat+0x10c/0x300
[Tue Feb 13 05:28:47 2024] do_syscall_64+0x5d/0x90
[Tue Feb 13 05:28:47 2024] ? do_syscall_64+0x6c/0x90
[Tue Feb 13 05:28:47 2024] ? do_faccessat+0x10c/0x300
[Tue Feb 13 05:28:47 2024] ? syscall_exit_to_user_mode+0x2b/0x40
[Tue Feb 13 05:28:47 2024] ? do_syscall_64+0x6c/0x90
[Tue Feb 13 05:28:47 2024] ? do_syscall_64+0x6c/0x90
[Tue Feb 13 05:28:47 2024] entry_SYSCALL_64_after_hwframe+0x6e/0xd8
[Tue Feb 13 05:28:47 2024] RIP: 0033:0x7fd920a1d4cb
[Tue Feb 13 05:28:47 2024] RSP: 002b:00007ffd9ea10868 EFLAGS: 00000246 ORIG_RAX: 0000000000000015
[Tue Feb 13 05:28:47 2024] RAX: ffffffffffffffda RBX: 0000000000000010 RCX: 00007fd920a1d4cb
[Tue Feb 13 05:28:47 2024] RDX: 000055d3969ae445 RSI: 0000000000000000 RDI: 000055d6cbf65940
[Tue Feb 13 05:28:47 2024] RBP: 00007ffd9ea10920 R08: 000055d6cbdbc010 R09: 0000000000000007
[Tue Feb 13 05:28:47 2024] R10: 000055d6cbf65b80 R11: 0000000000000246 R12: 000055d6cbf65940
[Tue Feb 13 05:28:47 2024] R13: 00000000000001c3 R14: 000055d6cbf65940 R15: 000055d6cc08e790
[Tue Feb 13 05:28:47 2024] </TASK>
[Tue Feb 13 05:28:47 2024] OOM killer enabled.
[Tue Feb 13 05:28:47 2024] Restarting tasks ... done.
[Tue Feb 13 05:28:47 2024] random: crng reseeded on system resumption
[Tue Feb 13 05:28:47 2024] thermal thermal_zone10: failed to read out thermal zone (-61)
[Tue Feb 13 05:28:47 2024] PM: suspend exit
[Tue Feb 13 05:32:10 2024] PM: suspend entry (s2idle)
[Tue Feb 13 05:32:10 2024] Filesystems sync: 0.023 seconds
[Tue Feb 13 05:32:10 2024] Freezing user space processes
[Tue Feb 13 05:32:10 2024] Freezing user space processes completed (elapsed 0.002 seconds)
Information about the system
> cat /etc/redhat-release
Fedora release 39 (Thirty Nine)
> uname -a
Linux think 6.6.13-200.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Jan 20 18:03:28 UTC 2024 x86_64 GNU/Linux
> rpm -aq | grep gvfs
gvfs-client-1.52.2-1.fc39.x86_64
gvfs-1.52.2-1.fc39.x86_64