![]() Registered Member ![]()
|
What are the consequences if I delete KDE cache files on /var/tmp/kdecache dir? Some of the files are large and I need some diskspace....
Regards, ethereal1m |
![]() Manager ![]()
|
Just deleted mine and everything is still working fine (after all it is a tmp directory). Some files/dir's have already been recreated and I'm sure others will be as needed. Fyi ~/.kde4/cache-xxxx links to it
Question is overtime how much space deleted here won't be recreated - and that I am unsure of Did you look at your /tmp and /tmp/log directories? In your distro are packages installed deleted after installation? |
![]() Manager ![]()
|
You can use kdirstat to see how the space on your partitions is used http://kdirstat.sourceforge.net/
|
![]() Registered Member ![]()
|
My log files are not that big. Regarding to whether my packages are deleted, I think they are but need to double check... thanks for reply |
![]() Administrator ![]()
|
There are no consequences to the deletion of these at all, so long as it is done outside of KDE. You risk applications crashing, etc. if it is done with KDE running.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
I deleted my user files and directories of /tmp/, and now new KDE apps won't start. I don't know why. I haven't tried rebooting to see if it just needs to recreate some init files in /tmp/?
|
![]() Manager ![]()
|
define "user files"?
if you read the previous post to your's you would know not to do this while KDE was running suggest you restart KDE |
![]() ![]()
|
It's generally safe to *delete* files - if they're currently in use, they'll be "secretely" kept until the last process releases them.
It is on the other hand *NOT* safe to override files with random junk (what bleachbit offers) - any process that has them open will unexpectidly read that junk and cache files are often binaries with fix structure assumptions (memory cache) Just deleting random temporary files can affect the system functionality - deleting /tmp/* will also delete /tmp/ksocket-`whoami` which holds sockets that processes use for communication. Rule of thumb: DO NOT DELETE SOCKETS= *ever* - unless you know what you're doing ![]() /tmp is nowadays usually on tmpfs, thus wiped on reboot. Required files are re-created on boot and session login. /var/tmp is usually persistent. It's supposed to be safe to delete /var/tmp/kdecache-`whoami` any time - the required caches will be regenerated. Biggest space "wasters" there will be plasma_theme_* files and only the theme currently in use is really required anyway. |
Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]