What is com.apple.IconServicesAgent?

Hi, after installing Mavericks there's a new process 'com.apple.IconServicesAgent' in Activity Monitor using 165Mb of RAM.


Anyone has any idea what it is?


Thanks in advance

MacBook Pro, OS X Mavericks (10.9)

Posted on Oct 23, 2013 12:54 PM

Reply
122 replies

Dec 11, 2013 4:20 PM in response to sntaln

"Ok, I think I solved this problem.


Here's my solution:


1 - Kill "com.apple.IconServicesAgent" using Activity Monitor

2 - In Finder go to "Go to folder" under "Go" menu and paste: ~/Library/Caches/

3 - Delete "com.apple.finder" (save a copy as backup if you want)

4 - Kill Finder


That's it. Let me know if this works for you, it did for me."


It has been 3 hours now and com.apple.IconServicesAgent has not gone crazy in my Console and Activity Monitor. I won't believe it is solved until I see it still gone tomorrow (I've thought other things had it fixed but it always came back), but it is looking good. Thanks for this.


Mark

Dec 11, 2013 9:35 PM in response to mdodel

Resetting the preferences to default will not work, meaning . I already tried, first thing in fact. I'm having issues on bothe the 2010 iMac and the 2011 MacBook Pro. The service seems to be buggy, either the icon service or the Finder. Wouldn't be surprised the is was just released alligator ago. Temporary fix is open activity monitor and force kill the process. Then relaunch the finder (not necessary but I do it as a precaution).

Dec 16, 2013 3:33 AM in response to mdodel

I have this same problem, and would like to try your approach, but I don't know how to kill the "com.apple.IconServicesAgent" using Activity Monitor. Can you explain?

Incidentally, com.apple.IconServicesAgent doesn't show when I look for it in Preferences; where is it hidden and how do I find it to delete its prefs, a usual cure for such problems.

I just restarted in recovery mode, repaired permissions, and restarted: immediately the physical memory usage started to climb, from less than 50% to almost the whole 4GB; the largest consumers are virusbarriers, at 450.9 MB, kernal_task at 433.9MB and IconServiceAgent at 317.3. On my old MacBook, running OS 10.7.5, these items don't even show up. Doing little but examining the screen, CPU usage is v. low, so the slowness (spinning beachball) when I start on something serious must be the shuffling the system is doing to create virtual memory.

Clearly Mavericks is not fit for purpose. I would like to go back to Mountain Lion, but don't know what I would lose if I do.

APPLE.COM - WHAT ARE YOU DOING ABOUT THIS PROBLEM?

Dec 16, 2013 11:45 AM in response to art Harris

About the worst possible thing you can do is start killing processes at random if you know nothing about their purpose. Kernel task is responsible for handling most of what the operating system is doing in the background. Killing it will crash your system.


If you don't know what it does, leave it alone, even if you think it's using too much memory.

Dec 24, 2013 3:42 PM in response to alvarofromm

same problem here. FYI, I started with clean install of Mavericks on a new macbook pro


Relevant file: /System/Library/com.apple.iconservices.iconservicesd.plist


$ man iconservicesd

[could not copy/paste; man page is there but not filled in]



$ launchctl info

...

- 0 com.apple.IconServicesAgent

- 0 com.apple.iconservicesd


I could not use launchctl to unload.

Dec 24, 2013 11:40 PM in response to McGroarty

McGroarty wrote:


You can watch what files are being opened with this shell command:


sudo fs_usage -f pathname -w com.apple.IconServicesAgent |grep open


In my case, both VideoLan Client (VLC) and MPlayer were generating icons for the same file, going back and forth in an infinite loop. Uninstalling MPlayer made it stop. Uninstalling VLC probably would have done the same.


This isn't a solution, but it might be a helpful data point if anyone has a Radar or support ticket open on this and is already exploring it with an Apple tech.


