Dacă ești utilizator de Mac și ai observat că procesul knowledge-agent consumă multe resurse CPU, nu este un motiv de îngrijorare. “knowledge-agent” nu 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.
content
In my case on a laptop MacBook Pro, procesul “knowledge-agent” a ajuns în unele momente să utilizeze aproape 130% CPU.
Activity Monitor (“knowledge-agent” 127.4% High CPU Usage)

Această problemă generată de consumul mare de resurse al procesului “knowledge-agent” este 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-agent” este 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 procese “daemon“, 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 procesul “knowledge-agent“, este foarte posibil să observați o creștere în consumul de resurse și la alte procese, precum “photoanalysisd“, 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.

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 procesul “knowledge-agent” solicită CPU, însă pot fi și multe alte situații în care alte procese “daemon” au 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 procesului “knowledge-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 închide “knowledge-agent” din Terminal, executând linia de comandă:
kill -9 PID (Process ID)
“333” it is PID
in the example above (photo. 1).
- Fix mds_stores high CPU usage on Mac / MacBook
- Correspotlightds uses high resources CPU on macos (2023 fixed)
If you have to make completions or ask questions, do not hesitate to use the comment box.