MacLife

>>>ASK

f0072-01
f0072-02

>Damaged file and high CPU use

I ran EtreCheck because of performance issues, and it tells me that mdworker(13) is the “top process by CPU” with 56%. Is this normal, or should I do something about it?

Mdworker is a background daemon and is responsible for compiling the metadata indexes that are used for Spotlight searches. There are usually several copies of it running at any time, and each should typically take less than 5% of CPU time, though sometimes when working on large files they can exceed that — but never as much as 56%.

High CPU usage by mdworker normally occurs when it’s choking on a file, causing it to crash repeatedly and be restarted automatically. This is normally recorded in the log, and should be easy to spot in Console (which you’ll find in /Applications/Utilities) or Consolation (free from eclecticlight.co). Log entries normally record the full path and name of the file that is causing the problem.

One common cause for this is that the file it’s trying to index has become damaged — for example, one of its extended attributes has become corrupt. You can try First Aid in Disk Utility, although that often doesn’t find a problem.

Ultimately, you might need

You’re reading a preview, subscribe to read more.

More from MacLife

MacLife2 min read
IK Multimedia iRig Stream Mic USB
$99.99 From www.ikmultimedia.com Features USB–C audio and power, direct monitoring, aux input, Loopback internal mixing, bundled apps Needs macOS 10.6 or later, iOS device with USB–C port or Lightning via optional adapter ALONGSIDE ITS PRO audio gear
MacLife4 min read
Solid–state Sound
TECHNOLOGY IN THE computer industry tends to change so quickly that it’s often hard to keep up with all the latest developments. That’s not the case in other industries, though — it took almost a century for electric cars to provide an alternative to
MacLife1 min read
Fast Fixes For Your Mac
ONE OF THE reasons we love our Macs so much is they just work. In general, there’s no need to worry about clashing hardware, software compatibility, or a host of other irritations that plague users of other computers. You know exactly where you are w

Related Books & Audiobooks