SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2012-08-23 23:45:22

MarioMaster100
#! Junkie
Registered: 2011-04-02
Posts: 261

/home usage mysteriously shooting up? (solved)

I was looking on the desktop and checking my /home usage on conky and to my surprise the /home had shot up 4gb recently for no particular reason. I didn't download any files recently that would even total up that large. My /home and / partitions are separate from each other. The last things I installed were python3 and cmatrix and I'm pretty sure those if any would mostly affect the / usage and both of those were small installs so that can't be it. Is there some way to check what happened without reinstalling? Oh one last thing, I'm running the 1st waldorf image btw.

Last edited by MarioMaster100 (2012-08-24 23:52:00)


Thank you everyone for being helpful and answering my questions.
Machinae Supremacy fan for life \m/_(^_^)_\m/

Offline

Help fund CrunchBang, donate to the project!

#2 2012-08-23 23:57:54

TitanMech
Banned
From: Blue Zone 3
Registered: 2011-08-28
Posts: 930

Re: /home usage mysteriously shooting up? (solved)

The extra 4GB mite be the trash folder for your user account, the folder is located in /home/user/.local/share/Trash
And then in thunar check its properties for the size.

Alternativley you could install baobab and see the size of all folders of the destination of choice.

Last edited by TitanMech (2012-08-23 23:58:21)

Offline

#3 2012-08-23 23:58:15

lowrider
#! Die Hard
From: Germany
Registered: 2011-09-10
Posts: 749

Re: /home usage mysteriously shooting up? (solved)

du -m ~/ >whatsup
geany ~/whatsup


came for the distro, stayed for the community
streamripper :: smxi

Offline

#4 2012-08-24 00:07:46

MarioMaster100
#! Junkie
Registered: 2011-04-02
Posts: 261

Re: /home usage mysteriously shooting up? (solved)

TitanMech wrote:

The extra 4GB mite be the trash folder for your user account, the folder is located in /home/user/.local/share/Trash
And then in thunar check its properties for the size.

Alternativley you could install baobab and see the size of all folders of the destination of choice.

Well the trash folder size is 5.2 MB according to thunar.

lowrider wrote:

du -m ~/ >whatsup
geany ~/whatsup

Lol that won't really do anything will it?

Last edited by MarioMaster100 (2012-08-24 00:09:05)


Thank you everyone for being helpful and answering my questions.
Machinae Supremacy fan for life \m/_(^_^)_\m/

Offline

#5 2012-08-24 00:09:14

TitanMech
Banned
From: Blue Zone 3
Registered: 2011-08-28
Posts: 930

Re: /home usage mysteriously shooting up? (solved)

ok, well you can try lowriders option, its pretty good but the ouput for me was enormous, or you could install baobab which is a graphical program, its your choice.

Lol that won't really do anything will it?

Its a perfectly valid suggestion. You should try it and then scroll through the output so you understand what it just did.

Last edited by TitanMech (2012-08-24 00:14:08)

Offline

#6 2012-08-24 00:17:58

lowrider
#! Die Hard
From: Germany
Registered: 2011-09-10
Posts: 749

Re: /home usage mysteriously shooting up? (solved)

well youngman
the command du -m ~/ >whatsup checks the (d)isk (u)sage for you and pipes the output via > in a file named whatsup.
this file can be opened with your editor of choice (geany in my example) and you can look for yourself what eats your diskspace...
have trust in the commandline

Last edited by lowrider (2012-08-24 00:18:39)


came for the distro, stayed for the community
streamripper :: smxi

Offline

#7 2012-08-24 00:20:53

MarioMaster100
#! Junkie
Registered: 2011-04-02
Posts: 261

Re: /home usage mysteriously shooting up? (solved)

TitanMech wrote:

ok, well you can try lowriders option, its pretty good but the ouput for me was enormous, or you could install baobab which is a graphical program, its your choice.

Lol that won't really do anything will it?

Its a perfectly valid suggestion. You should try it and then scroll through the output so you understand what it just did.

Alright that says 5.9mb is the trash folder.


Thank you everyone for being helpful and answering my questions.
Machinae Supremacy fan for life \m/_(^_^)_\m/

Offline

#8 2012-08-24 00:23:15

TitanMech
Banned
From: Blue Zone 3
Registered: 2011-08-28
Posts: 930

Re: /home usage mysteriously shooting up? (solved)

Alright that says 5.9mb is the trash folder.

And what about the other folders in /home?

I think you mis-understood, i was just giving an example of a folder usually hidden from the user that can sometimes take up a lot of space if the trash isnt emptied often, i was kinda hoping you'd figure out to check the other folders to.

Last edited by TitanMech (2012-08-24 00:25:02)

Offline

#9 2012-08-24 00:28:20

MarioMaster100
#! Junkie
Registered: 2011-04-02
Posts: 261

Re: /home usage mysteriously shooting up? (solved)

TitanMech wrote:

Alright that says 5.9mb is the trash folder.

And what about the other folders in /home?

I think you mis-understood, i was just giving an example of a folder usually hidden from the user that can sometimes take up a lot of space if the trash isnt emptied often, i was kinda hoping you'd figure out to check the other folders to.

