Android Cleaning tmp dir
#1
Hello,
looking into kodi tmp dir I have found:

Code:
-rw-rw-r-- media_rw media_rw   389352 2015-12-16 15:38 000e1c8f-0ccd-2293-21f669e6-0f897101.dmp
-rw-rw-r-- media_rw media_rw   403040 2016-01-02 12:41 029ba817-a5b5-ad5b-2a2e310e-75172d09.dmp
-rw-rw-r-- media_rw media_rw    23869 2016-02-16 17:00 10025-061c8564.fi
-rw-rw-r-- media_rw media_rw    19926 2016-02-16 17:01 10025-2c432b34.fi
-rw-rw-r-- media_rw media_rw     3045 2016-02-16 17:00 10025-7e3b7960.fi
-rw-rw-r-- media_rw media_rw    32036 2016-02-16 18:26 10025-972a4507.fi
-rw-rw-r-- media_rw media_rw   380912 2015-11-01 15:11 10ce3296-2aff-76a7-706ebb33-3a41b001.dmp
-rw-rw-r-- media_rw media_rw   358496 2015-10-04 22:52 178511bc-def6-7408-198a36b7-52276bfe.dmp
-rw-rw-r-- media_rw media_rw   378512 2015-12-26 01:07 19d3cc3d-2de3-fcf1-0808d7ec-35c3ad8f.dmp
-rw-rw-r-- media_rw media_rw   364152 2015-11-28 21:59 2f07df03-1031-6c27-4df5b5ea-353866b5.dmp
-rw-rw-r-- media_rw media_rw   326752 2015-12-02 06:05 324ceb34-470e-5640-2206d88f-6bc064f6.dmp
-rw-rw-r-- media_rw media_rw   358984 2015-12-19 02:54 343053d5-ecd2-8f7e-65ba78be-7df04630.dmp
-rw-rw-r-- media_rw media_rw   345992 2015-09-16 02:05 3f8ecf09-a6bf-1a9d-1b5e0228-6c48911b.dmp
-rw-rw-r-- media_rw media_rw   332320 2015-10-15 22:16 4b237787-9865-224b-37659b3e-63568379.dmp
-rw-rw-r-- media_rw media_rw   459288 2015-12-18 23:03 4cda5554-36ae-1d60-7283612f-47065116.dmp
-rw-rw-r-- media_rw media_rw   334944 2015-11-28 21:58 4f0ab694-9225-85d5-743285c9-12e9b5df.dmp
-rw-rw-r-- media_rw media_rw   358224 2015-11-08 21:59 54ad6679-c16f-978d-1050d458-44c32f8b.dmp
-rw-rw-r-- media_rw media_rw   349752 2016-01-08 05:09 581a8549-3336-6012-2ab43fc2-34c79ae4.dmp
-rw-rw-r-- media_rw media_rw   336216 2015-10-20 03:01 71bc0f1a-33fc-0b96-4813522d-75fc213c.dmp
-rw-rw-r-- media_rw media_rw   380744 2015-12-16 01:29 71d9b9d7-27ac-7a50-26ad2028-6962ca52.dmp
-rw-rw-r-- media_rw media_rw   324568 2015-11-14 00:45 7c5716d0-007a-513c-24b31ddb-1f6c2e52.dmp
-rw-rw-r-- media_rw media_rw     3070 2016-01-20 23:40 changelog.txt
-rw-rw-r-- media_rw media_rw  3735552 2016-02-16 01:05 commoncache.db
drwxrwxr-x media_rw media_rw          2015-09-14 14:00 cookies
-rw-rw-r-- media_rw media_rw     8680 2016-02-16 18:26 cookies.dat
-rw-rw-r-- media_rw media_rw 61792400 2015-10-17 01:04 filecache000.cache
-rw-rw-r-- media_rw media_rw  1541385 2015-11-08 21:59 filecache001.cache
-rw-rw-r-- media_rw media_rw  9731184 2015-11-08 22:12 filecache002.cache
-rw-rw-r-- media_rw media_rw 27524208 2015-11-11 01:26 filecache003.cache
-rw-rw-r-- media_rw media_rw 15962808 2015-11-27 22:12 filecache004.cache
-rw-rw-r-- media_rw media_rw        0 2015-11-28 21:59 filecache005.cache
drwxrwxr-x media_rw media_rw          2015-09-14 22:23 fonts
-rw-rw-r-- media_rw media_rw    98962 2016-02-16 18:30 kodi.log
-rw-rw-r-- media_rw media_rw 28498174 2016-02-16 16:54 kodi.old.log
drwxrwxr-x media_rw media_rw          2015-09-14 14:00 puzzles
drwxrwxr-x media_rw media_rw          2015-09-15 20:09 scrapers
drwxrwxr-x media_rw media_rw          2015-09-14 11:50 temp

Can I remove this stuff ? (Except the dirs, of course!)

What is the meaning to have a kodi.old.log?
Is a sort of log rotate?

Thanks
Reply
#2
I can only tell something about the kodi.log files. Don't know anything about the rest.

The kodi.log and the kodi.old.log are created at every start of kodi. The kodi.old.log is always the logfile from the previous run of kodi where kodi.log is logfile from the actual running kodi. kodi.old.log will always be overwritten with the actual log if you restart kodi again.

This is sometimes necessary if the system freezes completely and you aren't able to get the log directly. With this old.log file you are able to access the specific log later.

And to answer your question...yes, you can delete them (the kodi-logfiles I meant), but they will be created again Wink
Reply
#3
Thanks David,
it means that I don't have to worry about the waste of space: I start kodi twice and I am good to go! Wink

About the other file, it seems to me:

dmp: dump file. Created after a kodi crash! (Can be removed if you don't need to investigate about the crash)
cache: cache file. They shouldn't be there since that I have an android box with small storage! (maybe, I had a "zero cache" configuration, back in 2015?)
fi : cache as well, can be remove without any problem.
.
Reply

Logout Mark Read Team Forum Stats Members Help
Cleaning tmp dir0