My MacBook is frying my lap, and the CPU monitor is going crazy: over 200% CPU being used by a process named installd
.
What is it? Can I kill it?
My MacBook is frying my lap, and the CPU monitor is going crazy: over 200% CPU being used by a process named installd
.
What is it? Can I kill it?
This is a daemon which is part of PackageKit framework and it's usually running as a background process for the "Software Update" GUI application. For example, if you open the Software Update application and check for updates, take a look at the Activity Monitor--you'll see the "installd" process doing a bunch of work.
The reason it pegs your CPU is because it must compile the current list of software installed on your computer, and compare with the current version list received from Apple's servers.
You can set the frequency of Software Update checks in System Preferences and Software Update.
The default settings are both to "Check for updates" and "Download updates automatically". You may adjust either setting, but I would not recommend turning it off altogether.
There's nothing wicked about this process - it's just set to download updates.
You can solve your CPU problem by lowering the priority of the process or by just killing the process in Activity Monitor.
Technical information:
The location in Lion OSX is in:
/System/Library/PrivateFrameworks/PackageKit.framework/Resources/installd
(if you have locate
configured correctly, run: locate installd
to find the right location).
renice
command to change the priority for the process.
renice
will lower the priority of a process but won't stop it from using all available CPU. If no other program is asking for CPU time, the system will still give all available CPU to the installd
process.
Commented
Sep 22, 2014 at 13:42
locate
on macOS. Use mdfind -name installd
instead, it uses Spotlight and is always available.
It's normally run when you for example install an App Store application or remove an application from Launchpad. It shouldn't stay running in the background or keep using that much CPU though. You can probably just force quit it from Activity Monitor or run sudo killall -9 installd
.
The binary is in /System/Library/PrivateFrameworks/PackageKit.framework/Resources/installd
in 10.8.
sudo opensnoop -n installd
to see what files the processes access or search for installd in Console.
kill -9
a process. SIGKILL
should be a last resort, since the process does not necessarily terminate in a well-defined or consistent state. Always try -15
(SIGTERM
– terminate) and -6
(SIGABRT
– abort process) first.
opensnoop
does not work for me. I get dtrace: error on enabled probe ID 5 (ID 172: syscall::open:return): invalid user access in action #11 at DIF offset 24
.
It's Apple's install process.
What's annoying is:
You can see progress but need to do the following:
Apple logo (top left) > App Store > Updates and click Update.
This will then reveal a progress bar with the current download state.
I used Activity Monitor to kill the process at once. And so:
If you want to see exactly what installd
(the "Software Update" GUI application) is doing, watch what files it's touching:
sudo lsof -p $(pgrep -x installd)
it's convenient to wrap that in a while
loop to watch what's going on (while true; do <the above>; sleep 2; done
).
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME installd 33160 root cwd DIR 1,18 640 2 / installd 33160 root txt REG 1,18 170768 1152921500312275954 /System/Library/PrivateFrameworks/PackageKit.framework/Versions/A/Resources/installd installd 33160 root txt REG 1,18 51268 120667156 /Library/Preferences/Logging/.plist-cache.YFQq27g8 installd 33160 root txt REG 1,18 129672 124323933 /private/var/db/analyticsd/events.allowlist installd 33160 root txt REG 1,18 234832 97228994 /private/var/db/timezone/tz/2022g.1.0/icutz/icutz44l.dat installd 33160 root txt REG 1,18 32768 117755779 /private/var/db/mds/messages/se_SecurityMessages installd 33160 root txt REG 1,18 1763679 1152921500312170469 /System/Library/Frameworks/Security.framework/Versions/A/Resources/SecErrorMessages.loctable installd 33160 root txt REG 1,18 61010 1152921500312170467 /System/Library/Frameworks/Security.framework/Versions/A/Resources/SecDebugErrorMessages.strings installd 33160 root txt REG 1,18 30407360 1152921500312435095 /usr/share/icu/icudt70l.dat installd 33160 root 0r CHR 3,2 0t0 341 /dev/null installd 33160 root 1u CHR 3,2 0t0 341 /dev/null installd 33160 root 2u CHR 3,2 0t0 341 /dev/null
you can also look at its log:
sudo log show --info --predicate "process == 'installd'"
will spit out stuff like:
2023-03-31 19:11:21.594332-0700 0x113d531 Activity 0x1b55bf3 37396 0 installd: (Security) SecTrustSettingsXPCRead 2023-03-31 19:11:21.599929-0700 0x113d531 Activity 0x1b55bf4 37396 0 installd: (Security) SecTrustEvaluateIfNecessary 2023-03-31 19:11:21.660048-0700 0x113d531 Default 0x0 37396 0 installd: (Security) [com.apple.securityd:SecError] Trust evaluate failure: [leaf ExtendedKeyUsage] [ca1 IntermediateEKU] 2023-03-31 19:11:21.660268-0700 0x113d531 Activity 0x1b55bf5 37396 0 installd: (Security) SecTrustEvaluateIfNecessary 2023-03-31 19:11:21.664108-0700 0x113d531 Default 0x0 37396 0 installd: (Security) [com.apple.securityd:mds] Recording an MDS plugin: /System/Library/Security/ldapdl.bundle {87191ca6-0fc9-11d4-849a-000502b52122} 2023-03-31 19:11:21.664189-0700 0x113d531 Default 0x0 37396 0 installd: (Security) [com.apple.securityd:mds] Recording an MDS plugin: /System/Library/Frameworks/Security.framework {87191ca0-0fc9-11d4-849a-000502b52122} 2023-03-31 19:11:21.724084-0700 0x113c55c Error 0x0 37396 0 installd: (Metadata) [com.apple.metadata:Metadata] unable to get a dev_t for store 1795162192. 2023-03-31 19:11:21.730298-0700 0x113c55c Activity 0x1b55bf6 37396 0 installd: (Security) SecTrustEvaluateIfNecessary 2023-03-31 19:11:21.733041-0700 0x113c55c Activity 0x1b55bf7 37396 0 installd: (Security) SecTrustEvaluateIfNecessary 2023-03-31 19:11:21.735240-0700 0x113c55c Default 0x0 37396 0 installd: (Security) [com.apple.securityd:SecError] Trust evaluate failure: [leaf ExtendedKeyUsage] [ca1 IntermediateEKU] 2023-03-31 19:11:21.735330-0700 0x113c55c Activity 0x1b55bf8 37396 0 installd: (Security) SecTrustEvaluateIfNecessary 2023-03-31 19:11:21.968902-0700 0x113c55c Activity 0x1b55bf9 37396 0 installd: (CoreFoundation) Loading Preferences From System CFPrefsD 2023-03-31 20:03:13.126812-0700 0x115502a Activity 0x1b55bfa 37396 0 installd: (Security) SecTrustEvaluateIfNecessary 2023-03-31 20:03:13.133388-0700 0x115502a Activity 0x1b55bfb 37396 0 installd: (Security) SecTrustEvaluateIfNecessary 2023-03-31 20:03:13.138923-0700 0x115502a Default 0x0 37396 0 installd: (Security) [com.apple.securityd:SecError] Trust evaluate failure: [leaf ExtendedKeyUsage] [ca1 IntermediateEKU] 2023-03-31 20:03:13.139094-0700 0x115502a Activity 0x1b55bfc 37396 0 installd: (Security) SecTrustEvaluateIfNecessary 2023-03-31 20:03:13.207376-0700 0x115503a Activity 0x1b55bfd 37396 0 installd: (Security) SecTrustEvaluateIfNecessary 2023-03-31 20:03:13.211029-0700 0x115503a Activity 0x1b55bfe 37396 0 installd: (Security) SecTrustEvaluateIfNecessary 2023-03-31 20:03:13.215457-0700 0x115503a Default 0x0 37396 0 installd: (Security) [com.apple.securityd:SecError] Trust evaluate failure: [leaf ExtendedKeyUsage] [ca1 IntermediateEKU] 2023-03-31 20:03:13.215628-0700 0x115503a Activity 0x1b55bff 37396 0 installd: (Security) SecTrustEvaluateIfNecessary 2023-04-01 06:49:21.910186-0700 0x12583ad Default 0x0 45718 0 installd: (CacheDelete) [com.apple.cache_delete:client] Registered: com.apple.installd.CacheDelete, result: 0 2023-04-01 11:46:21.984952-0700 0x12c93b3 Default 0x0 33160 0 installd: (CacheDelete) [com.apple.cache_delete:client] Registered: com.apple.installd.CacheDelete, result: 0 2023-04-01 11:49:29.169598-0700 0x12cb3db Info 0x0 33160 0 installd: (CoreAnalytics) [com.apple.CoreAnalytics:client] Daemon status changed from 0 to 1 2023-04-01 11:49:29.170246-0700 0x12cb3dc Default 0x0 33160 0 installd: (CoreAnalytics) [com.apple.CoreAnalytics:client] Received configuration update from daemon (initial) 2023-04-01 11:49:29.170591-0700 0x12cb3db Info 0x0 33160 0 installd: (CarbonCore) [com.apple.CarbonCore:coreservicesdaemon] SCSession():SCSession( id=100, this=0x0x14b823b10 option=65538) created, forUID=0 mach_port_t=0x3807. 2023-04-01 11:49:29.170607-0700 0x12cb3db Info 0x0 33160 0 installd: (CarbonCore) [com.apple.CarbonCore:coreservicesdaemon] SCSession():SCSession( id=101, this=0x0x14b823300 option=65538) created, forUID=0 mach_port_t=0x3603. 2023-04-01 11:49:29.170609-0700 0x12cb3db Info 0x0 33160 0 installd: (CarbonCore) [com.apple.CarbonCore:coreservicesdaemon] connectToCoreServicesD():Instantiating server (coreservicesd based) SCSession, port=0x3807 serverOptions=0x10002. 2023-04-01 11:49:29.171199-0700 0x12cb3db Activity 0x1c3caa0 33160 0 installd: (Security) SecTrustEvaluateIfNecessary 2023-04-01 11:49:29.175699-0700 0x12cb3db Info 0x0 33160 0 installd: (CoreAnalytics) [com.apple.CoreAnalytics:client] Dropping com.apple.security.LegacyAPICounts as it isn\'t used in any transform (not in the config or budgeted?) 2023-04-01 11:49:29.175838-0700 0x12cb3db Default 0x0 33160 0 installd: (Security) [com.apple.securityd:trustsettings] TrustSettingsUseXPC is enabled (via feature flags) 2023-04-01 11:49:29.175839-0700 0x12cb3db Activity 0x1c3caa1 33160 0 installd: (Security) SecTrustSettingsXPCRead 2023-04-01 11:49:29.176879-0700 0x12cb3db Activity 0x1c3caa2 33160 0 installd: (Security) SecKeychainAddCallback 2023-04-01 11:49:29.177093-0700 0x12cb3db Activity 0x1c3caa3 33160 0 installd: (Security) SecTrustSettingsXPCRead 2023-04-01 11:49:29.181727-0700 0x12cb3db Info 0x0 33160 0 installd: (CoreAnalytics) [com.apple.CoreAnalytics:client] Dropping com.apple.security.LegacyAPICounts as it isn't used in any transform (not in the config or budgeted?) 2023-04-01 11:49:29.188072-0700 0x12cb3db Info 0x0 33160 0 installd: (CoreAnalytics) [com.apple.CoreAnalytics:client] Dropping com.apple.security.LegacyAPICounts as it isn't used in any transform (not in the config or budgeted?) 2023-04-01 11:49:29.188082-0700 0x12cb3db Info 0x0 33160 0 installd: (CoreAnalytics) [com.apple.CoreAnalytics:client] Dropping com.apple.security.LegacyAPICounts as it isn't used in any transform (not in the config or budgeted?) 2023-04-01 11:49:29.188175-0700 0x12cb3db Activity 0x1c3caa4 33160 0 installd: (Security) SecTrustEvaluateIfNecessary 2023-04-01 11:49:29.246625-0700 0x12cb3db Default 0x0 33160 0 installd: (Security) [com.apple.securityd:SecError] Trust evaluate failure: [leaf ExtendedKeyUsage] [ca1 IntermediateEKU] 2023-04-01 11:49:29.246687-0700 0x12cb3db Info 0x0 33160 0 installd: (CoreAnalytics) [com.apple.CoreAnalytics:client] Dropping com.apple.security.LegacyAPICounts as it isn't used in any transform (not in the config or budgeted?) 2023-04-01 11:49:29.246969-0700 0x12cb3db Activity 0x1c3caa5 33160 0 installd: (Security) SecTrustEvaluateIfNecessary 2023-04-01 11:49:29.250494-0700 0x12cb3db Info 0x0 33160 0 installd: (CoreAnalytics) [com.apple.CoreAnalytics:client] Dropping com.apple.security.LegacyAPICounts as it isn't used in any transform (not in the config or budgeted?) 2023-04-01 11:49:29.252298-0700 0x12cb3db Default 0x0 33160 0 installd: (Security) [com.apple.securityd:mds] Recording an MDS plugin: /System/Library/Security/ldapdl.bundle {87191ca6-0fc9-11d4-849a-000502b52122} 2023-04-01 11:49:29.252344-0700 0x12cb3db Info 0x0 33160 0 installd: (CoreAnalytics) [com.apple.CoreAnalytics:client] Dropping com.apple.security.LegacyMDSPluginCounts as it isn't used in any transform (not in the config or budgeted?) 2023-04-01 11:49:29.252418-0700 0x12cb3db Default 0x0 33160 0 installd: (Security) [com.apple.securityd:mds] Recording an MDS plugin: /System/Library/Frameworks/Security.framework {87191ca0-0fc9-11d4-849a-000502b52122} 2023-04-01 11:49:29.252422-0700 0x12cb3db Info 0x0 33160 0 installd: (CoreAnalytics) [com.apple.CoreAnalytics:client] Dropping com.apple.security.LegacyMDSPluginCounts as it isn't used in any transform (not in the config or budgeted?) 2023-04-01 11:49:29.257843-0700 0x12cb3db Info 0x0 33160 0 installd: (CoreAnalytics) [com.apple.CoreAnalytics:client] Dropping com.apple.security.LegacyAPICounts as it isn't used in any transform (not in the config or budgeted?) 2023-04-01 11:49:29.260858-0700 0x12cb3db Info 0x0 33160 0 installd: (CoreAnalytics) [com.apple.CoreAnalytics:client] Dropping com.apple.security.LegacyAPICounts as it isn't used in any transform (not in the config or budgeted?) 2023-04-01 11:49:29.260892-0700 0x12cb3db Info 0x0 33160 0 installd: (CoreAnalytics) [com.apple.CoreAnalytics:client] Dropping com.apple.security.LegacyAPICounts as it isn't used in any transform (not in the config or budgeted?) 2023-04-01 11:49:29.318949-0700 0x12c93b6 Error 0x0 33160 0 installd: (Metadata) [com.apple.metadata:Metadata] unable to get a dev_t for store 1795162192. 2023-04-01 11:49:29.324567-0700 0x12c93b6 Info 0x0 33160 0 installd: (CoreAnalytics) [com.apple.CoreAnalytics:client] Dropping com.apple.security.LegacyAPICounts as it isn't used in any transform (not in the config or budgeted?) 2023-04-01 11:49:29.326005-0700 0x12c93b6 Activity 0x1c3caa6 33160 0 installd: (Security) SecTrustEvaluateIfNecessary 2023-04-01 11:49:29.330049-0700 0x12c93b6 Activity 0x1c3caa7 33160 0 installd: (Security) SecTrustEvaluateIfNecessary 2023-04-01 11:49:29.333097-0700 0x12c93b6 Default 0x0 33160 0 installd: (Security) [com.apple.securityd:SecError] Trust evaluate failure: [leaf ExtendedKeyUsage] [ca1 IntermediateEKU] 2023-04-01 11:49:29.333213-0700 0x12c93b6 Activity 0x1c3caa8 33160 0 installd: (Security) SecTrustEvaluateIfNecessary 2023-04-01 11:49:29.598241-0700 0x12c93b6 Activity 0x1c3caa9 33160 0 installd: (CoreFoundation) Loading Preferences From System CFPrefsD
interpreting any of this, of course, is its own question.
Mine was installd and storeagent - so I just killed them:
sudo killall -9 installd
sudo killall -9 storeagent
-9
.
Installd is a process run by Sophos anti virus. The process is called by InterCheck which is a process related to Sophos's active scanning.
Installer
program to perform an installation. There are issues of it creeping up to hog too much CPU power for some users of Sophos AV for Mac. Edit your answer so that it is suggested as a possibility, one of many, and you'll probably get some upvotes.
Commented
Apr 23, 2013 at 17:12