LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 09-30-2010, 11:40 PM   #1
ethereal1m
Member
 
Registered: Jan 2010
Distribution: slackware 13.0 64
Posts: 259

Rep: Reputation: 30
Question Need Tools to Identify a Growing Disk Space


Dear all,
currently my disk-space is growing very-very fast and in the same time, I have a very limited amount of it.

Last time I had this kind of problem, I had MySql persistence replication is on and disabling the feature fix the problem.

I don't know what happened between now and then, the space is shrinking rapidly (600Meg in couple of days) and I only downloaded files for less than 10Meg in the same period.

Could anybody give me a pointer to a tool that can oversee growing directories or files or maybe a script that able to do this (possibly involving Cron).

I try using "Find" but I cannot find any files that are suspiciously growing. I suspect it's a directory that is growing, but I don't know.

Best regards,
ethereal1m
 
Old 09-30-2010, 11:59 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,974
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
du -sm /*


Cheers,
Tink
 
Old 10-01-2010, 12:14 AM   #3
paulsm4
Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

For the most part, you can probably find the hogs with "df -h" (to list all your disks), "du -s" (to summarize disk usage at a particular directory on the disk). It's usually pretty easy to home in on the
source of the problem.

On Windows, there's a great tool called "Windirstat".

As it happens, "Windirstat" existed on Linux, first. I'd encourage you to try it:

http://kdirstat.sourceforge.net/
 
Old 10-01-2010, 12:16 AM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,974
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
Or the old super-lightweight
http://xdiskusage.sourceforge.net/


Cheers,
Tink
 
Old 10-01-2010, 12:40 AM   #5
ethereal1m
Member
 
Registered: Jan 2010
Distribution: slackware 13.0 64
Posts: 259

Original Poster
Rep: Reputation: 30
Thanks for the very fast reply,
after I do some digging, "Find" tool tells me that some of virtual space in /proc/[pid]/task/[tid]/fdinfo and /proc/[pid]/task/[tid]/fd are hogging the space (I think). I checked, there are 2 processes, Firefox and part of KDE software called nepomukservicestub.

I was suspecting a Theme Developer Tool for Drupal (which does heavy stuff like dumps registers and variables and so on) that causing the problem since:
1. It is run on Firefox and KDE
2. After I disable it, the hogging stops.

Question:
1. Is this a correct analysis?
2. How can I identify which files that associate with the threads, so I can delete and clear them? I suppose these are temporary files or cache files.

thanks in advance
 
Old 10-01-2010, 12:54 AM   #6
ethereal1m
Member
 
Registered: Jan 2010
Distribution: slackware 13.0 64
Posts: 259

Original Poster
Rep: Reputation: 30
hmm, turns out that the software is hogging /tmp file. I just delete the whole thing under /tmp and fixes the problem.....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to find tools to identify the network latency issue's we are having. Carlo1973 Linux - Networking 2 04-21-2009 08:30 AM
Automatic recoginiton of new hard drives and growing in new space in raid array lewt Linux - Hardware 0 05-31-2006 11:29 PM
Growing Used HDD space hisoka Fedora - Installation 4 10-25-2005 01:35 AM
3Gb of disk space lost! Disk space problem or mother board conflicts with HDD Mistreated Linux - Hardware 4 12-06-2004 03:58 PM
What are some names of tools for checking disk space aaronruss Linux - Newbie 2 06-08-2004 10:55 PM


All times are GMT -5. The time now is 03:15 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration