Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

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
Question marked as Best reply

Posted on Aug 1, 2017 3:32 PM

Open Macintosh HD then click Users and Your Home Folder then after *hold down Command and press together the two keys Shift and . (period key). You should see secret folders that Apple hides for a cleaner look. If you don't then try rapidly pressing the Shift key and period key while holding down Command. You should now see a folder containers. Click the folder containers. This is where the com. folders should be. That is what I know.


User uploaded file


*For some Mac Users this doesn't work. If you're one of them open Terminal and type defaults write com.apple.finder AppleShowAllFiles YES close Terminal and relaunch Finder now the secret folders should be visible. To hide them again type defaults write com.apple.finder AppleShowAllFiles NO. Ten relaunch finder again and the secret folders should be hidden again.

122 replies

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)

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 ID.