Results 1 to 2 of 2

Thread: TMP folder not cleaning up

  1. #1
    Join Date
    Oct 2007
    Beans
    59

    TMP folder not cleaning up

    After figuring out that this is happening on my brand new 10.04 install, I've suddenly realized it explained what was happening on the 9.10 install I'm replacing.

    I'm finding out on the internet that /tmp in Ubuntu is typically a Ramdisk, thus cleared automatically on reboot - but that's not how I was ever taught to setup a linux box; I *always* create /home var et al and mount them separately, including /tmp.

    So on my new 10.04 install I am informed my tmp partition is down to 12 Meg, and find K9Copy crashed last night (I initially thought this was due to a crash, but testing shows it just - leaves them there. Thanks K9Copy!) leaving a 4.5 Gig file sitting in tmp. I add a couple Gig to the tmp partition (LVM rocks btw.) and reboot. Files are still there.

    I finally went in via gksu nautilus and manually deleted the data.

    More research find this results in exactly the kind of issues I was having previously in my 9.10 install (albeit without the helpful warning that helped me figure it out) of Firefox and various other programs acting glitchy because they right to tmp and it's full.

    I'm a n00b, and really don't know how to fix this - the 'proper' way to clean tmp seems to involve dropping entirely out of X to userlevel 0 and running from the commandline?!?! . . /tmp is supposed to be for temporary files; ideally a program should clean up after itself, but it's actually Ubuntu's job to clean this.

    My going in and manually cleaning out files is insane if gksu nautilus is involved, nevermind if that's the *wrong* way. I'm certainly not the guy to write a cronjob to clean this. On the other hand - this only started in the last week or so (on 9.10) so it has to be a recent change.

    Thanks - Jonnan
    This has been a test of the Ubuntu Messaging System
    Had this been a real message, there would be real content.

  2. #2
    Join Date
    Jan 2007
    Location
    Connecticut
    Beans
    1,645
    Distro
    Ubuntu Development Release

    Re: TMP folder not cleaning up

    don't know if this will help, or if you have tried it already....but "bleachbit" is a fine tool for cleaning things up. it can be run as a regular user or as admin. and has many options to choose, including the cleaning of your tmp files.

    bleachbit is available in the repos using synaptic or the ubuntu software center.
    Last edited by fooman; May 29th, 2011 at 06:05 PM.
    MOTHERBOARD: GIGABYTE GA-990FXA-UD5, CPU: AMD FX-8150 Zambezi
    MEMORY: G.SKILL Ripjaws Z Series 32GB,
    VIDEO CARD: ASUS GTX480
    SSDs: Samsung 840 series 250Gb, Kingston HyperX 3K 120Gb, PNY XLR 120Gb
    OS: Ubuntu Release Candidate, openSuse, Win8.



Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •