You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

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

Reply
53 replies

Oct 5, 2012 5:10 AM in response to Ted Savas

I think it is something related to the home folder. I am in the same situation. I made a new user and everything was OK. I have moved everything from the existed user to the new user, correted the privileges of every file to be related to the new user and the problem came again. I deleted coresymbolicationd, caches, everything in /private/var/folders, restarted Spotlight. Everything works until the first restart or shutdown and then turn on.

If I limit mdworker to use less CPU, using AppTammer it is interesting, but Dropbox will start an endless indexing and will use 100% CPU.

Oct 5, 2012 8:01 AM in response to jianglai

jianglai wrote:


...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...

Have you tried the 10.8.2 Supplemental Update Apple has just posted here: http://support.apple.com/kb/DL1600 ?

Oct 5, 2012 8:57 AM in response to FatMac-MacPro

Hi. I have news.

1. The problem not happens on all of my Macs (2 iMacs 2008). One of them runs well, mdworker uses 0.1 to 1 % CPU. But even in this one, I checked in /Library/Caches and I have found the folder "com.apple.coresymbolicationd". So it not seems to be related with the bad funtion of mdworker.

2. I updated Mountain Lion to 10.8.2 supplemental and the 100% cpu used by mdworker persists 😟


I still need to use AppTamer on mdworker and I really don't like this compromise.

Nov 26, 2012 9:56 AM in response to jianglai

I have just upgraded from Snow Leopard to Mountain Lion (10.8.2) over the weekend, and I was having problems with my Smart Folders in Outlook not displaying the correct results. For instance I have a smart folder for Today's Mail, Yesterday's Mail, Since Yesterday's Mail....etc. Navigating between these smart folders would give erratic, unreliable results. For instance I could see all the messages in my inboxes that came in today, but my Today's smart folder would not display them all, and navigating away and then back to it would not always display the same results.


After performing some suggested resolutions, like having Spotlight re-index my identity folder (did this more than once), and did not correct the problem, I ran upon this thread. I reviewed the messages in Console and found one message that was targeted directly at the Office 2011 Identities folder:


11/25/12 4:23:31.745 AM sandboxd[47051]: ([47049]) mdworker(47049) deny file-read-xattr /Users/lthib/Documents/Microsoft User Data/Office 2011 Identities/Main Identity_2012/Data Records/Schedules/0T/0B/0M/8K/x06_8299.olk14Schedule (pre-plugin fstype:hfs fsflag:480D000 flags:240000005E diag:0 uti:public.data plugin:internalPlainTextImporter - find suspect file using: sudo mdutil -t 49186957)


Next thing I did was go to Disk Utility and ran Verify Disk Permissions, and found quite a bit of incorrect permissions. I ran Repair Disk Permissions, re-verified (no incorrect permissions remained). Then I went to System Preferences...Spotlight, dropped my identity folder into the Privacy list, then removed it from that list. Using Activity Monitor, I filtered the processes by "md", watched those processes run. After a few minutes, I could see there was no longer any activity. I then went back into Outlook and all of my Smart Folders now display the correct the results. Quit and restarted Outlook a few times to make sure my results were consistent, and they were.


At this point, I believe the problem is resolved. Some posts in this thread led me to the solution. Took a while to find it. Hope my post helps.


LThibx

Nov 27, 2012 3:24 AM in response to LThib

Hi All,


I had the same problem on my MBP mid 2010 ML 10.8.2 with Crucial M4 256Gb. After sleep spotlight was not showing any results for applications, contacts etc. Re-boot seemed solving the issue until next time I close the lid. Silly of me to try upgrading Crucials firmware from 000F to 010G. Since the upgrade OS X refuses to boot. Spinning wheel with apple logo for ages. Cannot boot into Safe mode neither.


Round 1.

Tricky thing is that I tried to format the drive for a new clean install (have time machine bcp) with recovery mode. No luck, I see the partition with the 10.8.2 install however disk utility says: Unable to unmount the drive, and stops formatting.

Round 2

Put the SSD Crucial to my usb casing. Installed 10.8.2 to original MBP HD via recovery mode of the SSD. Tried to format the SSD drive with Disk utility ran from the original HD. Niet.

Round 3

Tried to re-instal the 10.8.2 via recovery mode to my original HD, unable to format the drive: Unable to unmount the drive, and stops formatting.

Round 4

I was able to format the drive with recovery DVD with 10.6.3 (came with the MBP), Installed new copy of 10.6.3 via original recovery DVD to my original drive, updated the Snow Leopard to be able to download the Mountain lion. Installed the 10.8.2 via bootable USB key, restored my datas from Time machine. Everything works fine on the original HD.

Round 5

Since I tried to format it with Linux ubuntu live CD, Gparted. It seems GPT locked SSD for any modification. Now I am not sure my drive is working correctly and its a kind of software problem.

Round 6

I give up!

Dec 20, 2012 7:23 PM in response to jianglai

Go to /System/Library/Sandbox/Profiles/ and there should be a file named "system.sb".

1 Make a backup of the original one and place somewhere safe on your harddisk.

2 Copy system.sb on the desktop to can edit.

3 Open it with a text editor and check for the block thext:

;;; Allow IPC to standard system agents.

(allow mach-lookup

(global-name "com.apple.bsd.dirhelper")

(global-name "com.apple.system.logger")

(global-name "com.apple.system.notification_center")

(global-name "com.apple.system.opendirectoryd.libinfo")

(global-name "com.apple.system.DirectoryService.libinfo_v1")

(global-name "com.apple.system.opendirectoryd.membership")

(global-name "com.apple.xpcd"))


4 Add these 2 lines (in bold), then the block thext will look like this:

;;; Allow IPC to standard system agents.

(allow mach-lookup

(global-name "com.apple.bsd.dirhelper")

(global-name "com.apple.system.logger")

(global-name "com.apple.system.notification_center")

(global-name "com.apple.system.opendirectoryd.libinfo")

(global-name "com.apple.system.DirectoryService.libinfo_v1")

(global-name "com.apple.system.opendirectoryd.membership")

(local-name "com.apple.ls.boxd")

(global-name "com.apple.is.boxd")

(global-name "com.apple.xpcd"))


5 Save system.sb on the destop, then delete the original one in the /System/Library/Sandbox/Profile and replace with this modified one. Spotlight (mdworker) should calm down.


Thanks to Phobos.

Dec 23, 2012 8:33 PM in response to buffett424

There are some months when I did this and all works smooth. It seem to be an error of programming, the process mdworker (spotlight) is erroneous sandboxed. It happens more on some Macs and less on others, no idea why. Spotlight works normal to me. Before this fix I should de-activate it, now this is ok. I always keep the "Activity Monitor" icon on the dock set on "CPU History". I was happy when I saw and tried the fix from Phobos and I am happy to help.


Happy seasonal greetings.

10.8.2 spotlight indexing issue

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.