macOS: knowledge-agent High CPU Usage?

If you are a Mac user and you have noticed that the Knowledge-Agent process consumes a lot of CPU resources, it is not a concern. “knowledge-agent” It is not a malware application and it is not an error on Mac. We will try to explain as simply as possible, in your meaning, why the problem of overloading the processor by this maccos process arises. knowledge-agent High CPU Usage.

In my case on a laptop MacBook Pro, the process “knowledge-agent” reached some times to use almost 130% CPU.

Activity Monitor (“knowledge-agent” 127.4% High CPU Usage)

knowledge-agent High CPU Usage
“knowledge-agent” in Activity Monitor

This problem generated by the high consumption of process resources “knowledge-agent” is present on both Mac computers equipped with processors Intel, as well as the ones with the face Apple M1, Apple M2.

macOS: knowledge-agent High CPU Usage

knowledge-agent” is a process of maccos operating system, being present both on the version macOS Sonoma, as well as on older operating systems. macOS Ventura, macOS Big Sur, macOS Catalina. This process is a collector for several processes databases “daemon“, reaching opponents of recognition and analysis of several elements.

A concrete example, when you have an excessive consumption of CPU resources through the process “knowledge-agent“, it is very possible to notice an increase in the consumption of resources and other processes, such as “photoanalysisd“, services of Siri, plus other data analysis services. If you have a large number of photos in the app recently Apple Photos will start More processes to analyze the data from each photo. Thus, in the photo albums they will be able to be identified photos of persons you have in the app Contacts. These pictures will be available in the app Photos > People After the system makes the facial identification of all the people caught in the photos.

People in Photos App
People in Photos App

At the end of the scan process, you will be able to search in the Photos application photos with people you have in the app Contacts (Address Book).

/
/usr/libexec/knowledge-agent
/Library/Preferences/Logging/.plist-cache.x8wCdUyW
/usr/lib/libobjc-trampolines.dylib
/Users/stealth/Library/Application Support/Knowledge/knowledgeC.db-shm
/private/var/db/CoreDuet/People/interactionC.db-shm
/System/Library/Address Book Plug-Ins/LDAP.sourcebundle/Contents/Resources/InfoPlist.loctable
/System/Library/Address Book Plug-Ins/LocalSource.sourcebundle/Contents/Resources/InfoPlist.loctable
/System/Library/Address Book Plug-Ins/Exchange.sourcebundle/Contents/Resources/InfoPlist.loctable
/System/Library/Address Book Plug-Ins/DirectoryServices.sourcebundle/Contents/Resources/InfoPlist.loctable
/System/Library/Address Book Plug-Ins/CardDAVPlugin.sourcebundle/Contents/Resources/InfoPlist.loctable
/System/Library/PrivateFrameworks/AddressBookCore.framework/Versions/A/Resources/ABLDAPStrings.loctable
/Users/stealth/Library/Trial/NamespaceDescriptors/v2/activeFactorProviders.plplist
/System/Library/CoreServices/SystemVersion.bundle/English.lproj/SystemVersion.strings
/usr/share/icu/icudt70l.dat
/System/Library/Address Book Plug-Ins/LocalSource.sourcebundle/Contents/MacOS/LocalSource
/System/Library/PrivateFrameworks/AddressBookCore.framework/Versions/A/Resources/ABStrings.loctable
/System/Library/Address Book Plug-Ins/Exchange.sourcebundle/Contents/Resources/Localizable.loctable
/System/Library/Address Book Plug-Ins/DirectoryServices.sourcebundle/Contents/MacOS/DirectoryServices
/private/var/db/timezone/tz/2023c.1.0/icutz/icutz44l.dat
/System/Library/PrivateFrameworks/CorePhoneNumbers.framework/Versions/A/Resources/CorePhoneNumbers.ruleset
/System/Library/Address Book Plug-Ins/Exchange.sourcebundle/Contents/MacOS/Exchange
/System/Library/Address Book Plug-Ins/CardDAVPlugin.sourcebundle/Contents/MacOS/CardDAVPlugin
/System/Library/Frameworks/Foundation.framework/Versions/C/Resources/FoundationErrors.loctable
/private/var/db/analyticsd/events.allowlist
/System/Library/Frameworks/Contacts.framework/Versions/A/Resources/Errors.loctable
/dev/null
/dev/null
/dev/null
/Users/stealth/Library/Application Support/Knowledge/knowledgeC.db
/Users/stealth/Library/Application Support/Knowledge/knowledgeC.db-wal
/Users/stealth/Library/Application Support/Knowledge/knowledgeC.db-shm
/private/var/db/CoreDuet/People/interactionC.db
/private/var/db/CoreDuet/People/interactionC.db-wal
/private/var/db/CoreDuet/People/interactionC.db-shm
/private/var/db/CoreDuet/People/interactionC.db
/private/var/db/CoreDuet/People/interactionC.db-wal
/Users/stealth/Library/Biome/streams/public/AppIntent/local
/Users/stealth/Library/Biome/streams/restricted/_DKEvent.Discoverability.Usage/local

This is one of the shoes in which the process “knowledge-agent” Request CPU, but there may be many other situations where other processes “daemon” need a joint data collection and analysis.

Fix: knowledge-agent High CPU Usage

The most indicated solution for the excessive consumption of process resources “knowledge-agent“, is to leave Mac Open for a while, with all the applications closed, without working on it. Thus, the process will be able to finish the operations in which it is active and you will benefit from both the characteristics of the Apple applications and a low CPU resources consumption.

If you need all CPU resources, you can close “knowledge-agent” of the terminal, executing the command line:

kill -9 PID (Process ID)

“333” it is PID in the example above (photo. 1).

If you have to make completions or ask questions, do not hesitate to use the comment box.

Passionate about technology, I write with pleasure on stealthsetts.com starting with 2006. I have a rich experience in operating systems: Macos, Windows and Linux, but also in programming languages ​​and blogging platforms (WordPress) and for online stores (WooCommerce, Magento, Presashop).

Home Your source of IT tutorials, useful tips and news. macOS: knowledge-agent High CPU Usage?
Leave a Comment