com.apple.apfsd.wbc_drain
This task has now been running for a month now, when will it stop.
Just upgraded to MacOS 10.15.2 in hope that it would stop running. 😕
It prevents my iMac to go to sleep automatic.
iMac with Retina 5K display, macOS 10.15
This task has now been running for a month now, when will it stop.
Just upgraded to MacOS 10.15.2 in hope that it would stop running. 😕
It prevents my iMac to go to sleep automatic.
iMac with Retina 5K display, macOS 10.15
iMac (Retina 5K, 27 pouces, 2019) 10.15.4 - fusion drive (apple built-in)
I have reproduce it on a completely clean install. I added a volume and did install Catalina on it and boot from it.
I did not install anything, just created an account, and an issue is there.
So this is definitively a Catalina issue (I never see on Mojave).
It is related to fusion drive, this does not happen on my MBP that has a SSD, a task will appear after some time or after the 1st sleep/wake sequence.
This task is started by apfsd that starts a user agent that starts com.apple.apfsd/wbc_drain that will never stop and prevent the sleep.
I'm wondering if Apple take care of this as you can find many people having the issue.
I find a workaround, not very clean but this is the only way out, and it will not persist across boot.
The workaround consist in killing this background task by killing the UserEventAgent that supports it.
It turns that it need to be killed several times as it restart
in zsh you can copy past this. This will hide the issue until reboot or may be after sometimes the OS will restart this endless task.
until [ -z $(ps -ef | grep UserEventAgent | grep System | awk '{print $2}') ]
do
ps -ef | grep UserEventAgent | grep System | awk '{print $2}' | xargs sudo kill -9
done
Nice, thanks Bernd. :)
It's on Githup now at https://github.com/bk42327/Assorted-Junk/blob/master/FixSleep.py
Sorry, can you explain how to install it ...
I need to know in particular what I have to write in the command field....
Really?! Too bad....
Great site for launchd! :)
Thank you very much... 😃
Does anyone know what the consequences of killing the UserAgent task are? I guess it does something useful apart from keeping the Mac awake...
Did all get gas poisoned ??
No new entries ....
Maybe my quick-and-dirty fix worked ;-)
Yeah, I'm sure. 🤓
It did not solve the issue. 😩
It's still an issue. 😠
Apple what are you doing, why don't you fix this ???
I have reported this issue several times, but the issue still not solved. 🧐
10.15.5 did NOT solve this issue !!! 😖
Apple don't care about issues anymore, sad to say. MacOS is a second OS, they care more about iOS and iPadOS.
com.apple.apfsd.wbc_drain