[Solved] – mds_stores Process Consuming High CPU Usage

[Solved] – mds_stores Process Consuming High CPU Usage

When it comes to providing the best technology and software, without any doubt, Apple Inc. is the best company in the world. Its products have been the best selling and most used by people all around the world. Apart from iPhones and iOS, its Mac OS is one of the leading and most secure OS when it comes to the computing experience.

[Solved] - mds_stores Process Consuming High CPU Usage
[Solved] – mds_stores Process Consuming High CPU Usage

When compared to other operating systems, it is far more user-friendly and fast. Moreover, no other system can beat Mac OS in terms of security. However, everything is not perfect and some issues are there in Mac OS also.

[Solved] – mds_stores Process Consuming High CPU Usage

There have been many issues or technical errors regarding the mds_stores consuming high CPU usage. This problem has been there in many recent Mac OS versions including the latest Mojave update of 2019 and 2018.

What is mds_stores?

mds_stores is a process for Apple’s spotlight feature. For users who are unfortunately unaware of what spotlight is, it is nothing but a type of search tool for your offline files such as documents, pictures, songs or any other such files. In short, it is a desktop search feature for Apple’s OSs.

Coming back to the mds_stores, “mds” stands for Metadata Server. Metadata simply means “data that provides information about other data”. Hence, mds_stores is a type of process of the Mac OS’s Spotlight feature.

What is the exact issue?

mds_stores process consuming high CPU usage in Mac is a very well known issue if you have been using Mac for a long time. When you feel that your Mac PC or Laptop is running slow or heating up or the fans in the machine are rotating at high speeds, you will probably head to the activity monitor to check what is happening.

For the people who simply don’t know about the activity monitor, it is simply a type of tool which shows all the current tasks running on your PC and the amount of memory they use.

Coming to the issue, when you head to this activity monitor, you will see that mds_stores is using a high percentage of CPU compared to other tasks. In most of the cases, it uses up to 90-100 % of CPU. Seeing this, many people get shocked and panic, thinking that there is something horribly wrong with their PCs.

Anyways, it is not anything to worry and it can be fixed easily in most of the cases. Here, we will see the best ways to resolve this issue.

1 – Restarting the PC.

It may sound vague but simply restarting your PC is one of the easiest and effective ways to solve this issue. In some cases, there are a lot of processes running which include active changing of directories and folders in your PC.

So, simply restarting should probably resolve your issue. It works in 50 % of the cases and if does not work then you don’t need to worry, you have other options also.

2 – Removing some directories from indexing.  

This might sound a bit complicated but trust me, it is not. You can simply use the “rm” command.

First of all, you need to go to the terminal. You can head there by simply going to Applications/Utilities. Then, you should delete the spotlight’s database. You can do that by copying this command in the command prompt.

sudo rm -rf /.Spotlight-V100/*

Then, you need to restart it and let the re-indexing happen. It may take a long time depending on the type and number of tasks running. You should not panic if it takes even several hours. So just sit back and relax at it as it is a very important step.

Then, you need to remove the directories which have frequently changed the content from the Spotlight’s indexing. This is the most crucial step and thus it should be done very carefully. First, go to system preferences, then click on the privacy tab and then drag and drop the directories that you want to remove

After that, restart your PC again and then your job is done.

3 – Disabling Spotlight

This is again a very important step to stop the mds_stores as mds_stores is a process of Spotlight indexing. If you are running the latest version of Mac OS i.e. Mac OS Mojave, then you will find this process a bit complicated and you will need patience in doing this.

First of all, you need to understand that there is no option of turning OFF or turning ON the spotlight in system preferences. On other Mac OS versions, it is simpler than that on Mojave.

Coming to the procedure in the Mojave version, you need to first check the SIP state. To do that, you need to run the terminal application. Then, type the command (csrutil status) and hit the return key. The state will be either “enabled” or “disabled”. If the SIP is disabled, you should not do anything but if it is enabled, you should perform the following steps.

First of all, Restart your Mac

After that, boot into recovery mode. You can do that by holding command+R on your keyboard as soon as your PC initiates the booting process. Continue holding those keys until you see the Apple logo or a revolving globe. Then, you can release the keys. After that, you will see a utility window.

In the Utility Window, click on the utility menu and choose the terminal option. Doing this will open a terminal window.

After that, type “csrutil disable” and press enter. Then, restart your Mac.

Then comes the most crucial step. After the PC is restarted, run terminal application and type the following command – [sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist], hit the return key and enter the password.

Your job is done.

If you are not on the Mac OS Mojave system, then the process of disabling spotlight becomes easy.

First, go to the terminal from Applications/Utilities and type or copy the following command – “sudo mdutil -a -i off”

Then, restart your PC and the spotlight will be disabled.