iconservicesagent CPU and RAM problems (Mojave)

I am seeing high CPU and RAM problems with iconservicesagent:



High RAM:




The Mac is still functional, but slow in general, particularly in Finder. When it runs out of memory, I have to kill off the task, which is not altogether easy, with the lack of responsiveness. The CPU seems to not always stay above 100%, coming back down, but for me at least, does peak at times, and never drops down to what I would think is expected (i.e. something in the 2-3% or lower range).


This has shown up on Mojave, most levels, currently is manifesting on 10.14.3 (with security update).


I went through the console logs, kind of looks like Apple is trying to kill off the process on its own. /Library/Logs/DiagnosticReports is showing repeated diagnostic reports:


Date/Time: 2019-02-17 07:06:01 -0500
End time: 2019-02-17 07:06:52 -0500
OS Version: Mac OS X 10.14.3 (Build 18D109)
Architecture: x86_64h
Report Version: 27
Incident Identifier: CA8D55B1-DC84-4E2C-A861-E357B28C81AD

Data Source: Microstackshots
Shared Cache: 0x16d57000 BB272F2C-BC71-329D-98A5-7F245330A057

Command: iconservicesagent
Path: /System/Library/CoreServices/iconservicesagent
Version: ??? (???)
PID: 592

Event: cpu usage
Action taken: none
CPU: 90 seconds cpu time over 169 seconds (53% cpu average), exceeding limit of 50% cpu over 180 seconds
CPU limit: 90s
Limit duration: 180s
CPU used: 90s
Duration: 51.02s
Steps: 52


But this does not seem to be working, MBP still slows up.


I see the problem with no external disk attached, no network drives.

MacBook Pro 15", 10.14

Posted on Feb 17, 2019 4:32 AM

Reply

Similar questions

4 replies

Feb 17, 2019 10:39 AM in response to Paul W Jones

Do the following:


1 - download and run Etrecheck.  Copy and paste the results into your reply. Etrecheck is a diagnostic tool that was developed by one of the most respected users here in the ASC and recommended by Apple Support  to provide a snapshot of the system and help identify the more obvious culprits that can adversely affect a Mac's performance.


Use the Add Text button to include the report in your reply:


Also assign Full Disk Access to Etrecheck so that it can get additional information from the Console and log files for the report:



2 - boot into Safe Mode, Use safe mode to isolate issues with your Mac, run there for a while and then reboot normally. Any improvement?







Mar 26, 2019 3:44 PM in response to Old Toad

I had this problem on both Macs I have, an iMac 27" and a MBP from 2012. There seemed to be two different solutions on the separate computers, although I'll admit that I don't know if that's true. They showed the same symptoms, as noted: iconservicesagent goes bonkers and slows down the Mac to a crawl, with applications not responding as seen on the Activity Monitor. Sometimes a dogged approach to force quitting the iconservicesagent will temporarily stop its RAM hog routine, but it's no solution. I tried suggestions from users in this forum that I should write commands from Unix to half iconservicesagent, but I'm terrible at navigating around Unix, and the suggestions didn't work, anyway.


On the iMac, I serendipitously ran a scan of my drives using ClamXav, so see if it's a virus issue. ClamXav collected 4 suspicious files and quarantined them. I deleted the files and all went well since then with the iMac, but the MBP continued to have problems after I tried the same "solution" as I used on the iMac.


The MBP was a different story. I found that the MBP was acting up when I attached two external drives for copying files from one external drive to the other. As soon as I plugged one or both of the drives (both had nearly identical directories) to the MBP, I'd start getting the slowdowns with the web browser, the Finder, and another application failing to respond. Unplug them, and the machine ran fine. So I decided that I really didn't need all of the archaic files I had on these drives and erased both of them under the pretense that, with the hundreds of thousands of files on these drives, I'm likely getting some icon/resource corruption (some files were over 15 years old.) that's causing iconservicesagent to go nuts. So after erasing both external drives and copying all of my photo databases to one drive from the iMac, then moving that external drive to the MBP to copy those files to the second erased external drive, ALL WENT WELL, and I've no more iconservicesagent issues.


Basically, I have no idea what I'm doing, but can narrow the scope of troubleshooting just enough to find a solution without really knowing the underlying cause of the problem.


So I'm hedging my bets that the issue is corrupt resource data from files that iconservicesagent has extraordinary difficulty in resolving. We'll see if the problem returns after these maneuvers. As of now, all is well.


So there you go. I suggest that for those with similar problems, you can try my solution or monkey around with some troubleshooting tips. You might get lucky, because apparently Apple doesn't know that this issue exists, or they DO know, but don't have the investment in time or resources to address the issue on a system-wide basis.

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.

iconservicesagent CPU and RAM problems (Mojave)

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