Having general issue here.
This morning Chromium wouldn’t launch / Yast would not update etc.
tried to restart and got the error /tmp is out of disc space; ran du -sh /tmp/* to have a look…posted below…
Nothing out of place there from what I can see.
But I did note my ‘/’ partition on a separate drive from everything else is showing 1gb remaining from 20gb partition (it is on a 160gb ssd); is the issue here and where do I start troubleshooting??
What openSUSE version and what / filesystem? (I suppose /tmp is not a separate partition, or is it?)
If it’s btrfs (default on 13.2 and Tumbleweed), snapshots might take up the space, and they won’t be recognized by “df” e.g.
In this case, try to delete some, either via “sudo yast snapper”, or if that doesn’t start either, “sudo snapper delete snapshot-number”.
“snapper list device” should show you all existing snapshots.
If you can not boot, use either systemRescueCD, or the boot disk, install disk, to get to a command level. Using your listing, or create an ls -al /tmp from the command line, check the dates and you will probably see many of the files are from days to weeks old, Delete them; that is the start. Remember, tmp stands for temporary, and those files mean some programs are not cleaning up after themselves or are being lazy because they think/know you will be using them again. . Also, some are multi-depth directories, get rid of them. If a simple **rm -ivR **does not do it, use sudo <rm -ivR>.
Then try rebooting, still problem, repeat… Also, check /var/tmp; same story.
Hi, I think you can use 2 options to clean tmp folder:
go to /, tmp folder and delete manually all the files inside the tmp folder.
you can use bleachbit to do it automatically for you, in the bleachbit main window go to edit, preferences and in the custom tab click on the add folder button, look for the tmp folder an add it, then make sure you put a check mark on every option that says temporary files on the main window and that’s it, everytime you click on the clean button bleachbit will clean the tmp folder for you.
Thanks for the responses. I have deleted /tmp files and /var/tmp files and I’m still getting the same issue.
Also on restart I am getting 2 new messages - Knotifier has stopped and when I close the bug report window I get a sql-lite error message (Plex??)
Sorry left of some info in my first post…
Running 13.2 64bit; KDE desktop; not using BTRFS so snapper not an issue.
On 2015-05-26 12:26, nigsy wrote:
>
> Hi guys;
>
> Thanks for the responses. I have deleted /tmp files and /var/tmp files
> and I’m still getting the same issue.
Your issue is not that /tmp is full, but that the root partition is full
(which of course means that attempts to write on /tmp fail, thus the
message).
I am not running BTRFS file system so the issue is not with Snapper; something has filled up the 20gb allocated to root. I need to know how to troubleshoot that.
I did try the snapper -c root list command but no results as there are no snapshots.
> I am not running BTRFS file system so the issue is not with Snapper;
> something has filled up the 20gb allocated to root. I need to know how
> to troubleshoot that.
Ah, Ok. Then run
du -chsx --exclude=/home --exclude=/dev /*
You can login as root in text mode to do it. It will tell you the sizes
of directories, and find where the space is lost.
linux-by2t:/home/nigsy # du -chsx --exclude=/home --exclude=/dev /*
4.8M /bin
60M /boot
22M /etc
451M /lib
18M /lib64
16K /lost+found
4.0K /mnt
66M /opt
du: cannot access ‘/proc/22618/task/22618/fd/4’: No such file or directory
du: cannot access ‘/proc/22618/task/22618/fdinfo/4’: No such file or directory
du: cannot access ‘/proc/22618/fd/4’: No such file or directory
du: cannot access ‘/proc/22618/fdinfo/4’: No such file or directory
0 /proc
648K /root
du: cannot access ‘/run/user/1000/gvfs’: Permission denied
2.1M /run
11M /sbin
4.0K /selinux
1.4M /srv
0 /sys
436K /tmp
6.9G /usr
11G /var
19G total
Even with my limited knowledge /var & /usr look high…how do I get into the detail?
Well, /usr looks quite normal to me, as all software/packages are installed to /usr.
But /var is quite high indeed.
You can get details by running “df -h /var” e.g.
Good candidates I suppose are /var/cache/zypp and /var/cache/zypper (might contain downloaded packages/updates that you installed, you can just unconditionally delete those two as they are only caches), or /var/log/ (logfiles, you probably wouldn’t want to delete them completely, but it shouldn’t harm your system).
Ok…I’ve done some digging. It seems that Plex Media Server is doing the damage with one directory (localhost) coming in at 8.5gb
nigsy@linux-by2t:/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Media/localhost> du -sh * 2>/dev/null
667M 0
519M 1
321M 2
665M 3
623M 4
507M 5
323M 6
442M 7
663M 8
784M 9
389M a
548M b
492M c
465M d
584M e
691M f
nigsy@linux-by2t:/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Media/localhost>
Well, that is a few GB.
I do not know why that software puts that there. And I do not know if you need it.
I do not know the software, but you could check it’s documentation to see if it can store things elsewhere (e.g. in a directory in /home). Or you could create /home/plexmediaserver (with the same owner user:group and permissions as /var/lib/plexmediaserver), copy all from /var/lib/plexmediaserver to it (take care to preserve ownership and permissions), remove /var/lib/plexmediaserver and create a symlink
On 2015-05-27 17:16, hcvv wrote:
>
> Well, that is a few GB.
> I do not know why that software puts that there. And I do not know if
> you need it.
I have seen it before. Long ago. Causing the same problem, full disk.
The location is correct, it is some type of database after all (consider
/var/lib/mysql/, for instance)
+++—-—-—-—-—-—-—-—-
Plex organizes video, music and photos from personal media libraries and
streams them to smart TVs, streaming boxes and mobile devices. It is a
media player system and software suite consisting of many player
applications for 10-foot user interfaces and an associated media server
that organizes personal media stored on local devices. It is available
for Windows, Linux, OS X and FreeBSD.[1] Integrated Plex Channels
provide users with access to a growing number of online content
providers such as YouTube, Vimeo, TEDTalks, and CNN among others. Plex
also provides integration for cloud services[2] including Dropbox, Box,
Google Drive, Copy and Bitcasa.[3]
—-—-—-—-—-—-—-—-+±
> permissions), remove /var/lib/plexmediaserver and create a symlink
Yep. Or give it its own partition.
–
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)