Trustd high cpu usage!

macOS 11.3.1

13 inches MacBook Pro with Touch Bar 2018 four Thunderbolt 3 ports

2.7 GHz Quad-core Intel Core i7

16 GB 2133 Mhz LPDDR3

1 TB HD


Constantly stays high around 90-100% CPU



recently occurred after installing a Microsoft Office updates


is this normal? it's done installing updates, how long should it last? what's wrong?

Any advice, suggestions?



Posted on May 11, 2021 2:25 PM

Reply
Question marked as Top-ranking reply

Posted on May 25, 2021 5:17 AM

yahgoo wrote:

It has nothing to do with Microsoft. On Finder, Go | Go To Folder, type /private/var/protected/trustd/
Then rename valid.sqilte3 to valid.sqlite. You should notice another valid.sqlite3 will pop up. After that, trustd will not hog the CPU and the fan will slow down.
I hope it helps.

You can only do this while booted from Recovery mode, as instructed here: Use macOS Recovery on an Intel-based Mac - Apple Support or here: Use macOS Recovery on a Mac with Apple silicon - Apple Support


Also, on older systems, the trustd database files could be located at /Library/Keychains/crls/. And note that in recovery mode, these paths will be mounted somewhere in /Volumes/, depending on your operating system version.


I haven’t experienced this problem so I can’t confirm if this fix works. But I can confirm that, when done correctly, the operating system will boot again and will recreate these files.


However, if this procedure is not done correctly, the computer may never boot again and you may lose all of your data. Don’t attempt it without making a Time Machine backup first.

Similar questions

19 replies
Question marked as Top-ranking reply

May 25, 2021 5:17 AM in response to yahgoo

yahgoo wrote:

It has nothing to do with Microsoft. On Finder, Go | Go To Folder, type /private/var/protected/trustd/
Then rename valid.sqilte3 to valid.sqlite. You should notice another valid.sqlite3 will pop up. After that, trustd will not hog the CPU and the fan will slow down.
I hope it helps.

You can only do this while booted from Recovery mode, as instructed here: Use macOS Recovery on an Intel-based Mac - Apple Support or here: Use macOS Recovery on a Mac with Apple silicon - Apple Support


Also, on older systems, the trustd database files could be located at /Library/Keychains/crls/. And note that in recovery mode, these paths will be mounted somewhere in /Volumes/, depending on your operating system version.


I haven’t experienced this problem so I can’t confirm if this fix works. But I can confirm that, when done correctly, the operating system will boot again and will recreate these files.


However, if this procedure is not done correctly, the computer may never boot again and you may lose all of your data. Don’t attempt it without making a Time Machine backup first.

May 11, 2021 2:45 PM in response to jasonflying

jasonflying Said:

"Trustd high cpu usage!: [...]is this normal? it's done installing updates, how long should it last? what's wrong? Any advice, suggestions?"

-------


Swollen System Resources:

No. This is not normal. Something is using an overload of system resources. Everything has been updated. So, it's probably an update making this occur.


Power Off you Mac:

So, power off you Mac for a few hours, and let It be. Keep it in an open location (the mingle of the room. and not in the corner, not by a window, and not in a closed space). Pleace it atop a laptop cooler, if you have one.

May 19, 2021 10:05 PM in response to jasonflying

jasonflying Said:

"Update: Still having the problem, don't know why. Still having the issue randomly."

-------


Uninstall Office - Reinstall the macOS:

Try Uninstalling Microsoft Office and see if it goes back to how it was before all of this. The install may not have been successful or a corrupt file, thereby making all of this occur. Once uninstalled, reinstall the macOS. Then, try reinstalling Microsoft Office in a few days.

Go to: Uninstall Office for Mac - Office Support

May 11, 2021 2:47 PM in response to jasonflying

jasonflying Said:

"Trustd high cpu usage!: [...] recently occurred after installing a Microsoft Office updates[...]"

-------


MS Office Causing This?:

Contact Microsoft, seeing what they have to say on this. They are the developers of the software. So, they may have some knowledge of their software causing this.


Chat with Microsoft: Contact Us - Virtual Agent - Microsoft Support

May 11, 2021 3:08 PM in response to jasonflying

jasonflying Said:

"It stopped after finishing the updates with Microsoft Office, however it started back ONLY when I signed into Apple Support Communities via the universal Apple sign in."

-------


Restore from a Backup:

It seems to me you made some major changes to your Mac: Installed Updates. So, restore your Mac from a backup. If you never made a backup prior to performing this update, then you need to take this as a learning experience knowing always backup your Mac, prior to making any changes to it, such as updates. That way, you can have something to restore your Mac from, should any thing go wrong (which has in this case). Your CPU is being consumed. So, just let it sit aside, and don't fiddle with the Mac.

May 11, 2021 2:49 PM in response to jasonflying

Two things:

  1. The %CPU is related to the number of CPU cores that your Mac has. As such 100% does not mean that the CPU is "pegged" out, but, for example, if you have a 4-core Mac, a quarter of the total CPU capacity is being used.
  • trustd - This process is part of macOS and was made available with the release of macOS Sierra. This is a daemon that runs in the background that manages and checks certificates for all processes on the system. It typically is invoked when using web browsers, mail, and messaging apps.


So "is it normal?" It could be at the time you fired up the Activity Monitor.

May 11, 2021 2:57 PM in response to jasonflying

So this would be an example when macOS is checking the security certificate when you logged into the ASC. Again, I wouldn't be too concerned about the %CPU that trustd is using. To really understand the communication going on during the logon, you would need to do a data capture using something like Wireshark. The capture would provide you with the series of traffic exchanges to create a secured connection and verify certificates. You will most likely see there is quite a bit going on "behind the scenes" that would require CPU power.

May 24, 2021 8:31 PM in response to jasonflying

I'm having the same issue. It started a few days ago. There is no way that this is not something that's happening on Apples end. They must have sent out bad data during the security update that recently happened and corrupted our keychains. This is happening to many people. Most people probably are not even aware that their machines are affected.


I am still searching for a solution.

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.

Trustd high cpu usage!

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