The .cache, .wine, .mozilla, .config, and documents are the largest sizes on /home, all of the aforementioned are a couple 100mb's large but not totalling gb individually.


Thank you everyone for being helpful and answering my questions.
Machinae Supremacy fan for life \m/_(^_^)_\m/

Offline

#10 2012-08-24 01:26:35

TitanMech
Banned
From: Blue Zone 3
Registered: 2011-08-28
Posts: 930

Re: /home usage mysteriously shooting up? (solved)

If you tried lowriders command in /home take time to look over every item, there mite be a file thats quite large, such as an incomplete download.

If its a temp folder or something try rebooting to see if the file system returns to how it was.

Offline

#11 2012-08-24 02:36:22

MarioMaster100
#! Junkie
Registered: 2011-04-02
Posts: 261

Re: /home usage mysteriously shooting up? (solved)

lowrider wrote:

well youngman

Lol, how'd you guess big_smile

lowrider wrote:

the command du -m ~/ >whatsup checks the (d)isk (u)sage for you and pipes the output via > in a file named whatsup.
this file can be opened with your editor of choice (geany in my example) and you can look for yourself what eats your diskspace...
have trust in the commandline

Sorry didn't mean to doubt your command-fu skills just threw me off with the whatsup bit big_smile. Rather nifty command, works quite quickly, I'm still checking the file.

Edit: biggest section according to numbers was the documents part, which I knew it should be, but still no idea what the heck is taking up such a large chunk in there recently.

Last edited by MarioMaster100 (2012-08-24 02:41:52)


Thank you everyone for being helpful and answering my questions.
Machinae Supremacy fan for life \m/_(^_^)_\m/

Offline

#12 2012-08-24 07:25:38

Awebb
The Singularity
Registered: 2009-07-23
Posts: 2,812

Re: /home usage mysteriously shooting up? (solved)

Stop scripting and use ncdu.


I'm so meta, even this acronym

Offline

#13 2012-08-24 07:30:33

SabreWolfy
#! Die Hard
Registered: 2009-03-09
Posts: 1,285

Re: /home usage mysteriously shooting up? (solved)

^ Or "baobab" for a graphical view of disk usage.


Support #!Waldorf • Debian sid • Xubuntu • siduction • Peppermint • OpenBox • Xfce • LXDE •

Offline

#14 2012-08-24 08:03:36

szymon
New Member
Registered: 2012-08-21
Posts: 5

Re: /home usage mysteriously shooting up? (solved)

Or perhaps you deleted something big as root and it went to /home/.Trash-0 ?

Offline

#15 2012-08-24 14:07:20

MarioMaster100
#! Junkie
Registered: 2011-04-02
Posts: 261

Re: /home usage mysteriously shooting up? (solved)

szymon wrote:

Or perhaps you deleted something big as root and it went to /home/.Trash-0 ?

Hmm good idea to check.

Edit: There's 278.2mb chilling in there, how do I delete that, it refuses to delete even with a sudo rm and a sudo'd thunar?

Last edited by MarioMaster100 (2012-08-24 14:11:09)


Thank you everyone for being helpful and answering my questions.
Machinae Supremacy fan for life \m/_(^_^)_\m/

Offline

#16 2012-08-24 16:40:09

szymon
New Member
Registered: 2012-08-21
Posts: 5

Re: /home usage mysteriously shooting up? (solved)

cd /home
sudo rm -r .Trash-0

worked for me, as well as shift+delete in a root thunar

Offline

#17 2012-08-24 20:36:30

Ragnarok
#! Member
Registered: 2011-11-29
Posts: 69

Re: /home usage mysteriously shooting up? (solved)

Bleachbit is a pretty cool guy, eh?
Automagically cleans your trash and other temp files as long as you select them and doesn't afraid of anything.

*cough* select what you want cleaned and then select analyze *cough**
*cough* you can run it as root, too *cough**

find $HOME -size +204800k

^ Looks for anything larger than 200MB in your home folder and prints a list of those files.

* Actual coughs while I was writing this.

Last edited by Ragnarok (2012-08-24 21:16:23)

Offline

#18 2012-08-24 20:49:01

MarioMaster100
#! Junkie
Registered: 2011-04-02
Posts: 261

Re: /home usage mysteriously shooting up? (solved)

szymon wrote:
cd /home
sudo rm -r .Trash-0

worked for me, as well as shift+delete in a root thunar

Yeah the rm one worked, I was trying to just delete files in the .Trash folder, but deleting the whole folder works too, and I also cleared the other bin that was sort of hidden.

Edit: still didn't really clear up enough though.

Last edited by MarioMaster100 (2012-08-24 20:50:46)


Thank you everyone for being helpful and answering my questions.
Machinae Supremacy fan for life \m/_(^_^)_\m/

Offline

#19 2012-08-24 21:00:33

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 13,970

Re: /home usage mysteriously shooting up? (solved)

Bleachbit maybe?

Offline

#20 2012-08-24 21:01:59

Ragnarok
#! Member
Registered: 2011-11-29
Posts: 69

Re: /home usage mysteriously shooting up? (solved)

