What eats my drive ? (Hoping - Solved)

You have a problem with Salix? Post here and we'll do what we can to help.
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: What eats my drive ?

Post by Shador »

Maybe you should have a look at your mount output first, which contains:

Code: Select all

proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /dev/shm type tmpfs (rw
As /proc is it's own mountpoint you can't count any file that belongs to it as storage used on /. Like if /home is its own partition it doesn't count for / either. /proc is a virtual memory fielsystem like sysfs and tmpfs. Therefor they don't use any persistent storage at all. They don't necessarily use memory either because there are files e.g. to access the whole memory and if that file would be stored in memory where would be your memory. :o :mrgreen:
Image
peter
Posts: 20
Joined: 10. Jul 2012, 19:22
Contact:

Re: What eats my drive ?

Post by peter »

I must add more info.This is third times when "something" eats HDD capacity.
First time - it went near to zero and automatically freeed up.
Second time - it went hardly to zero ( I didn't delete nothing - for discovering what will be happened ) and hanged.Then freeed a few megs of space from another linux and after restart it again automatically freeed up.
So if it is not in Salix then problem could to be in XFCE.
Now I 'll wait to zero HDD space and reinstall to version 13.37 XFCE. After we will see...

Pete

HDD space at shutdown
Image

HDD space immediately after start
Image
Last edited by peter on 17. Jul 2012, 18:14, edited 2 times in total.
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: What eats my drive ?

Post by thenktor »

Use "du -sh" to check the size of these folders:
~/.mozilla
/tmp
/var/log
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
peter
Posts: 20
Joined: 10. Jul 2012, 19:22
Contact:

Re: What eats my drive ?

Post by peter »

Thx, checked with du -sh.Low HDD space only founded.
But founded problem with .gvfs folder; no access into, even as root !! Some googling then, founded, not happy.

Pete
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: What eats my drive ?

Post by Shador »

.gvfs is only accessible as the owner as by default with ssfs for example too.
Image
peter
Posts: 20
Joined: 10. Jul 2012, 19:22
Contact:

Re: What eats my drive ?

Post by peter »

In proc folder founded a lot of numbered subfolders with similar contents, what is this ? and howto stop its creation ?

Pete
Image

and similar contents is
http://Image
Last edited by peter on 18. Jul 2012, 22:20, edited 1 time in total.
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: What eats my drive ?

Post by gapan »

peter wrote:In proc folder founded a lot of numbered subfolders with similar contents, what is this ?
You were given the answer to this question earlier in this page.
peter wrote:and howto stop its creation ?
You turn your PC off.
Image
Image
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: What eats my drive ?

Post by Shador »

Come on, do you listen!?!?!!!!11
Shador wrote:/proc is a virtual memory fielsystem like sysfs and tmpfs.
/proc and /sysfs (and /dev) both contain virtual files that are used for userspace <-> kernelspace communication. There is no way to prevent those files from being created without making your system unusable!!!! On UNIX the whole kernel-/userspace interface is designed around files. They don't use any persistent storage anyway and as they usually map data that's already in memory they need almost as much as no memory.

The numbered files you specifically mentioned are created for each process on the system the folder name being the PID and the content exposing the information accessible to userspace about those processes.

You could for example do this to get the running processes:

Code: Select all

cat /proc/[0-9]*/stat | grep ' R ' | cut -f 1-3 -d ' '
Anyway, those files are how Unix/Linux work. If you don't understand it, don't mess with it and stop being so paranoid. It's useless. Why? Because you don't understand the internals of your computer or operating system, read nothing up and therefore are paranoid in completely wrong places ... so useless paranoia!
gapan wrote:
peter wrote:and howto stop its creation ?
You turn your PC off.
Lovely. 8-)

Seriously, you could try this:

Code: Select all

kill -9 $(ps -eo pid | grep -v PID | sort -r)
Now, are they gone? :P :twisted:
Image
peter
Posts: 20
Joined: 10. Jul 2012, 19:22
Contact:

Re: What eats my drive ?

Post by peter »

Thx, guys !
Seriously, you could try this:
Code: Select all
kill -9 $(ps -eo pid | grep -v PID | sort -r)
Done, so after tomorrow's restart we will see.

For running processes my preferred way is using of commands htop + kill

Pete

Note - just trying Ubuntu 12.04 LXDE Live.
Booting Ok, working Ok, speedy quite enough.
Seems LXDE needs less system sources than XFCE.
peter
Posts: 20
Joined: 10. Jul 2012, 19:22
Contact:

Re: What eats my drive ?

Post by peter »

1/ Sorry, no changes with it after restart.

2/ Just now I did last thing, if you guys tell me it's ok all, thinking it must be some system process logging somewhere somewhat; so watched list of system services, syslog+messagebus no liking to me >> switched off >> jump to login screen+hanged >> reboot

And voala, now I have 1,5Giga HDD free ! (Hope that problem solved)

Pete

EDIT by thenktor: removed screenshot
Post Reply