Spotlight
Jump to navigation
Jump to search
Sites
- http://forums.macnn.com/90/mac-os-x/380957/spotlight-permenantly-estimating-indexing-time/
- http://www.mikesel.info/disable-spotlight/
- http://hints.macworld.com/article.php?story=20071102215912892 - Disable Spotlight - Mac OS X 10.5 (check out comments)
- http://forums.macrumors.com/showthread.php?t=377014 - 'mds' process out of control (not the best link)
- http://aplawrence.com/Unixart/kill_user.html
- http://superuser.com/questions/240932/monitor-mac-os-x-hdd-access
- http://superuser.com/questions/97980/view-filesystem-access-in-real-time-on-mac-os-x - GUIs
Postfix
Errors
Here are some errors I was getting in the Console under "All Messages". I was getting 100s of these kinds of errors:
5/01/12 7:27:45.270 PM postfix/pipe: 0715517EC85A: to=<[email protected]>, orig_to=<user1>, relay=dovecot, delay=263804, delays=263761/43/0/0.05, dsn=4.3.0, status=deferred (temporary failure)
Start/stop postfix
sudo /usr/sbin/postfix start
Stop postfix from booting
Running this command in the Terminal should stop postfix from starting at boot:
unload -w /System/Library/LaunchDaemons/org.postfix.master.plist
Generic Unix commands
Kill all processes from x user
sudo kill -9 $(ps -u usernameHere -o "pid=")
launchctl directory types
- /Library/LaunchDaemons - is system wide for all users and it runs at boot
- /Library/LaunchAgents - is system wide but only runs when a user logs in, ie log in hooks
- ~/Library/LaunchAgents - only runs when that specific user logs in.
Stop LaunchDaemons from starting at boot
sudo launchctl unload -w /System/Library/LaunchDaemons/org.postfix.master.plist sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.*
Start LaunchDaemons at boot
The * means to load all the mds .plist files...
sudo launchctl load /System/Library/LaunchDaemons/com.apple.metadata.mds.*
Errors encountered while enabling Spotlight
If you get errors like the following then try start spotlight with all the above methods + a Disk Permissions fix, then do a reboot and spotlight should start running again
launch_msg(): Socket is not connected
`OR`
Spotlight server is disabled.