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

Process "mdworker" Writes to Disk Every 10 Seconds

I noticed disk activity occurring every 10 seconds while my computer was idle. In Activity Monitor I could see this writing going on and at the same time the process "mdworker" would tick up just a little bit of processor activity. A Restart didn't help. The following is what I did to make it stop. I've seen many posts on here with a similar problem so maybe this info will be helpful to someone.


I brought up a Terminal window and entered the following command:

sudo fs_usage -w -f filesys

That will show youa continuous list of all processes that are reading/writing to disk (use Control-c to make it stop). I found mdworker doing a fair amount of disk activity every 10 seconds. But the important thing is that it was the identical activity every 10 seconds, and the common thing in almost every entry was "Default Folder X". So I concluded that it was having trouble indexing something about Default Folder's data. (mdworker is used to index your data via Spotlight.) After uninstalling and reinstalling Default Folder, the constant writing stopped and has yet to happen again.


If you're having a problem similar to this you may find this method of identifying the culprit and fixing it useful.

Mac OS X (10.6.8), MacPro V8 (2008), 500GBx2 RAID0

Posted on Jul 16, 2011 5:00 AM

Reply
16 replies

Jul 16, 2011 8:17 AM in response to Topher Kessler

I found several messages with "respawn" in them, like this one:


Jul 16 08:02:34 MacProV8 com.apple.launchd.peruser.501[152] (com.apple.pbs): Throttling respawn: Will start in 10 seconds


I found about 4-5 respawn messages per day, going back for about a week. None that I see have mdworker or mds mentioned. I see quite a few messages about mdworker associated with a restart, mostly about a missing this or a missing that. I see them also on a restart after reinstalling DefaultFolder and having the recurring disk write no longer present, so that doesn't seem to be related to it.

May 22, 2012 12:13 PM in response to Wingsy

Did you manage to solve this? I have the same/a similar issue.


There are two mdworker processes running and one of them is writing about 15 MB/s every 10 seconds. I know it's this process since the spike in disk write is happening in conjunction with the processes taking some more % CPU power. If I quit this instance of the mdworker process the disk write spikes goes away for about a minute, but then the troblesome mdworker process comes on again and the I'm back to square one.


I've tried to rebuild the Spotligth index and disable search on all drives except my main one.
Only way to get the diskwriting to stop is to disable Spotlight and quit the mdworker processes.

May 24, 2012 5:26 AM in response to star-affinity

Try this, courtesy of Baltwo. It will delete the Spotlight V-100 index and then force Spotlight to re-index.

Be absolutely certain to only copy/paste these commands exactly. DO NOT try to type these in.One typo or wrong space in the first one could wipe your drive competely. Hit return after each.


Delete the entire Spotlight directory and reindex, running these commands in the Terminal app:


*sudo rm -R /.Spotlight-V100*


*sudo mdutil -i on /*


*sudo mduitl -E /*

https://discussions.apple.com/thread/2733259?answerId=12988300022#12988300022

Process "mdworker" Writes to Disk Every 10 Seconds

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