SlackwareThis Forum is for the discussion of Slackware Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
My slackware-14.0_64 install caught an unexpected problem, The box is out of space, When I checked out in 17 Gb partition
/var: 6.6Gb had a 6.6Gb messages file, I oviously remove the file but still no luck, still out of space, weird ha
but when i checked
/proc it shows used space in Tb's How can it be and may be this is the problem.
I can't even start x-windows when login as a user, However as root I can start x-windows. but Thunar still shows 0 Free bytes.
/tmp can get full easily if it's not cleaned regularly. I usually empty the /tmp dir on shutdown or mount it in tmpfs.
yes I know my /tmp directory is not mounted on tmpfs so I did a rm -r /tmp/* and manually removed everything Intially I cleaned up 2.3 Gb of space and everything was fine it was an hour before the problem hit me, even Deleating Media files(500Mb and 750Mb)from my /home directory is not helping.
and what the matter with /proc directory
>>>df -h proc
shows Size 0, Used 0, Avail 0 Use% - Mounted on /proc
/proc is a virtual filesystem, it does not contain files with an actual size. So it looks fine as it is.
yeah I came to know that a min ago peeking slackbook, but If Im deleting some stuff system space should be freed, I can only think of 2 Reasons
a. Files are not actually being deleted may be piling up in some .trash like space but how can it be from Terminal
b. Something is eating up space dynamically but How can I find out ???
Yes, if you delete files using 'rm' from the command line they are permanently deleted.
You could see if the size of /var increases after deleting files from for example /home or /tmp. That may point to some spurious logging. Even though I doubt that you could fill up over 1GB (your deleted media files) so quickly.
Space is not freed until the file is closed by any processes that have it open.
First, identify what directory is using up the space. I use "du -Sxb /directory |sort -n"
Then go look in that directory and see which files are big. using ls -l
Then use fuser -v * to see which files are being used by something. If something shows up, stop that something before removing the file
(assuming you're ok with deleting it of course).
If this is just your own workstation rather than a server, then it's probably easier just to drop into single user mode to avoid the need to check whether things are in use or not.
I deleted /var/log/messages/files/messages by Gui and it went to /root/.local/share/Trash/files Directory, Just deleated It a moment back and system is back to normal.
You Guys were a Great help, THANK YOU.
One Last Question If I may,
In a day or two this messages file got this fat is it normal cause I had been only Building and Installing packages.