Are you certain you're really missing 4GB?
What's the output of

df -h

for your /home partition?

e.g:

Filesystem                                              Size  Used Avail Use% Mounted on
rootfs                                                  6.0G  4.1G  1.6G  72% /
/dev/sda6                                                40G  1.3G   37G   4% /home

Edit: I somehow failed very hard at spelling partition.

Last edited by Ragnarok (2012-08-24 21:15:36)

Offline

#21 2012-08-24 21:25:55

MarioMaster100
#! Junkie
Registered: 2011-04-02
Posts: 261

Re: /home usage mysteriously shooting up? (solved)

Ragnarok wrote:

Are you certain you're really missing 4GB?
What's the output of

df -h

for your /home partition?

e.g:

Filesystem                                              Size  Used Avail Use% Mounted on
rootfs                                                  6.0G  4.1G  1.6G  72% /
/dev/sda6                                                40G  1.3G   37G   4% /home

Edit: I somehow failed very hard at spelling partition.

df -h
Filesystem                                              Size  Used Avail Use% Mounted on
rootfs                                                   20G  4.8G   14G  26% /
udev                                                     10M     0   10M   0% /dev
tmpfs                                                   590M  640K  589M   1% /run
/dev/disk/by-uuid/f3212a5f-35fc-4701-800c-ba5685b0519f   20G  4.8G   14G  26% /
tmpfs                                                   5.0M     0  5.0M   0% /run/lock
tmpfs                                                   1.2G   12K  1.2G   1% /tmp
tmpfs                                                   1.2G  632K  1.2G   1% /run/shm
/dev/sda3                                                12G  9.1G  2.2G  81% /home
/dev/sda2                                               377G  256G  122G  68% /mnt/windows

Yep it still looks 4gb bitter than it was, used to be 5-ish gb hmm And sure I'll try bleachbit.


Thank you everyone for being helpful and answering my questions.
Machinae Supremacy fan for life \m/_(^_^)_\m/

Offline

#22 2012-08-24 21:35:09

pidsley
Window Mangler
Registered: 2012-05-23
Posts: 1,752

Re: /home usage mysteriously shooting up? (solved)

Awebb wrote:

Stop scripting and use ncdu.

I have to go with Awebb on this one. Try ncdu. You'll get a nice list, with the worst offenders at the top. You can scroll through the list, open directories and see what's in them, delete files or directories right from the UI, all kinds of good stuff.

Last edited by pidsley (2012-08-24 21:38:16)

Offline

#23 2012-08-24 21:57:16

MarioMaster100
#! Junkie
Registered: 2011-04-02
Posts: 261

Re: /home usage mysteriously shooting up? (solved)

pidsley wrote:
Awebb wrote:

Stop scripting and use ncdu.

I have to go with Awebb on this one. Try ncdu. You'll get a nice list, with the worst offenders at the top. You can scroll through the list, open directories and see what's in them, delete files or directories right from the UI, all kinds of good stuff.

Wow that is awesome, and the biggest and prime suspect that's 4.5gb is .xsession-errors in my /home/user section. Is that alright to delete?


Thank you everyone for being helpful and answering my questions.
Machinae Supremacy fan for life \m/_(^_^)_\m/

Offline

#24 2012-08-24 22:04:11

Ragnarok
#! Member
Registered: 2011-11-29
Posts: 69

Re: /home usage mysteriously shooting up? (solved)

MarioMaster100 wrote:
pidsley wrote:
Awebb wrote:

Stop scripting and use ncdu.

I have to go with Awebb on this one. Try ncdu. You'll get a nice list, with the worst offenders at the top. You can scroll through the list, open directories and see what's in them, delete files or directories right from the UI, all kinds of good stuff.

Wow that is awesome, and the biggest and prime suspect that's 4.5gb is .xsession-errors in my /home/user section. Is that alright to delete?

Something is causing those xession errors. I suggest finding out what by reading the file (It's normally one line that just repeats itself over and over) before deleting it. Yes, it is safe to delete. However, it will be recreated on startup.

Offline

Help fund CrunchBang, donate to the project!

#25 2012-08-24 22:12:24

MarioMaster100
#! Junkie
Registered: 2011-04-02
Posts: 261

Re: /home usage mysteriously shooting up? (solved)

Ragnarok wrote:
MarioMaster100 wrote:
pidsley wrote:

I have to go with Awebb on this one. Try ncdu. You'll get a nice list, with the worst offenders at the top. You can scroll through the list, open directories and see what's in them, delete files or directories right from the UI, all kinds of good stuff.

Wow that is awesome, and the biggest and prime suspect that's 4.5gb is .xsession-errors in my /home/user section. Is that alright to delete?

Something is causing those xession errors. I suggest finding out what by reading the file (It's normally one line that just repeats itself over and over) before deleting it. Yes, it is safe to delete. However, it will be recreated on startup.

Well sudo nano /home/user/.xsession-errors makes nano blink for a while and then guess what it closes...


Thank you everyone for being helpful and answering my questions.
Machinae Supremacy fan for life \m/_(^_^)_\m/

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat

Debian Logo