Skip navigation

Spotlight forever indexing

20275 Views 47 Replies Latest reply: Jan 6, 2014 2:26 AM by peterios RSS
  • Christopher Murphy Level 2 Level 2 (470 points)
    Currently Being Moderated
    Oct 1, 2012 5:00 PM (in response to Christopher Murphy)

    I'm going to post updates to this thread instead of double posting.

  • Christopher Murphy Level 2 Level 2 (470 points)
    Currently Being Moderated
    Oct 1, 2012 6:23 PM (in response to Christopher Murphy)

    The long and the short is that blowing away the folders in /var/folders, rebooting, then forcing a reindex either with mdutil or briefly adding/removing the Mac OS volume from the Spotlight system preferences panel (in the privacy section), fixes the problem. For me.

  • D. Rackerby Level 1 Level 1 (0 points)
    Currently Being Moderated
    Oct 1, 2012 7:39 PM (in response to Christopher Murphy)

    Why not just add /var/folders/ to the privacy list within the Spotlight pref pane?  Add other directories if opensnoop indicates that are causing slowdowns (and you don't mind them being excluded).

  • Christopher Murphy Level 2 Level 2 (470 points)
    Currently Being Moderated
    Oct 1, 2012 8:17 PM (in response to D. Rackerby)

    Someone would have to test if that works. There is nothing useful in /var/folders for Spotlight to index anyway, so I just assumed mdworker wasn't indexing /var/folders, but rather mdworker working within Lion/Mountain Lion's sandboxing.

  • wadlmac Calculating status...
    Currently Being Moderated
    Oct 2, 2012 5:09 AM (in response to Christopher Murphy)

    Restored Evernote, Colloquy, LibreOffice back to /Applications (from the Trash).

    Quit all applications except Terminal, issued the following two commands:

    sudo mdutil -i off /

    sudo mdutil -E /

    sudo rm -Rf /var/folders/*

     

    Reboot.

     

    sudo mdutil -i on /

     

    Hi,

     

    I had the same problem (never ending "Spotlighting" and never ending "Time Machining") on my MacBook Mac (early 2007, 256 SSD, 4G RAM, OS X 10.7.5). I applied the solution as proposed by Christopher and the problem disappeared.

     

    As Christopher wrote the indexing processes (mdworker) get stalled/crashed and re-started again and again. Deleting /private/var/folders/* solved this problem. It looks like there was a corrupted file or directory which is used by indexing in /private/var/folders.

     

    May be someone else knows which file/directory is used for indexing.

     

    Many thanks to Christopher

    Wolfgang

  • jym75 Calculating status...
    Currently Being Moderated
    Oct 2, 2012 11:40 AM (in response to Ken Trajanowski)

    Hi,

     

    I agree with Christopher's analysis although I have not tested his solution yet.

    It looks like updating to Lion 10.7.5 via Combo is quicker, see my post :

    https://discussions.apple.com/message/19811497?ac_cid=op123456#19811497

    Thank you Christopher

    Phiippe

  • Network 23 Level 6 Level 6 (11,500 points)
    Currently Being Moderated
    Oct 2, 2012 12:48 PM (in response to jym75)

    jym75 wrote:

    It looks like updating to Lion 10.7.5 via Combo is quicker, see my post :

    https://discussions.apple.com/message/19811497?ac_cid=op123456#19811497

    Unfortunately, my problems started after running the 10.7.5 Combo on 10.7.4. Maybe I'll try running it again. (I always use the Combo.)

  • bernuli Calculating status...
    Currently Being Moderated
    Oct 2, 2012 7:05 PM (in response to Christopher Murphy)

    Stellar detective work!  I have deleted /var/folders before when troubleshooting other problems.  Never noticed any side effects from this.  I only do it while booted in single user mode though. 

     

    B

  • Per Ola Clemedtson Level 1 Level 1 (0 points)
    Currently Being Moderated
    Oct 2, 2012 11:39 PM (in response to Christopher Murphy)

    Thanks Christipher, that solved my stalling Spotlight indexing. After 3 days without coming to the end, it took less than one hour after this fix. Now it lookes like TM works as it should as well. Btw: MBP on 10.7.5.

  • baltwo Level 9 Level 9 (59,145 points)
    Currently Being Moderated
    Oct 3, 2012 3:22 PM (in response to Csound1)

    Csound1 wrote:

    kilgo wrote:

    I don't understand how software which does not conflict with spotlight, prior to 10.7.5, is crapware?

    The obvious answer to that is that the 'Crapware' has not been updated from Lion to Mountain Lion yet

    Huh???

     

    Screen shot 2012-10-03 at 3.19.51 PM.png

    27" i7 iMac SL, Lion, OS X Mountain Lion (10.8.2), G4 450 MP w/Leopard, 9.2.2
  • Csound1 Level 7 Level 7 (32,255 points)
    Currently Being Moderated
    Oct 3, 2012 3:28 PM (in response to baltwo)

    baltwo wrote:

     

    Csound1 wrote:

    kilgo wrote:

    I don't understand how software which does not conflict with spotlight, prior to 10.7.5, is crapware?

    The obvious answer to that is that the 'Crapware' has not been updated from Lion to Mountain Lion yet

    Huh???

     

    Screen shot 2012-10-03 at 3.19.51 PM.png

     

    I was answering a how-could (how can it work before the upgrade but not after) question, it certainly doesn't apply to TechTools, but I see that's unclear.

  • baltwo Level 9 Level 9 (59,145 points)
    Currently Being Moderated
    Oct 3, 2012 3:44 PM (in response to Csound1)

    Understood, but Linc's original indictment, which started it all, was:

    Remove the rest of the useless "Tech Tool" crapware according to the developer's instructions.

    27" i7 iMac SL, Lion, OS X Mountain Lion (10.8.2), G4 450 MP w/Leopard, 9.2.2
  • Csound1 Level 7 Level 7 (32,255 points)
    Currently Being Moderated
    Oct 3, 2012 4:11 PM (in response to baltwo)

    So it does, sloppy of me.

  • stocky2605 Level 1 Level 1 (10 points)
    Currently Being Moderated
    Oct 4, 2012 5:24 AM (in response to Ken Trajanowski)

    no chance to get mdworker running through the whole indexing process.

    mdworker is working, gone, working, gone, working, gone....

     

    I've disabled the whole Spotlight sh*** until Apple delivers a Fix  :-(

  • Adrian J. Calculating status...
    Currently Being Moderated
    Oct 4, 2012 10:58 AM (in response to Christopher Murphy)

    Just wanted to say that Chris' method solved my problem.

     

    Thanks!

Actions

More Like This

  • Retrieving data ...

Bookmarked By (3)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.