First of all, happy birthday to myself!
I got a big birthday present today at 0:00 am of my birthday.
What is it? It's a file that is trying to eat all of the remaining storage space on my iPhone!
I found out that it doesn't really matter how much you have left, it will eat them all.
I freak out at the moment when I saw the message on iTunes: "You need an additional 1kb to synch. your iPhone."
[caption id="attachment_160" align="alignnone" width="610" caption="Notice the "Other""][/caption]
The first thing I did was try rebooting the phone, it does solve the problem, but not inherently since it will start eating again.
So what is it that is eating my iPhone?!
A simple unix command came handy here: "find -size +1000000k" while logged in as mobile on mobile terminal or SSH through putty.
"./Library/RYP/logs/rockapp_2010-03-17.log" size: 5988MB.
What a huge monster!
Hopefully deleting or making an empty file with all permission 444 will help.
[caption id="attachment_161" align="alignnone" width="634" caption="A peek via WinSCP"][/caption]
Update 1: Something weird happened, it still reports to me that disk is full after awhile, so now I'm worried that there's something similar to memory leakage or virus going on in my iPhone OS. find commend did not work this time. I tried to remove the log folder.
Update 2: After removing the file, somehow the Media content gets screwed over. At this moment, if you try sync with iTunes, it will/might report not able to read contents and ask you to restore. After doing some research, this issue is fairly easy to solve as well: simply recursively remove the Media folder using: "rm -r /var/mobile/Media" this will make iTunes able to restore your iphone to a backup you've made before. It might take awhile. Also, reboot is required at the end. It works at the end.