LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices

Reply
 
Search this Thread
Old 12-19-2004, 10:34 PM   #1
carl0ski
Member
 
Registered: Sep 2004
Location: Melbourne, Victoria Australia
Distribution: Support those that support you :)
Posts: 872
Blog Entries: 12

Rep: Reputation: 30
/home directory is full :S .xsession-errors


i have a 20gig /home partition
with 2gig of files on it yet all 20gig is used
0bytes remaining

i deleted a HUGE file that was 18gig (.xsessions-errors) yet my free spave hasn't come back.

How can i search for what file(s) are using all my space
i tried
ls -s -h
but it wouldnt show hidden files and xsession-error showed up as a 0byte file where as right click properties said it was 18gig


thanks for the help i'm immensly lost
 
Old 12-19-2004, 10:40 PM   #2
paulsm4
Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
It sounds like :.xsessions-errors" was probably the culprit. Please:

1. Reboot your PC into single-user mode and run "fsck".

That will probably fix the "missing space" problem. Running "fsck" could also clear up some other side-effects of the crash that you might not even be aware of ... yet.

2. Have you fixed whatever it was that caused .xession errors?
What was it, out of curiousity?

3. Finally, run "du -s" on other main directories (especially "/var/log") to see if any other directories might be suspiciously large. My guess is that you're probably OK...

'Hope that helps .. PSM
 
Old 12-19-2004, 10:54 PM   #3
carl0ski
Member
 
Registered: Sep 2004
Location: Melbourne, Victoria Australia
Distribution: Support those that support you :)
Posts: 872
Blog Entries: 12

Original Poster
Rep: Reputation: 30
i have no idea what caused it.

but konquerer was randomly started closing and Mozilla Firefox kept saying insufficient space on drive.

so i checked free space and welll the partition was full.

i'm hoping there is a way to turn off the logging considering 18 gig isn't very useful information wise noone could ever read trough it all.

i'm try your suggestions now though
 
Old 12-20-2004, 08:24 AM   #4
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
Quote:
Originally posted by carl0ski
i have no idea what caused it.

but konquerer was randomly started closing and Mozilla Firefox kept saying insufficient space on drive.

so i checked free space and welll the partition was full.

i'm hoping there is a way to turn off the logging considering 18 gig isn't very useful information wise noone could ever read trough it all.

i'm try your suggestions now though
Well, you deleted the file and the space did not go away as X was probably trying to write to that file still, had it open, etc. You don't necessarily have to shutdown and reboot, but kill X and or restart it.

Secondly, after restarting, if it starts writing to the log, maybe you should take a look and see what the problem might be, before it gets too big and whether its a problem you don't want to ignore, before turning off the logging, cause that is what logs do for us, report system and software issues, so we know what's going on.
 
Old 12-20-2004, 04:01 PM   #5
carl0ski
Member
 
Registered: Sep 2004
Location: Melbourne, Victoria Australia
Distribution: Support those that support you :)
Posts: 872
Blog Entries: 12

Original Poster
Rep: Reputation: 30
nah the file didnt come back at all

anyone know how disable the X output log?
i'm not going to ever use it so i midas well disable the log
 
Old 12-20-2004, 04:46 PM   #6
paulsm4
Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi, again -

1. "X Windows" is your GUI - I'm guessing that you probably don't want to disable it.

If you do, the easiest way is to change your default run level. For now, let's not discuss "What's a runlevel?" or "How do I change it?"

2. Back to the problem at hand:
It looks like you're using your X Windows GUI, and that one of your GUI programs went berserk and max'ed out your filesystem with an 18GB log.

There are many ways for this to happen.
EXAMPLE:
http://www.linuxpackages.net/view_co...=3554&cid=1656

3. What you need to do is:
a) be aware of what programs you're using
b) Keep an eye on the .xsession-errors log to make sure it stays a reasonable size

4. If the problem *does* recur, then:
c) See if the .xsession-errors log identifies the culprit
d) Otherwise, run "top". The odds are good that the culprit will be doing the most I/O and/or using the most CPU time.
e) Fix, disable or update the culprit (for example, get a new copy of "mplayer").

X Windows is not the culprit; the enormous log was just a side-effect of the root problem.

'Hope that helps .. PSM

PS:
No, you don't need to reboot the PC for an X Windows error. But you should *always* cold-boot the PC and run "fsck" if you ever have a disk-related crash (as you did when your filesystem became full).

Last edited by paulsm4; 12-20-2004 at 04:47 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
xsession taking full t1 bandwidth cope1969 Linux - Enterprise 1 01-27-2005 08:05 PM
~/.xsession-errors Phiebie Debian 2 12-21-2004 09:00 AM
.xsession-errors caphead Debian 5 10-11-2004 07:52 AM
.xession-errors file in my home directory drxsmurf Linux - Software 3 05-06-2004 09:01 PM
xsession errors DB Troll Linux - General 0 07-15-2003 11:09 PM


All times are GMT -5. The time now is 01:54 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