Erik’s Brain

The reward of a thing well done...

MDS Activity and Flash Player Debugger

I noticed that the mds process had been a little too active on my 2009 MacBook Pro running 10.7.1. mds would be idle for a second, then be at 20-70% of CPU for a few seconds, then back down, then spike again. Endlessly. Long story short: I noticed if I wasn’t watching a baseball game on MLB.tv, the activity was fine. I traced the issue to Flash Player, and in particular the Flash Player Logs folder (~/Library/Preferences/Macromedia/Flash Player/Logs). The flashlog.txt and policyfiles.txt files kept getting updated, triggering indexing, it seems. Excluding that folder, actually its parent folder, ~/Library/Preferences/Macromedia/Flash Player, from the Spotlight index seemed to keep things under control. This probably isn’t a problem for many people. I run the debug version of the Flash Player, which causes the flashlog.txt to update when playing SWF files. I don’t know what the deal is with policyfiles.txt, though. It’s a plain text file that’s over 130MB! Gotta investigate that…

Related: policyfiles.txt Out of Control

Comments