What Is The 'mdworker' Process on Mac

Mac users might have noticed that sometimes the 'mdworker' and 'mds' processes are active on their computers and wondered what is their purpose. Let's start with the names - 'mds' stands for metadata server while 'mdworker' is short for metadata server worker. Both processes are employed by Spotlight to index the Mac system such as when data is being copied from one place and moved to another on the Mac. 

While under specific circumstances 'mds' and 'mdworker' could take up a sizable portion of the CPU's resources, both processes are designed to never hamper the overall productivity of the system if it is running other, CPU-intensive tasks, especially. However, if you believe that 'mds' and 'mdworker' are hogging an abnormally high number of CPU cycles, you can confirm your suspicions through the Activity Monitor.

  1. Go to the Applications folder, open Utilities, and launch Activity Monitor.
  2. Select the CPU column to sort the active processes by the CPU cycles they currently use.
  3. Check if 'mds' or 'mdworker' are at the top of the list. If they are, it could signal that Spotlight is not functioning properly.

Try Rebuilding Spotlight's Database

One potential solution for this issue is to attempt to rebuild Spotlight's database. One of the fastest ways to do so is via the built-in Terminal tool.

  1. Open your Applications folder, go to Utilities, and launch Terminal.
  2. In the Terminal window, type the sudo mdutil -E / command and press Return on your keyboard.
  3. Wait for Spotlight to reindex your Mac.

Unexpected Shut Downs of 'mdworker'

Some users might encounter the problem of 'mdworker' quitting unexpectedly. A potential cause for this issue could be Spotlight may have become overwhelmed while trying to index the system. If there are numerous external drives connected to your Mac, try excluding them from Spotlight's index. 

  1. Select the 'Apple' menu.
  2. Open 'System Preferences.'
  3. Select 'Spotlight.'
  4. Open 'Privacy.'
  5. Drag all of the external drives from the Finder window to the Privacy window.

Leave a Reply

Please DO NOT use this comment system for support or billing questions. For SpyHunter technical support requests, please contact our technical support team directly by opening a customer support ticket via your SpyHunter. For billing issues, please refer to our "Billing Questions or Problems?" page. For general inquiries (complaints, legal, press, marketing, copyright), visit our "Inquiries and Feedback" page.

HTML is not allowed.