jianglai

Q: 10.8.2 spotlight indexing issue

Since updating to 10.8.2 I noticed that spotlight will randomly start indexing for a while and then stop. Basically everything IS already indexed because when I search in spotlight I got what I need but from time to time there will be indexing progress bar in the bottum of the spotlight dropdown menu, which is full but keeps rolling. I checked console.app and saw a lot of messages regarding mdworker, mdimporter and lsboxd like the following:

 

mdworker: Unable to talk to lsboxd

mdimporter: Unable to talk to lsboxd

sandboxd: mdworker(692) deny mach-lookup com.apple.ls.boxd

 

I suspect that there might be some issue with spotlight and the sandbox mechanism? When I boot the computer I also notice that lsboxd keeps running in activity monitor, which wasn't the case prior to 10.8.2 update.

 

Has anyone seen the same symptom?

 

I'm on a mid-2010 MacBook Pro with Crucial M4 SSD.

OS X Mountain Lion

Posted on Sep 19, 2012 8:28 PM

Close

Q: 10.8.2 spotlight indexing issue

  • All replies
  • Helpful answers

Page 1 of 4 last Next
  • by Adrian Robert,

    Adrian Robert Adrian Robert Sep 20, 2012 4:33 AM in response to jianglai
    Level 1 (14 points)
    Sep 20, 2012 4:33 AM in response to jianglai

    Yeah, seeing same issue.  Unfortunately mds and mdworker get to consuiming a lot of CPU during these little games.  Somehow I doubt I'm going to be seeing the battery life improvements that are supposed to have come with 10.8.2.  I sure wish Apple actually *tested* this software before releasing it to the world...  I'm going to send in a bug report with log excerpts and maybe a partial dump of my spotlight indexes.

  • by jonathan.muth,

    jonathan.muth jonathan.muth Sep 20, 2012 8:22 AM in response to Adrian Robert
    Level 1 (0 points)
    Sep 20, 2012 8:22 AM in response to Adrian Robert

    I have got the same problem here. Mdworker and Mds take up between 40% and 60% of my CPU resources. Excluding all drives from Spotlight does not make a difference. Neither does reindexing.

     

     

    According to some other threads it has some thing to do with sandboxing:

     

    mdworker[299]: Unable to talk to lsboxd

    sandboxd[296] ([299]): mdworker(299) deny mach-lookup com.apple.ls.boxd

    kernel[0]: Sandbox: sandboxd(314) deny mach-lookup com.apple.coresymbolicationd

     

    Lets hope Apple releases a fix soon.

  • by Bloedman,

    Bloedman Bloedman Sep 21, 2012 11:32 AM in response to jianglai
    Level 1 (0 points)
    Sep 21, 2012 11:32 AM in response to jianglai

    I'm having the same issue since upgrading.  Having the spinning beach ball of death up no matter what activity I'm doing, my iMac is essentially unusable right now.

     

    2012-09-21 2:22:31.486 PM mdworker[4233]: Unable to talk to lsboxd

    2012-09-21 2:22:31.542 PM sandboxd[4239]: ([4233]) mdworker(4233) deny mach-lookup com.apple.ls.boxd

    2012-09-21 2:22:31.000 PM kernel[0]: Sandbox: sandboxd(4239) deny mach-lookup com.apple.coresymbolicationd

    2012-09-21 2:26:45.153 PM mdworker[4247]: Unable to talk to lsboxd

    2012-09-21 2:26:45.219 PM sandboxd[4252]: ([4247]) mdworker(4247) deny mach-lookup com.apple.ls.boxd

    2012-09-21 2:26:45.000 PM kernel[0]: Sandbox: sandboxd(4252) deny mach-lookup com.apple.coresymbolicationd

    2012-09-21 2:26:55.005 PM rpc.statd[25]: Failed to contact rpc.statd at host 192.168.2.102

    2012-09-21 2:28:51.869 PM mdworker[4256]: Unable to talk to lsboxd

    2012-09-21 2:28:51.948 PM sandboxd[4262]: ([4256]) mdworker(4256) deny mach-lookup com.apple.ls.boxd

    2012-09-21 2:28:52.000 PM kernel[0]: Sandbox: sandboxd(4262) deny mach-lookup com.apple.coresymbolicationd

    2012-09-21 2:30:53.667 PM mdworker[4270]: Unable to talk to lsboxd

    2012-09-21 2:30:53.000 PM kernel[0]: Sandbox: sandboxd(4275) deny mach-lookup com.apple.coresymbolicationd

  • by kpagchen,

    kpagchen kpagchen Sep 21, 2012 11:42 AM in response to Bloedman
    Level 1 (0 points)
    Sep 21, 2012 11:42 AM in response to Bloedman

    I've forced reindex of spotlight using the terminal command

    sudo mdutil -E /

    Beware: start this at night as it takes a lot of ressources and run for many hours.

     

    Computer speed is normal again.

    But still get a lot of these messages in Console:

     

    2012-09-21 14:37:54,691 mdworker[5689]: Unable to talk to lsboxd

    2012-09-21 14:37:54,816 sandboxd[5691]: ([5690]) mdworker(5690) deny mach-lookup com.apple.ls.boxd

    2012-09-21 14:37:55,000 kernel[0]: Sandbox: sandboxd(5691) deny mach-lookup com.apple.coresymbolicationd

  • by Bloedman,

    Bloedman Bloedman Sep 23, 2012 7:09 PM in response to kpagchen
    Level 1 (0 points)
    Sep 23, 2012 7:09 PM in response to kpagchen

    Thank you for the suggestion but it had no effect.  Barely a third of my hd is used, cpu are a fraction of a percent, more than half my ram is free and yet the computer is not in a functional state.

     

    I'm at the end of my rope with this.  None of the suggestions that users are making are fixing my problem.

     

    Where the $%^^ is Apple?  It's not just me, a lot of other people are having the same problem.

  • by Ted Savas,

    Ted Savas Ted Savas Sep 24, 2012 6:37 AM in response to jianglai
    Level 1 (10 points)
    Sep 24, 2012 6:37 AM in response to jianglai

    Same thing here on a 2011 iMac and 10.8.2.

     

    Can't offer any advice yet.

  • by kpagchen,

    kpagchen kpagchen Sep 24, 2012 7:24 AM in response to Ted Savas
    Level 1 (0 points)
    Sep 24, 2012 7:24 AM in response to Ted Savas

    Hi,

    Check if you have this file in your system /System/Library/LaunchAgents/com.apple.afpstat.plist.

    It was added in the original 10.8.0 but was causing problem. See this post for more information:

    https://discussions.apple.com/thread/4213550?start=0&tstart=0

     

    When I installed ML, I had spinning ball and erasing it solved my problem on my MBP mid 2011.

    Different problem source, but same annoying effect.

    cheers

  • by Lanny,

    Lanny Lanny Sep 25, 2012 1:18 PM in response to jianglai
    Level 6 (8,041 points)
    Desktops
    Sep 25, 2012 1:18 PM in response to jianglai

    This is from another forum, but it worked for me to stop the, "mdworker[299]: Unable to talk to lsboxd."

     

    Screen Shot 2012-09-25 at 4.15.47 PM.jpg

  • by tfreyaus,

    tfreyaus tfreyaus Sep 25, 2012 1:42 PM in response to jianglai
    Level 1 (0 points)
    Sep 25, 2012 1:42 PM in response to jianglai

    Removing:

     

    /System/Library/LaunchAgents/com.apple.afpstat.plist

     

    and

     

    /Library/Cache/com.apple.coresymbolicationd

     

    Seemed to have fixed it for me.

  • by Lanny,

    Lanny Lanny Sep 25, 2012 1:45 PM in response to tfreyaus
    Level 6 (8,041 points)
    Desktops
    Sep 25, 2012 1:45 PM in response to tfreyaus

    I had to also do a ML re-install though.

  • by timyu,

    timyu timyu Sep 28, 2012 5:51 PM in response to jianglai
    Level 1 (10 points)
    Sep 28, 2012 5:51 PM in response to jianglai

    Just to add another datapoint, I landed here after encountering the same problem.

     

    System: mid-2011 Macbook Air, 1.8GHz i7, running 10.8.2, with a 480 GB OWC SSD.

    Symptom: I noticed that Spotlight was frequently reindexing my SSD. I also experienced intermittent spikes in CPU usage and fan use, and, intermittent system freezes (no gray screen of death, but everything would just be frozen "in stasis" requiring a hard reset.

     

    Sample messages from Console:

    9/28/12 8:32:18.785 PM mds[74]: Unable to talk to lsboxd

    9/28/12 8:32:20.011 PM mdworker[464]: Unable to talk to lsboxd

    9/28/12 8:32:20.018 PM mdworker[462]: Unable to talk to lsboxd

    9/28/12 8:33:34.792 PM mdworker[536]: Unable to talk to lsboxd

    9/28/12 8:33:34.798 PM mdworker[537]: Unable to talk to lsboxd

    9/28/12 8:34:47.205 PM mdworker[551]: Unable to talk to lsboxd

    9/28/12 8:34:47.212 PM mdworker[552]: Unable to talk to lsboxd

    9/28/12 8:37:36.395 PM mdworker[592]: Unable to talk to lsboxd

    9/28/12 8:37:36.401 PM mdworker[591]: Unable to talk to lsboxd

    9/28/12 8:39:47.845 PM mdworker[607]: Unable to talk to lsboxd

    9/28/12 8:39:47.851 PM mdworker[606]: Unable to talk to lsboxd

  • by skofgar,

    skofgar skofgar Sep 29, 2012 10:15 AM in response to kpagchen
    Level 1 (4 points)
    iCloud
    Sep 29, 2012 10:15 AM in response to kpagchen

    Thanks! Removing the com.apple.afpstat.plist solved it for me - at least it looks like.

    I'm also observed the same problem on my MacBookPro6,2 using OS X 10.8.2

     

    UPDATE: Hmm... I'm still getting the error messages in the console and spotlight is indexing for a few seconds again and again...

  • by Lanny,

    Lanny Lanny Sep 29, 2012 11:01 AM in response to skofgar
    Level 6 (8,041 points)
    Desktops
    Sep 29, 2012 11:01 AM in response to skofgar

    Removing: "/System/Library/LaunchAgents/com.apple.afpstat.plist" and "/Library/Cache/com.apple.coresymbolicationd" and re-installing ML did it for me.

  • by skofgar,

    skofgar skofgar Sep 30, 2012 2:44 AM in response to Lanny
    Level 1 (4 points)
    iCloud
    Sep 30, 2012 2:44 AM in response to Lanny

    Hey Lanny

     

    Thank you for the tip. I removed both Files, but I didn't had the chance to reinstall ML again... I'll do it asap.

     

    Isn't that weird that we've to reinstall ML? I actually erased my hardrive and made a clean install of ML when I installed version 10.8.0

Page 1 of 4 last Next