CSI Mac: How did that file get so big?

I don't know much about real-world forensics, except for what I see on television, but one thing I do know is that when you're faced with a troubleshooting mystery, you have a couple of choices: shrug your shoulders and fix the problem, or figure out what went wrong in the first place to try and prevent it from coming back again. While I don't always have the time or the smarts to suss out the root cause of every Mac issue, sometimes the issue is so curious and the cause so interesting that I feel compelled to investigate until I get to the bottom of it.
Recently, when one of my colleagues came in with a slightly-full hard drive, I went to my go-to disk space checker (the capable OmniDiskSweeper) to see where we could save a gigabyte or two. In addition to the usual suspects of iTunes podcasts long gone stale and legacy backups of Entourage databases, I came across the file you see above; it lives in ~/Library/Application Support/Chess. Why on earth would a support file for Chess.app be 1.5 gigabytes? That's crazy talk. I would love to delete it, but a file that large... might be useful or important.
Where did this bulky bucket of bits come from? Read on for the answer.
Since the .lrn sounded like it might be a "learning" file of previous chess games, I asked the user if he played chess on his Mac, and he said no. I searched for "standard.lrn large" and found no major clues, although I did learn that Apple apparently based Mac OS X's Chess.app on the freeware Sjeng engine. I decided to sleep on it... and the next morning, I had figured it out.
I remembered that on a previous machine, this user had experienced some odd issues that we suspected were hardware-related. In order to do a bit of a torture test on the processor, my IT colleagues and I decided to do overnight CPU exercises, by having Chess.app play itself for hours on end. Hence the massive .lrn file, which had carried over in the user folder through a machine migration. File deleted, mystery solved, apologies extended, user happy, and another case tucked away in the CSI: Mac archives.
Share
Source: http://sjeng.org/indexold.html
Categories
I don't know much about real-world forensics, except for what I see on television, but one thing I do know is that when you're faced with a...
Add a Comment
What a torture test - Chess!!
These macs are more advanced than I'd thought
Did it learn that the only winning move is not to play?
August 23 2008 at 2:47 AM Report abuse Permalink rate up rate down Replya great utility for determining where your hdd space is going is Whatsize. used to be freeware but i don't think it is any longer.
also shows just how much those printer drivers are taking up - just today i needed to clean up a designer's mac cos pshop needed more scratch disk space
An easier solution to peg the processor is to open up the terminal and just type "yes". This will use up all available cycles on all of the CPUs. It may not look like it's doing much, but it's doing it incredibly often and fast.
August 22 2008 at 3:08 PM Report abuse Permalink rate up rate down Reply@Alex: One who cannot sort out common homonyms shouldn't comment on anything being "dumbest".
August 22 2008 at 3:00 PM Report abuse Permalink rate up rate down Replyyou'd think he would look out for stuff like that or anything else that might make him appear "retarded"
ah, yes, the goons never fail to make me shake my head...
The way it reads to me is that the author and the IT department were responsible for creating this huge file in the first place, and were too clueless to realize what they'd done.
Congrats on fixing something which you broke yourselves, guys!
I would never let you "detectives" near one of my Macs, that's for sure.
That file named losers.lrn should have your name in it. Ditto on suicide.lrn.
August 22 2008 at 2:46 PM Report abuse Permalink rate up rate down ReplyThis is one of the dumbest posts I've seen yet on this site. What the hell was the point of this post?
It was your fault he had a file that large so why was it a mystery? This was so fucking retarded I actually had to comment on it. And the file was only 1.5 gigs. Big whoop. The whole post is utterly retarded. You should read over your post, like I did my comment hear, and see how completely pointless it is.
Well, I thought it was interesting, dickhead.
August 22 2008 at 2:54 PM Report abuse Permalink rate up rate down ReplyI think your comment was infinitely more "retarded" than this post.
August 22 2008 at 3:33 PM Report abuse Permalink rate up rate down ReplyCrap! Someone beat me to it. I was going to ask if after playing itself all night the computer had come to the conclusion that the only way to win was not to play.
Darn you, people!! :)
i uninstalled Chess like the first day i got my macbook pro. totally useless app for me.
August 22 2008 at 2:04 PM Report abuse Permalink rate up rate down ReplyHow do you remove Chess app.?
August 22 2008 at 8:39 PM Report abuse Permalink rate up rate down ReplyHot Apps on TUAW
Deals of the Day
more deals- Altec Lansing Octiv Duo iDock for $48 + free shipping
- Used Apple iMac 17" Core 2 Duo 1.83GHz for $430 + $28 s&h
- Lounge Deluxe Stand for iPhone / iPod touch for $28 + $8 s&h
- Brookstone Surround-Sound Earbuds for $14 + $7 s&h
- Refurbished Skullcandy Tokidoki Smokin' Buds Mic'd Headset for $5 + $2 s&h
- Stitchway Backup Battery for iPod / iPhone for $5 + free shipping
Software Updates
more updates- EFI Firmware Update brings Lion Internet Recovery to 2010-model Macs
- OS X Lion 10.7.3 released with Safari 5.1.3, Wi-Fi bug fix
- Aperture updated to 3.2.2, addresses Photo Stream issue
- Apple updates Keynote to address Lion issues
- Google Search app gets new look on iPad
- Apple releases Apple TV Software Update 4.4.3



35 Comments