Skip to main content

Original post by: Arjun Roychowdhury ,


Okay, here is an update:

a) Apple's support is very disappointing. It was escalated to a higher level and I worked directly with a person (contractor, but address) who helped me over one call, assigned a case id and then completely disappeared after that, despite my followups. Maybe he gave up, but this was rather unprofessional considering Apple's reputation.

b) Anyway, left to myself, I had a hunch that Safari was the problem child, because really most of what we do is browse. Naturally, my first instinct led me to keep clearing the caches - both Flash and otherwise. Instead of relying on my doing it manually, I created a LaunchDaemon that would run twice a day and remove everything. My system has since been *much* more stable. I have only rare beach balling issues, but again that may change. I've been observing this good behavior for the past 3-4 weeks.

Here is my script that runs twice a day: (make sure you do a chmod a+x bin/

[Arjun@~]$ cat bin/

rm -rf "/Users/Arjun/Library/Preferences/Macromedia/Flash Player/#SharedObjects/"

rm -fr "/Users/Arjun/Library/Caches/*"

rm -fr "/Users/Arjun/Library/Caches/*"

echo Flash and Safari cache last cleaned on `date` > /Users/Arjun/bin/cacheclean.log

Here is the LaunchDaemon plist:

[Arjun@~]$ cat /Library/LaunchDaemons/com.arjun.cacheclean.plist

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">

<plist version="1.0">