How to throttle down the mds daemon?
Dear OS-X gurus,
I recently "upgraded" to a 2011 MacBook Pro and a Solid State Drive. I'm stuck with running Snow Leopard to continue to run a PowerPC based application. Shortly after this upgrade, I noted that the CPU fans would run wildly whenever I left the computer idle. A little troubleshooting quickly uncovered that the spotlight indexing daemon was running up the CPU load. I assume the problem is caused in part by the high-speed file access on the SSD.
This computer is in a bedroom and the fan noise is quite annoying. Hunting around on the Internet I found two blog entries that described modifying the com.apple.metadata.mds.plist file so that the mds daemons would run at the lowest priority:
http://newartisans.com/2008/04/run-the-spotlight-indexer-at-a-lower-priority/
http://thegreyblog.blogspot.com/2012/04/is-mdworker-jeopardizing-your-resources. html
I succeeded in modifying my com.apple.metadata.mds.plist as suggested and this does help. At least at night, the fans rarely disturb me. However, during the day, very offen I'll return to my computer to find the fans running at full power once more. I would very much like to further "clip the wings" of the mds daemon to prevent this unnecessary extra effort. My computer runs 24/7 in order to collect data from a weather station, so there is more than sufficient computing opportunties throughout the day to complete the spotlight indexing.
I have read up on the options of launchd and in particular noticed the SoftResourceLimits and HardResourceLimits controls. I was hoping to limit the resources of mds enough to reduce CPU use, but I couldn't see any obvious way to use those controls to accomplish this.
Does anyone have a clever suggestion on how to throttle down the mds daemon so that this annoyance with my MacBook Pro could be minimized?
Thanks in advance for any wisdom you'all might have,
Cheers, Edouard
MacBook Pro, Mac OS X (10.6.8)