레이블이 Spotlight인 게시물을 표시합니다. 모든 게시물 표시
레이블이 Spotlight인 게시물을 표시합니다. 모든 게시물 표시

2009년 5월 3일 일요일

사용하던 화일이 사라졌다?

만약 지우지 않았다면 다음과 같이 간단하게 찾으실 수 있습니다.


2009년 2월 7일 토요일

Spotlight T T

Feb  8 00:00:16 merteousyi-p5w-dh-deluxe CoreServicesUIAgent[3361]: Unable to load nib file: MainMenu, exiting
Feb  8 00:00:16 merteousyi-p5w-dh-deluxe com.apple.launchd[142] (com.apple.coreservices.uiagent[3361]): Exited with exit code: 1
Feb  8 00:00:16 merteousyi-p5w-dh-deluxe com.apple.launchd[142] (com.apple.coreservices.uiagent): Throttling respawn: Will start in 10 seconds
Feb  8 00:00:18 merteousyi-p5w-dh-deluxe Spotlight[3362]: Unable to load nib file: MainMenu, exiting
Feb  8 00:00:18 merteousyi-p5w-dh-deluxe com.apple.launchd[142] (com.apple.Spotlight[3362]): Exited with exit code: 1
Feb  8 00:00:18 merteousyi-p5w-dh-deluxe com.apple.launchd[142] (com.apple.Spotlight): Throttling respawn: Will start in 10 seconds


이걸 어케 해결해야 하나....... 
Spotlight는 완전 Disable시켜주는 건 없는건가? 에효....

Spotlight so much as one of the index plugins (mdimporters)

This probably isn't Spotlight so much as one of the index plugins (mdimporters). 
Spotlight itself is very robust, however, all it takes is a single bad indexing plugin. 
MDS, basically, identifies a file type and loads in a list of plugins that are registered for that file type and executes a routine in the plugin to grab the metadata. 
If the plugin is improperly written, it can go haywire. 
What was the last application that you installed prior to it going crazy? 
Perhaps one of the last 2-3... Failing that, you can wipeout the metadata database for a Volume like so 
(from Terminal.app)
: sudo mdutil -E /Volumes/your_volume_here ... 

or '/' in place of '/Volumes/...' for the local disk. 
You can turn off metadata indexing for a volume entirely like so
: sudo mdutil -i off /Volumes/your_volume_here 

You may also want to see what index plugins are being used
: sudo lsof | grep mdimporter ... 

which might help you understand what's being used to index, and this
: sudo lsof | grep mdworker 

... will tell you what worker threads are running and the files they have open (some of which will be the files they are indexing).

Spotlight is going rampant here.

Spotlight is going rampant here. 
The mds (metadata server, aka Spotlight) process is constantly accessing the disk and writing some data to it, filling it until there is no space left on the device. 
I cannot find out what file it is writing to. 
I've tried with fsevener which sadly didn't help. 
mds is also eating up all the CPU cycles it can get leaving my system fully loaded at all times. 
The mds process is also taking up inceasingly huge amounts of memory, causing permanent swapping of memory and bringing the system to a grinding halt. (Cache Hits go down below 1%, About 250.000 pageins happen per minute.) 
Memory Footprint is going up to several hundred MB or real RAM. 
$ vm_stat 
Mach Virtual Memory Statistics: (page size of 4096 bytes) 
Pages free: 53166. 
Pages active: 275736. 
Pages inactive: 135633. 
Pages wired down: 59698. 
"Translation faults": 10217862. 
Pages copy-on-write: 136166. 
Pages zero filled: 5983710. 
Pages reactivated: 96772. 
Pageins: 1236330. 
Pageouts: 77113. 
Object cache: 24391 hits of 1183451 lookups (2% hit rate) (This is 95 minutes after reboot. Only running: Finder, Terminal, LaunchBar, Safari, Mail) 
This bahaviour goes until the disk is full and I get a "low disk space" warning. 
Then mds crashes, the system frees up the (temporary?) files written by the process and also frees the RAM taken up by it. 
Resulting in even more swapping, as the system tries to page-in other processes now. 
Subseqently the system launches a new mds process and the game starts over. 
Things I've tried to remedy:


Rebuilt spotlight index several times. 
Including totally deleting the .Spotlight-V100 folder on local volumes. 
Doesn't help, takes about 16 to 20 hours to rebuild on my machine, so is not a thing one wants to just-try.


Reinstalled 10.5.5 Combo Update, doesn't help. 
Privileges are repaired.


Turn off spotlight completely: Does indeed stop the madness, but now I cannot find anything on my system. 
So this is not a solution at all.


I've tried to keep the index small by excluding more and more stuff in the privacy settings of the Spotlight PreferencePane. This doesn't solve the problem either.


My System:
PowerBook G4 1.5GHz
2GB RAM (Maximum) (Tested with ASD ok, Rember ok. Different RAM modules, also ok.)
160GB HD (5GB free) (SMART ok, Blockscan ok, Filesystem ok, File privileges ok)
Mac OS X 10.5.5 (9F33) including Security Update 2008/007 (no further updates available)

Any help or suggestions are welcome. I'm happy to provide any further details you may need.
Best regards
Pepi