[Bug 971851] New: Temporary directory (tmp) grows way too large
http://bugzilla.opensuse.org/show_bug.cgi?id=971851 Bug ID: 971851 Summary: Temporary directory (tmp) grows way too large Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: i686 OS: SUSE Other Status: NEW Severity: Major Priority: P5 - None Component: Basesystem Assignee: bnc-team-screening@forge.provo.novell.com Reporter: dfaust@mailbox.org QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0 Build Identifier: My tmp directory has filled up my entire root partition. It turns out that it's full of dolphin.xxxxxx directories and other old stuff. Some of the dolphin directories contain a lot of akonadi files (up to 3.1 GiB). daniel@linux-desktop:~> ll /tmp/dolphin.T22628/ insgesamt 40 -rw-r--r-- 1 daniel users 233 6. Feb 12:01 akonadiserver.error -rw-r--r-- 1 daniel users 233 6. Feb 11:38 akonadiserver.error.old drwxr-xr-x 1 daniel users 350 6. Feb 12:01 db_data drwxr-xr-x 1 daniel users 0 8. Jan 2013 db_misc drwxr-xr-x 1 daniel users 323052 4. Feb 14:12 file_db_data -rw-r--r-- 1 daniel users 3385 5. Feb 13:39 mysql.conf lrwxrwxrwx 1 daniel users 26 16. Feb 14:40 socket-linux-9924 -> /tmp/akonadi-daniel.xDsRjI lrwxrwxrwx 1 daniel users 26 16. Feb 14:40 socket-linux-9924.site -> /tmp/akonadi-daniel.F7NpNp lrwxrwxrwx 1 daniel users 26 16. Feb 14:40 socket-linux-desktop -> /tmp/akonadi-daniel.pTiNz8 lrwxrwxrwx 1 daniel users 26 16. Feb 14:40 socket-linux-rav4 -> /tmp/akonadi-daniel.tr6Jz2 lrwxrwxrwx 1 daniel users 26 16. Feb 14:40 socket-local -> /tmp/akonadi-daniel.Wf1Rca lrwxrwxrwx 1 daniel users 26 16. Feb 14:40 socket-local.site -> /tmp/akonadi-daniel.RhEj7Y lrwxrwxrwx 1 daniel users 26 16. Feb 14:40 socket-station.site -> /tmp/akonadi-daniel.7BJ95A daniel@linux-desktop:~> du -h /tmp/dolphin.T22628/ 205M /tmp/dolphin.T22628/db_data/akonadi 0 /tmp/dolphin.T22628/db_data/test 1,7M /tmp/dolphin.T22628/db_data/mysql 632K /tmp/dolphin.T22628/db_data/performance_schema 365M /tmp/dolphin.T22628/db_data 0 /tmp/dolphin.T22628/db_misc 2,8G /tmp/dolphin.T22628/file_db_data 3,1G /tmp/dolphin.T22628/ A screen shot of filelight for good measure: http://paste.opensuse.org/52297931 Reproducible: Didn't try Actual Results: Root partition is filled up until all kinds of things (like software updates) fail. Expected Results: Temporary files should be deleted when they are not needed anymore. Plus these enormous akonadi files look pretty unnecessary in the first place. There used to be an option in yast's /etc/sysconfig editor to edit the cleanup time of temporary files (System / Cron / MAX_DAYS_IN_TMP) but I couldn't find it. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=971851
http://bugzilla.opensuse.org/show_bug.cgi?id=971851#c1
Bernhard Wiedemann
http://bugzilla.opensuse.org/show_bug.cgi?id=971851
http://bugzilla.opensuse.org/show_bug.cgi?id=971851#c2
--- Comment #2 from Daniel Faust
http://bugzilla.opensuse.org/show_bug.cgi?id=971851
http://bugzilla.opensuse.org/show_bug.cgi?id=971851#c3
--- Comment #3 from Bernhard Wiedemann
That is true, and yes, I know it's bad practice to mix multiple bugs into one bug report, but I filed it under "Basesystem" because I think there should be a safeguard for misbehaving applications. I read a bit more about it (not too much though) and it seems that systemd does that sort of thing these days. But it seems to be disabled in tumbleweed.
some background info on that: yes, systemd could cleanup /tmp, but yes, it is disabled by default in openSUSE because people did not expect it to be on and lost some files so it is now left to the sysadmin to enable it, so that he really knows it is on. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=971851
http://bugzilla.opensuse.org/show_bug.cgi?id=971851#c4
--- Comment #4 from Daniel Faust
http://bugzilla.opensuse.org/show_bug.cgi?id=971851
http://bugzilla.opensuse.org/show_bug.cgi?id=971851#c5
Wolfgang Bauer
http://bugzilla.opensuse.org/show_bug.cgi?id=971851
http://bugzilla.opensuse.org/show_bug.cgi?id=971851#c6
Daniel Faust
http://bugzilla.opensuse.org/show_bug.cgi?id=971851
http://bugzilla.opensuse.org/show_bug.cgi?id=971851#c7
Wolfgang Bauer
participants (1)
-
bugzilla_noreply@novell.com