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
> THE SHIFT
WHEN APPLE ANNOUNCED that it would be handling the EU’s new rules forcing it to allow sideloading and alternative App Stores by introducing a review/approval process for any apps someone makes, not just those sent to its store, a lot of people I spok
MacLife2 min read
STM BagPack
$79.95 From www.stmgoods.com Features 15L capacity, for notebooks of up to 16 inches, made from 210D nylon, empty weight 1.1lbs, available in black and coffee colors DO YOU HAVE some of those grocery bags that fold away into their own pockets and zip
MacLife3 min read
ASK TECH SUPPORT & TECHSPLANATIONS
KEEP A WATCH on how much memory the Finder uses while you’re browsing images and other files with custom thumbnails or icons, and you’ll see that increases steadily. Browse or select hundreds of files, and it can rise to GB. Many had assumed that’s a

Related Books & Audiobooks