Thank you. This helped me resolve the issue. My Finder was very slow in rendering the icons of the files, and when I was trying to attach files in Mail.app it took forever for the files to show up in the popup window. I opened the console and Activity Monitor, and I saw the processes "com.apple.IconServicesAgent" and "com.apple.appkit.xpc.openandsavepanelservice". I typed in your shell command and tried to recreate the problem. In the terminal I saw "/Applications/Xcode.app" running in some kind of loop. Deleting Xcode.app resolved the problem.

Dec 27, 2013 6:10 PM in response to alvarofromm

I have something different that worked for me. Maybe it will help others.


1st, thanks for all the suggestions in this post. I tried the most popular ones and they did not help me but they guided me to places to investigate. Here's what worked for me.


In Activity Monitor, I activated the User column from the View Menu: View/Columns/User. Then I sorted by Process Name to discover that I had 3 instances of com.apple.IconServicesAgent. They were listed under 3 different "users": (1) my usual Mac login account, (2) a 2nd account that I had created for debugging use but that I basically never use, and (3) BOINC. Boinc is an application I use to share my computer at night with SETI and Einstein and some other projects. To my knowledge it is not a user, but nonetheless it was listed as such. Users 2 and 3 were pegged at 99% CPU usage and were the cause of slowing my computer since upgrading to Mavericks. User 1 was mostly registering 0% CPU usage but jumped momentarily to around 20% when I would open a new finder folder with lots of files (i.e., lots of icons) in it.


The only solution I found that would work for me was a simple one. First, I removed the 2nd user (using System Preferences) . Second, I disabled the BOINC application. Removing the 2nd user immediately eliminated the 2nd instance of com.apple.IconServicesAgent. However, I had to also reboot in order to eliminate the 3rd one.

Jan 7, 2014 4:20 PM in response to YeOldMacFan

I found this on github: "When "com.apple.IconServicesAgent" exhausts CPU resources on Mac OSX mavericks (10.9), you can try following workaround.": https://gist.github.com/sgr/7835954"


It's just one line of code:

mkdir ${TMPDIR}/com.apple.IconServices


This recreates the com.apple.IconServices directory, which apparently gets itself deleted from time to time. I typed that in Terminal while IconServicesAgent was using 99% CPU and it immediately dropped it to .2%

Jan 19, 2014 3:11 AM in response to alvarofromm

I had the same problem on my MacBook Air Mid 2011 with Mavericks (OS X 10.9.1) installed.

com.apple.IconServicesAgent used an average of 200% of the CPU, although it cached just 15 MB. After having reopened the finder, all icons had disappeared. The same happened when I tried to perform a killAll Dock from terminal. This time most of the Dock icons disappeared. In console I got continuous error messages telling me that this service failed to write file in a subfolder of /var/folders/.

I simply fixed this with a reboot. CPU usage returned around 0%, fan noise returned to normality.

After the reboot, however, this service cached about 150MB in the RAM. Easily fixed this too running a memory clean utility.

I hope this will help someone.


Luca

Jan 19, 2014 5:04 AM in response to lucamozza

All of these "fixes" only temporarily solve the problem. For those wondering, the easiest way to temporarily solve this is to simply kill the process from activity monitor. I've tried every other solution in this thread, and they all only work for a matter of hours -- a day at most. I kill this process a few times per day whenever I hear my fans starting to run louder (I just open up activity monitor and lo and behold, there it is again). So obviously something happens that causes this problem to keep coming up again and again.

Jan 19, 2014 6:28 AM in response to alvarofromm

When I first saw this thread, probably mid December, com.apple.IconServicesAgent was using 180-200MB memory. Over the last few weeks it has ranged from 7MB to around 80MB. I have never noticed any system performance degradation and when occasionally checking with Activity Monitor it has always been using 0.0% CPU and around .50 CPU Time. Obviously I haven't tried any of the fixes listed here. (MB Air 2013 4GB; 10.9.1)

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.

What is com.apple.IconServicesAgent?

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