Mac Format

Damaged file and high CPU use

- Edited by howard oakley by Bob As pin all

QI ran EtreCheck because of performanc­e 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?

AMdworker is a background daemon which is responsibl­e 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, although 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 automatica­lly. This is normally recorded in the log, and should be easy to spot in Console (in /Applicatio­ns/Utilities) or Consolatio­n (Free from eclecticli­ght.co). Log entries normally record the full path and name of the file which 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 may need to delete that file, or restore it from your Time Machine backup if it’s important. Sometimes, after a restart or two, you’ll find that everything settles down spontaneou­sly.

 ??  ?? To identify mdworker problems, set Console’s Find box to look for the text mdworker in Any, or as the Process.
To identify mdworker problems, set Console’s Find box to look for the text mdworker in Any, or as the Process.
 ??  ??

Newspapers in English

Newspapers from Australia