2164 Views 7 Replies Latest reply: Mar 14, 2008 9:22 AM by Mike Riordan
Not many clues here.
Internal or external drive?
What directories did you have to exclude, and what kind of files?
Can the directories be copied to another drive or is there some directory damage or file corruption?
Where did the files come from? What are the file's permissions?
Have you repaired permissions by using Disk Utility?
Sorry, more questions than answers...
It's the internal System Hard Drive.
The Folders excluded are:
There is no file damage nor Corruption in these folders.
The folders/files were part of the Leopard installation. However, I suspect some maybe leftovers from previous systems even though I did an Archive and Install.
All permissions have been repaired.
Those particular folders are problematic for Spotlight, and I don't have the answer for you. Spotlight is supposed to not index parts of it, but still index your mails, addressbook and some other data. Not a lot of documentation laying around for the exact details...
You might try to re-index the entire drive by adding it to the Privacy option and then removing it again and the other folders you've excluded.
Spotlight will start the reindex automatically a short while after you close the preferences window. Be prepared for an extended time for the re-index to be accomplished. Just let it work through completely.
Actually, that's what I did that started the problem. I found that that my drive was only partially index so I added the drive to the privacy option and removed it. After about 15 minutes it stated to throw those errors and the estimated time went from 20 minutes to 125 hours and stayed there. I launched the console and saw the errors every 5 sec. I added the HD to the privacy option to stop indexing. Finally I removed the HD from privacy and added the Libraries. It took about 90 minutes to completely index the HD. I have about 90 GHz on the HD. I suspect that those who are having extend indexing time are receiving those errors.
What I find most interesting is that when I first tried to use the Time Machine I had exactly the same symptoms and exactly the same errors.
Yeah, I figured that might have been what happened. But anyway, if you continue to block Spotlight's access to the user library files are you still able to use Spotlight to search your emails and addressbook entries?
I would add a temporary contact to the AddressBook, quit the program and then see if it comes up in Spotlight. I'd also look at the text of a very recent email and try to find some word or phrase that's distinctive and see if it gets found by Spotlight.
Those are probably the most common Spotlight searches I do when clients call, so for me, that ability is imperative. YMMV
In as much as I have never had a complete index of the HD non of the address book nor mail is searchable via spotlight. The next step is to find what in the User/Library is causing the problem. I'll take half of the folders in Library and let Spotlight index them. If I run into a problem then it's in that half and I'll split them in half and so on until I narrow it down to a single folder.
The Error message generates a report in Crash Reporter that if it happens in another program it will crash the program. Not in Spotlight nor Time Machine. It just keeps repeating until it gets over the rough spot and then goes on.
I've gotten it narrowed down to what I consider the essentials.
1. I removed the HD/Users/Username/Library from the Spotlight Privacy List. Spotlight then indexed that library with no errors. This added Mail, Address Book and others to the Spotlight Index giving me access to the find data.
2. I changed HD/System/Library privacy to HD/System/Library/Frameworks in the Spotlight Privacy option (Delete and Add).
3. I had to leave the HD/Library in the Spotlight Privacy Option alone. When I tried to change it, it started to throwing errors.
I could probably narrow it down further but I consider these exclusions acceptable as it's unlikely that I'll ever search for these items.
Note--When you make these changes Spotlight does not tell you it's indexing but you will notice Disk Drive activity and increased CPU usage for a few minutes the additional data is indexed. You should have the Console open and set to Console Messages to monitor for errors.
I consider the problem resolved.