Skip navigation

Spotlight forever indexing

20327 Views 47 Replies Latest reply: Jan 6, 2014 2:26 AM by peterios RSS
1 2 3 4 Previous Next
Ken Trajanowski Level 1 Level 1 (90 points)
Currently Being Moderated
Sep 6, 2012 5:57 AM

Can anyone indicate how I can get spotlight to index properly?  I've tried suggestions such as:

 

  1. Placing HD in Privacy and then removing.
  2. Using mdutil to stop and restart indexing.
  3. Cursing.

 

Here is an example of the system log:

 

Sep  6 08:10:25 birds-imac.home mds[35]: (/)(Warning) IndexQuery in bool preIterate_FSI(SISearchCtx_FSI *):Throttling inefficient file system query

Sep  6 08:10:27 birds-imac.home mds[35]: (/)(Warning) IndexQuery in virtual bool SISearchCtx_FSI::performSearch(struct PartialQueryResults *):Retried searchfs 4 times

Sep  6 08:42:20 birds-imac.home mds[35]: (/)(Warning) IndexQuery in bool preIterate_FSI(SISearchCtx_FSI *):Throttling inefficient file system query

Sep  6 08:42:28 birds-imac.home mds[35]: (/)(Warning) IndexQuery in bool preIterate_FSI(SISearchCtx_FSI *):Throttling inefficient file system query

Sep  6 08:42:33 birds-imac.home mds[35]: (/)(Warning) IndexQuery in virtual bool SISearchCtx_FSI::performSearch(struct PartialQueryResults *):Retried searchfs 4 times

 

I don't know what else to try.

 

Thanks,

 

Traj

iMac (20-inch Early 2009), OS X Mountain Lion
  • Linc Davis Level 10 Level 10 (107,830 points)
    Currently Being Moderated
    Sep 6, 2012 7:41 AM (in response to Ken Trajanowski)

    Please post the output of the commands "mdutil -as" and "mount".

  • Linc Davis Level 10 Level 10 (107,830 points)
    Currently Being Moderated
    Sep 6, 2012 8:10 AM (in response to Ken Trajanowski)

    What do you get from this:

     

    sudo mdutil -i on "/Volumes/Big Media"

  • Linc Davis Level 10 Level 10 (107,830 points)
    Currently Being Moderated
    Sep 6, 2012 8:33 AM (in response to Ken Trajanowski)

    Please copy and paste the command I posted. Don't type it.

  • Linc Davis Level 10 Level 10 (107,830 points)
    Currently Being Moderated
    Sep 6, 2012 9:43 AM (in response to Ken Trajanowski)

    If you have more than one user account, these instructions must be carried out as an administrator.

     

    Launch the Console application.

     

    Step 1

     

    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left.

     

    Enter "mdworker" (without the quotes) in the Filter text field. Post the most recent 50 or so messages that appear in the Console window — the text, please, not a screenshot.

     

    If there are runs of repeated messages, post only one example of each. Don't post many repetitions of the same message.

     

    When posting a log extract, be selective. Don't post more than is requested.

    PLEASE DO NOT INDISCRIMINATELY DUMP THOUSANDS OF LINES FROM THE LOG INTO A MESSAGE. If you do that, I will not respond.

     

    Some personal information, such as the names of your files, may be included — edit that out, too, but don’t remove the context.

     

    Step 2

     

    Do the same with the search string "mds".

  • Linc Davis Level 10 Level 10 (107,830 points)
    Currently Being Moderated
    Sep 6, 2012 10:36 AM (in response to Ken Trajanowski)

    Why do you think something is wrong with Spotlight? It's normal for Spotlight to update the index whenever a file changes. You know that, right?

  • Linc Davis Level 10 Level 10 (107,830 points)
    Currently Being Moderated
    Sep 6, 2012 11:14 AM (in response to Ken Trajanowski)

    Drag or copy — do not type — the following line into a Terminal window, then press return:

     

    sudo opensnoop -n mdworker

     

    You'll be prompted for your login password, which won't be displayed when you type it..

     

    Text will begin to scroll in the Terminal window. Let it run until you have about 25 lines of output, then press the key combination command-period to stop the command.

     

    Post the text output — please, not a screenshot — from the Terminal window, below what you entered.

  • Linc Davis Level 10 Level 10 (107,830 points)
    Currently Being Moderated
    Sep 6, 2012 12:04 PM (in response to Ken Trajanowski)

    Back up all data.

    In the Finder, select Go Go to Folder from the menu bar, copy the text on the line below into the box that opens, and press return:

    ~/Library/Spotlight

    Move the contents of the folder that opens to the Desktop. Leave the folder open for now.

    Log out and log back in. Test.

1 2 3 4 Previous Next

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.