LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-08-2009, 07:50 PM   #1
misophist
Member
 
Registered: Aug 2003
Location: here
Distribution: suse 8.2
Posts: 169

Rep: Reputation: 30
runaway file?


I'm running opensuse 11.0 with / on a 20 gig partition which, until recently, was about 50% full. Suddenly the usage has gone up to 95.5%. I suspect a process has created some huge file or files but don't know how to look for it/them. Any advice?

There ate 3 usb drives mounted in /media. They don't seem to be involved.
 
Old 03-08-2009, 08:33 PM   #2
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 2,441
Blog Entries: 3

Rep: Reputation: 182Reputation: 182
this happend to me once with a faulty cdrom drive the door was stuck or something and it created this huge /etc/var/log/syslog . open a terminal and type as root dmesg see what the error out put is and type as root tail -f /var/log/syslog and look at the read out. another thing on open suse if you have had to crash the system to reboot it will make about a 80mb core crash not sure if they are still doing that though. that would be in root called core. if you did that 10 times that is 800 MB

Last edited by Drakeo; 03-08-2009 at 08:38 PM.
 
Old 03-08-2009, 10:24 PM   #3
misophist
Member
 
Registered: Aug 2003
Location: here
Distribution: suse 8.2
Posts: 169

Original Poster
Rep: Reputation: 30
The syslog files you mention don't exist in opensuse. I couldn't find any error messages in dmesg.
 
Old 03-08-2009, 10:51 PM   #4
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 2,441
Blog Entries: 3

Rep: Reputation: 182Reputation: 182
trust me every linux systems have a /var/log/syslog good luck then may be some one will find a real fat file on your system and then you will figure it out. then type this ok tail -f /var/log/messages

Last edited by Drakeo; 03-08-2009 at 10:52 PM.
 
Old 03-09-2009, 01:29 AM   #5
misophist
Member
 
Registered: Aug 2003
Location: here
Distribution: suse 8.2
Posts: 169

Original Poster
Rep: Reputation: 30
/var/log/messages contains no obvious error messages. Is it the same as syslog? Kdirstat showed several oversized tar files in /tmp/kde-user but removing those only got me down to 89.1%. Still not good enough.
 
Old 03-09-2009, 12:49 PM   #6
openSauce
Member
 
Registered: Oct 2007
Distribution: Fedora, openSUSE
Posts: 252

Rep: Reputation: 39
du -sh /* will give you the size of each directory under / (execute with root privs so that you can read everything). Find one that's bigger than it should be and keep drilling down til you find the problem files.

Fedora's version of Gnome comes with a GUI tool called disk usage analyzer which is useful for this - it sorts each directory by size and displays the filesystem in a tree, with subtrees also sorted by size. Don't know if OpenSUSE would have an equivalent though.
 
Old 03-09-2009, 12:52 PM   #7
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
Look at hidden files in your home directory. I've had ~/.xsession errors grow to a large size causing problems. An easy way to spot large files like this if you run konqueror is to use the File Size View. A 2gb file will stand right out. This will also let you find a directory with tons of small files such as ~/.thumbnails, ~/.picasa or /var/cache/beagle.

Last edited by jschiwal; 03-09-2009 at 01:05 PM.
 
  


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
runaway terminal Radovitch Ubuntu 1 05-07-2007 02:17 PM
kubuntu: runaway processes? edwardmolasses Ubuntu 4 08-15-2006 11:34 PM
runaway mount process Pico_01 Linux - General 1 02-13-2004 03:36 PM
RedHat 8 runaway mherring Linux - Software 3 01-20-2003 03:25 PM
runaway mouse... jhorvath Linux - Software 1 10-03-2002 07:11 PM


All times are GMT -5. The time now is 05:57 PM.

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