Quite often when I try to suspend Ubuntu 20.04, it fails with the error message:
Freezing of tasks failed after 20.005 seconds (1 task refusing to freeze, wq_busy=1)
I have tried a lot of tricks to find out more about it, but I just cannot find the source of it. Its always one our two tasks.
I tried using the command
sudo PM_DEBUG=true pm-suspend
but the output of it is so long and confusing that I cannot read any information out of it. The output can be found in that pastebin. Even though I shorted it to the correct timestamp, its just so much information: https://pastebin.com/Sx8WMHie
The output of syslog is the following: https://pastebin.com/KdJ8G1QP
Is there anybody out there who can help me to either find the problem or to tell me what I am actually searching for? This has been going for months and I just don't have a clue. Its purely random when it appears, but I think its 20% of all suspends
# dmesg |grep "task.*pid"
. In my case it was a VPN client. – dr0i Feb 20 '24 at 20:34