5.8.11-1-MANJARO unable to suspend PC, 4 tasks refusing

Hello, pm suspend failed and the “dmesg” shows:

Freezing of tasks failed after 20.000 seconds (4 tasks refusing to freeze, wq_busy=0):

When i lookup that dmesg output, and search for “Freezing of tasks failed” then i find several places and the line below each seems to be certain process name and the number is likely the PID. So the cause is mount.ntfs and the veracrypt which is used to mount the volume with the ntfs filesystem. Can i work around this without having to close all apps using this volume and dismounting it before each suspend? Or is there something to be done to fix this and make it suspend?

Hello,

You have amule there too. It was downloading on the NTFS volume?

Inside /etc/pm/sleep.d/ you could place a script like this:

#!/bin/sh
(killall -9 mount.ntfs; exit 0)

but nouveau driver is known to create some issues too on laptops with Nvidia GPU’s, and that pops too in the log.

inxi -Fazy
from terminal might help identify more about that system, plus
mhwd -li

1 Like

IMHO, like @bogdancovaciu pointed out above, is that the real cause is actually amule which in turn seems to use transmission-gt which uses the NTFS on veracrypt.
So my personal advice would be to find some way to stop amule just before the suspend to start with :wink:

1 Like