macOS: knowledge-agent High CPU Usage?

Dacă ești utilizator de Mac și ai observat că procesul knowledge-agent consumă multe resurse CPU, nu este un motiv de îngrijorare.knowledge-agentnu este o aplicație malware și nu este vorba nici despre o eroare apărută pe Mac. Vom încerca să explicăm cât mai simplu, pe înțelesul tău, de ce apare problema suprasolicitării procesorului de către acest proces macOS. knowledge-agent High CPU Usage.

In my case on a laptop MacBook Pro, procesulknowledge-agenta ajuns în unele momente să utilizeze aproape 130% CPU.

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

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

Această problemă generată de consumul mare de resurse al procesuluiknowledge-agenteste prezentă atât pe calculatoarele Mac echipate cu procesoare Intel, as well as the ones with the face Apple M1, Apple M2.

macOS: knowledge-agent High CPU Usage

knowledge-agenteste un proces al sistemeleor de operare macOS, fiind prezent atât pe versiunea macOS Sonoma, as well as on older operating systems. macOS Ventura, macOS Big Sur, macOS Catalina. Acest proces este un colector pentru bazele de date ale mai multor procesedaemon, ajuntând la oprațiuni de recunoaștere și analiză ale mai multor elemente.

Un exemplu concret, atunci când întâmpinați un consum excesiv de resurse CPU prin procesulknowledge-agent, este foarte posibil să observați o creștere în consumul de resurse și la alte procese, precumphotoanalysisd, servicii ale 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

Acesta este unul dintre șcenariile în care procesulknowledge-agentsolicită CPU, însă pot fi și multe alte situații în care alte procesedaemonau nevoie de colectare și analiză comună de date.

Fix: knowledge-agent High CPU Usage

Cea mai indicată soluție pentru consumul excesiv de resurse al procesuluiknowledge-agent, este să lași 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.

Dacă ai nevoie de toate resursele CPU, poți închideknowledge-agentdin Terminal, executând linia de comandă:

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