3

I have noticed big peaks of activity of processes:

  • mds
  • mds_stores
  • lsd
  • mdworker (multiple processes)

The console loops over two messages from mds:

  1. LaunchServices: Database mapping failed with result -10813, retries = X
  2. LaunchServices: storeXPCRepresentation or url (null) was nil -10813, retrying

I tried to reset Spotlight via mdutil, following https://apple.stackexchange.com/a/191503/204565. The first step kills the processes using the CPU, but after following all the steps, the problem came back (not only the CPU usage which would seem normal when reindexing the system, but the errors in the console failure messages too).

I saw https://discussions.apple.com/thread/8158217 but unlike him, my Time Machine saves seem to work.

My computer is a MacBook Pro mid-2012. I changed the HDD to a Samsung 850 EVO some time ago (more than 3 years).

I also noticed that the modification date of some folders doesn't make any sense.

At some point, I noticed failures of lsd:

  1. *** CSStore corruption detected (2). ffff6d74 54 4ce74318 3

I looked at the console during a backup and backupd shows the same messages as mds (1. and 2.)

Even after sudo mdutil -a -i off, which solves the CPU usage problem, symptomsd logs 1. and 2..

6
  • I think I solved my problem by rebuilding Launch Services with Onyx. Maintenance>Rebuilding>Launch Services
    – Labo
    Jan 8, 2019 at 14:14
  • 1
    I would suggest you 2 things: • make a complete Disk Utility verify of your disk (a problem might "look like" fixed when you just stop digging on the same bad disk sector), • and if your problem is fully fixed, make an answer of your comment.
    – dan
    Mar 28, 2019 at 11:11
  • @danielAzuelos Thanks for the advice :) Disk Utility's SOS said everything was fine!
    – Labo
    Mar 30, 2019 at 3:57
  • Then some event most probably corrupted your meta data database. Did your Mac recently crashed during either a Spotlight index rebuild or a Time Machine backup?
    – dan
    Mar 30, 2019 at 7:12
  • 1
    I remember the day when using lsd and crazy in the same sentence would have elicited many responses! lol
    – Natsfan
    Apr 27, 2020 at 15:38

1 Answer 1

4

3 months later, I can confirm my comment.

I solved my problem by rebuilding Launch Services with Onyx.

Maintenance > Rebuilding > Launch Services

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .