Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > OS X > OS X Mavericks (10.9)

Reply
 
Thread Tools Search this Thread Display Modes
Old Oct 16, 2013, 11:35 AM   #1
jonsuh
macrumors member
 
Join Date: Sep 2010
com.apple.IconServicesAgent: Failed to write file

Is anyone else experiencing this com.apple.IconServices: Failed to write file... error?

This occurs at random times and when it does, my CPU load spikes and my machine becomes extremely unstable (sometimes the screen blinks and jumps me to my login screen).

The only way to resolve this issue is to reboot.

Attached is the Console view and a detailed view of the message. As you can tell by the screenshots, even though it failed it continually keeps trying, 10 times a second.
Attached Thumbnails
Click image for larger version

Name:	icon-services-agent-failed.jpg
Views:	363
Size:	1.16 MB
ID:	441191   Click image for larger version

Name:	icon-services-agent-failed-detailed.jpg
Views:	213
Size:	224.4 KB
ID:	441192  
__________________
jonsuh.com
jonsuh is offline   0 Reply With Quote
Old Oct 19, 2013, 03:38 AM   #2
jadik
macrumors newbie
 
Join Date: Aug 2011
also seeing fail to write error: com.apple.IconServicesAgent

Jonsuh,
I'm seeing thousands of these errors a minute. In fact, the screenshot I've attached shows 4,000 of them in only 17 seconds! Have you made any progress determining the cause?

My log error appears to be very similar to yours:

10/19/13 4:01:35.234 AM com.apple.IconServicesAgent[11049]: Failed to write file ...



Any help would be appreciated!
jadik is offline   0 Reply With Quote
Old Oct 19, 2013, 05:33 AM   #3
maflynn
Moderator
 
maflynn's Avatar
 
Join Date: May 2009
Location: Boston
Did you try rebooting to see if the messages stopped?
__________________
~Mike Flynn
maflynn is offline   0 Reply With Quote
Old Oct 19, 2013, 03:11 PM   #4
Threaded Bolt
macrumors newbie
 
Join Date: Oct 2013
Quote:
Originally Posted by maflynn View Post
Did you try rebooting to see if the messages stopped?
I have exactly the same problem, the com.apple.IconServicesAgent process goes over 200% CPU and blocks Finder operations.
But there is no need to reboot - after killing the process with the Activity Monitor things go back to normal.
Threaded Bolt is offline   0 Reply With Quote
Old Oct 25, 2013, 09:27 PM   #5
ptsash
macrumors newbie
 
Join Date: Oct 2013
My solution

I simply manually created the directory where the .iscachebmp files are supposed to be stored (it does not yet exist!). Thereafter, the .iscachebmp files in that directory can be created by the system and hence the error messages will stop.
The directory to create looks something like this:
/var/folders/z_/g45rjf65131b4n254ktfmpch0000gp/T/com.apple.IconServices
ptsash is offline   0 Reply With Quote
Old Oct 26, 2013, 09:12 AM   #6
bbelau
macrumors newbie
 
Join Date: Dec 2011
Location: Appleton, Wisconsin, USA
Solved - Boot into Safe Mode!

This has been driving me crazy for a day and a half! My CPU was spiked from com.apple.IconServicesAgent, icons wouldn't appear in the Finder, and eventually, all the icons disappeared from the dock.

I tried Ptsash's previously mentioned folder creation solution, which didn't work for me. I also tried using the latest version of Cocktail to repair permissions and run its built in scripts to clear all the caches, restarted a few times, no change.

Finally, I tried rebooting in Safe Mode (hold the "Shift" key while starting up - don't let go until after the Apple logo appears). After waiting 20 minutes for it to boot up in Safe Mode, I was able to login and see my Finder and dock icons. After rebooting again (normally), everything is working fine - icons are appearing and CPU usage has been nice and low for a half hour.

Hope that helps!
bbelau is offline   0 Reply With Quote
Old Oct 26, 2013, 12:29 PM   #7
zero0cool
macrumors newbie
 
Join Date: Oct 2013
Smile My Solution

My solution turned out to be to increase the disk quota for the user which the process belonged to.
In the system.log, you'll see the PID of the process generating the errors:

Oct 26 19:27:45 host1 com.apple.IconServicesAgent[11064]: Failed to write file /var/folders/_8/8ktxyc7132n9b6_q1d8khytw0000gp/C/com.apple.IconServices/1

(11064 in this case)

ps awxu | grep 11064 will reveal the user name. When I checked the disk quota of this user, it had been exceeded.
zero0cool is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > OS X > OS X Mavericks (10.9)

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Anyone experiencing this? IconServicesAgent sliceoftoast OS X Mavericks (10.9) 8 Apr 18, 2014 01:20 AM
Anyway to write automator log to file? jbsmithmac Mac Programming 0 Feb 15, 2014 08:58 PM
What are these processes: com.apple.IconServicesAgent and mds_stores OldGuyTom OS X Mavericks (10.9) 1 Oct 29, 2013 08:18 PM
Anyway to write a script that write text into an existing text file hypmatize Mac Programming 10 Jun 12, 2013 05:52 AM
DL DVD+R "Failed to Burn...Medium Write Error" KyleMacs MacBook Pro 1 Jun 13, 2012 11:49 AM

Forum Jump

All times are GMT -5. The time now is 12:43 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC