Failed to write file

Discussion in 'OS X Mavericks (10.9)' started by jonsuh, Oct 16, 2013.

  1. jonsuh macrumors member

    Sep 1, 2010
    Is anyone else experiencing this 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 Files:

  2. jadik macrumors newbie

    Aug 13, 2011
    also seeing fail to write error:

    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[11049]: Failed to write file ...


    Any help would be appreciated!
  3. maflynn Moderator


    Staff Member

    May 3, 2009
    Did you try rebooting to see if the messages stopped?
  4. Threaded Bolt macrumors newbie

    Oct 16, 2013
    I have exactly the same problem, the 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.
  5. ptsash macrumors newbie

    Oct 25, 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:
  6. bbelau macrumors newbie

    Dec 22, 2011
    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, 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!
  7. zero0cool macrumors newbie

    Oct 26, 2013
    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[11064]: Failed to write file /var/folders/_8/8ktxyc7132n9b6_q1d8khytw0000gp/C/

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

Share This Page

6 October 16, 2013