Bug 190209 - /var/tmp/kdecache-USER/kpc grows to enormous size (+150MB for each plasma theme tried)
Summary: /var/tmp/kdecache-USER/kpc grows to enormous size (+150MB for each plasma the...
Status: RESOLVED NOT A BUG
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Mandriva RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-20 22:05 UTC by aapgorilla
Modified: 2010-02-11 09:47 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description aapgorilla 2009-04-20 22:05:26 UTC
Version:            (using KDE 4.2.2)
OS:                Linux
Installed from:    Mandriva RPMs

/var/tmp/kdecache-USER/kpc grows to enormous size, +150MB for each plasma theme tried filled with files called:
plasma_theme_NAME.index (>32MB)
plasma_theme_NAME.data  (>150MB)

this could potentially cause problems because the root partition could quickly fill up, especially on netbooks with SSD drives
Comment 1 Pino Toscano 2009-04-20 23:15:30 UTC
Suggested reading on the topic:
http://en.wikipedia.org/wiki/Sparse_file
Comment 2 Franz Trischberger 2010-02-11 09:47:55 UTC
This definitely caused a completely fragmented root-partition here!
I gave an account to each of my family-members and friends. I gave / 30GB, which was more then enough in former installations, /tmp has a seperate partition. My installation has a size of 10 GB, which leafes 20GB empty for most of the time. Now people played with plasma and the themes - which left only less then 1-2GB in the end. Making several updates, uninstalls and new installs until no space was left anymore!
On boot i now get told that my disk is 35% uncontigous - and now i know the reason why my apps kept starting slower and slower. These 150MB for each plasmatheme for each user have eaten the whole space!

PLEASE consider to get some securing queries into your code, which prevent root to run full.
e.g. deleting oldest files on logout or a prompt when trying new themes and diskspace is lower then say 5GB, that the user should delete files in /var/tmp/kdecache-USER/mpc, or anything.
But don't fill my disk till the bitter end...