DFRHUD and TouchBarServer high CPU when idle

I noticed my laptop fan would start spinning when the laptop is sitting idle (and connected to an external monitor).


It happens pretty reliably.

If the computer is in use, everything normal.

If i stop using it, for a few minutes everything is normal.

Then after about 10 minutes the fan starts spinning, as if some process is doing a lot of work.


If i unlock/wake the screen, Activity Monitor shows there was indeed high CPU usage, however it stopped the moment i woke the computer up.

i.e. the 'busy' process goes back to idle as soon as i touch the computer.


To figure out which process is hogging the CPU (since Activity Monitor isn't helping):


# Print the top 10 processes by CPU usage (and other stats) every minute
while true; do echo; date;  iostat; ps -c '-O %cpu %mem' |head -n 1; ps -c -A '-O %cpu %mem' | sort -r -n -k 2 | head -n 10; sleep 60; done


Example output (taken when the computer is awake):

Wed Apr  1 10:16:38 PDT 2020
              disk0       cpu    load average
    KB/t  tps  MB/s  us sy id   1m   5m   15m
   68.05  121  8.05  17 10 73  3.57 7.86 9.43
  PID  %CPU %MEM   TT  STAT      TIME COMMAND
58613  19.7  0.2   ??  S      0:45.92 appstoreagent
  495  18.3  0.1   ??  S      3:50.37 nsurlsessiond
 1683  13.7  2.1   ??  S    108:57.87 iTerm2
  255  11.9  0.9   ??  Ss   789:08.68 WindowServer
46138   8.3  0.4   ??  S      0:19.50 AppleSpell
59730   8.0  5.8   ??  S      1:26.49 java
 1474   5.1  1.1   ??  S    175:49.99 Google Chrome
58187   4.1  1.1   ??  S      0:26.67 Google Chrome Helper (Renderer)
57406   4.0  0.4   ??  S    110:45.12 Atom
57424   2.2  0.1   ??  S     23:28.52 Atom Helper



I've been running this for a few days now, and whenever i notice the computer idle and fan spinning, i unlock and take a look at what's going on.


There are 2 processes consistently using elevated CPU during idle time:

DFRHUD and TouchBarServer.


They never seem to use any CPU when the computer is wake/active.

However 10 or so minute after it goes idle, both processes spin up and use 30-70% CPU for as long as the laptop is idle.


I tried killing both. They soon re-appear, and exhibit the same behavior.


I found very little information online about either of them.

Can someone shed some light on:

  • What they are / what they do
  • Whether this is a bug or part of some background / idle service, or worse, cleverly disguised malware


Any info appreciated.



MacBook Pro

Posted on Apr 1, 2020 10:27 AM

Reply
16 replies

Jun 1, 2020 1:36 PM in response to mprimi

I found through Google search that DFRHUD is associated with the Accessibility menu in System Preferences. I unchecked absolutely every box in SP/Accessibility and it went from using 5 GB of memory to not showing up at all in the Monitor Memory list. I may find out I've changed a function of my MacBook I was using, but at least I know how to make it go away. Thankful it doesn't seem to be malicious.

Catalina 10.15.5


Joyce

Jun 18, 2020 2:49 PM in response to Mike Hitt

Mike Hitt wrote:

Another post suggested that software developer' Etresoft' provided this process to Apple see my pasted note to Etresoft:

To clarify, all I did was search for DRFHUD and found it referenced here in the forums. Luckily, someone had found a solution and posted it here for other people, like me, to find.


When you see these kinds of things, please follow up and let people know if the fix worked for you. You did that, so thanks!


It would also be really helpful if you could send Feedback directly to Apple about such problems. Your suggestion that Apple support pay closer attention to these forums is also a good idea. Too often, official Apple support channels will only refer to Apple's own support documents. When we agree to Apple's Terms of Service for participation in the forums, we give Apple rights to use our submissions. They should do that.

Jun 15, 2020 2:55 PM in response to mprimi

Another post suggested that software developer' Etresoft' provided this process to Apple see my pasted note to Etresoft:


Hi,


DRFHUD process is requiring a tremendous amount of memory, up to 2.1GB earlier this afternoon. Apple support communities suggested that I contact you to solve this problem. Responses to my post stated that the process should be using 50 MB+/-. The memory hogging only occurs when I’m logged in as the user. It does not happen when I login as administrator, nor does it occur in safe mode. Apple customer service advised me that they had no solution. They suggested that I send the computer to them to repair. No Apple tech was able to replicate the problem. They returned my computer as no issues detected, and they did not perform any repair. As soon as I logged in as user the process started gradually requiring more and progressively more memory. It went from 51 MB at login but as I followed it via Activity Monitor it slowly needed more and more energy. Within an hour it slowly climbed to to 2+GB.


Nothing has changed despite running Disk Repair repeatedly, Techtool Pro and other tools didn’t find anything wrong and did not repair anything. I’m quite hopeful that you can guide me to a solution to stop this runaway process. I thank you, in advance for any help that you may offer,


I’m running OS.1O.15.5 and the rest of my stats are on the attached screenshot. Thank you. I’ve also attached a screenshot of “Activity Monitor” which for some reason is not showing the amount of memory each process is requiring. It does show that the process is using the third most memory of all.

Jun 18, 2020 2:23 PM in response to Jmlow

jmlow,


Thanks for sharing that neat little trick. I'm disappointed in Apple. Two customer service "Apple Care" agents had no idea what the problem was being caused by, a third rep. put me on hold, consulted an engineer and told me that the process had something to do with the Touch Bar. Apparently Apple's been having problems with Touch Bars heating up. They were sure that my problem was connected to a hot Touch Bar . Fortunately Apple Service emailed me, with my computer on their bench. They told me that my Touch Bar was fine which allowed me an opportunity to explain that the Touch Bar was never a concern of mine, but that it was the runaway process that was my computer's issue. It appears that nowhere in the Apple database is a description or a fix for this runaway process. You were able to figure it out but Apple was not. They spent a week with my computer trying to find something to repair and ultimately found nothing. I asked them to please run my laptop with me as the user and they would definitely see the problem. I heard nothing back from them and a few days later my computer was delivered back to me. Apple techs are good but they need to learn how to access their own community database. By the way, I was fortunate not to have to use your generously offered fix, because after erasing my hard drive, installing 10.5.5 and then clean installing app by app, file by file, I found that I still had the problem. Someone had suggested just toggling 'accessibility'. I did that and it's now 3 days later and I cannot even find DFRHUD even mentioned by Activity Monitor. I wonder how many customers have the problem but don't know they do? Apple needs to recognize this glitch and the various fixes for it. They will, as they always have done, (for the past 40 years that I've been using no computer, if not an Apple computer). Although I feel like I have spent about that much time on this one 'little' problem. Thanks for tossing me a life line.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

DFRHUD and TouchBarServer high CPU when idle

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.