Nickkett

Q: mds_Stores some times used 100% of CPU

Hi, some times mds-stores jump the processe to100% of CPU,  and I must close it with the Activity Monitor, because is the only way to kill the processes , by it self doesn't stop running (today 3 hours still working) .

 

What is mds_stores ? And how I can fix it, otherwise used the Activity Monitor.

 

Screen Shot 2014-01-12 at 4.46.55 PM.png

 

MacOs 10.9.1

 

Thanks

MacBook Pro with Retina display, OS X Mavericks (10.9), 15" - 512 SSD - 16GB Ram

Posted on Jan 12, 2014 11:55 AM

Close

Q: mds_Stores some times used 100% of CPU

  • All replies
  • Helpful answers

  • by macbig,Helpful

    macbig macbig Jan 12, 2014 12:21 PM in response to Nickkett
    Level 4 (1,680 points)
    Jan 12, 2014 12:21 PM in response to Nickkett

    That means that Spotlight is indexing your Harddrive.

    To switch off the indexing open a Terminal window and type:

    sudo mdutil -a -i off

    NB: You will be prompted to enter your admin password.

    If you change your mind about Spotlight, and decide to give it  another try, then it’s just as easy to switch back on as it was to  switch off.

    Again, in a terminal window type the following:

    sudo mdutil -a -i on

    NB: You will be prompted to enter your admin password.

  • by The_Beachball,

    The_Beachball The_Beachball Jul 23, 2015 11:34 AM in response to Nickkett
    Level 1 (0 points)
    Jul 23, 2015 11:34 AM in response to Nickkett

    I had the same problem. After months of memory pressure (100% mds_stores, processes paused frequently), I found the cure.

    If your mail-account (hosted exchange or imap) contains a lot of duplicates - in my case thousands - spotlight indexing causes havoc. I assume, it is trying to compare all duplicates, so it can show them as one message. Duplicates may result from incomplete move/copy/delete or from receiving multiple copies of the same mail.

    I used https://github.com/quentinsf/IMAPdedup to go through all folders and delete duplicates automatically. This compares message-IDs and/or headers.

    After that, neither of my macs has seen memory pressure again - ever.

    I hope this helps everyone that suffers from memory pressure as I did.

    Hint: If your iOS mail app shows different unread counts for the same mail folders from your OS X mail app, this is a certain indication for duplicates. Same, if you iOS shows emails, while OS X mail shows an empty folder.

  • by Pencil_Neck,

    Pencil_Neck Pencil_Neck Jul 30, 2015 6:07 PM in response to Nickkett
    Level 1 (0 points)
    Jul 30, 2015 6:07 PM in response to Nickkett

    I tried disabling Spotlight in the Terminal and force quit the process in Activity Monitor, but mds_stores kept popping back up and climbing up the charts of memory use. It wasn't until I found the following link that I've gotten it to hover around 60 MBs for good.

     

    http://9to5mac.com/2014/02/11/how-to-get-spotlight-processes-back-under-control- when-cpu-usage-goes-crazy/

     

    In short, go to System Preferences -> Spotlight -> Privacy and start dragging and dropping all your frequently changing folders. Creative Cloud Files and my external hard drive dramatically reduced the CPU usage alone.

  • by Kirkwood,

    Kirkwood Kirkwood Aug 12, 2016 8:01 PM in response to macbig
    Level 1 (22 points)
    Mac App Store
    Aug 12, 2016 8:01 PM in response to macbig

    It looks to me like the solution given by Pencil_Neck is simpler and more useful.