LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-21-2003, 06:17 PM   #1
don_dimo
Member
 
Registered: Oct 2003
Location: Blacksburg, VA
Distribution: Fedora Core 2 (kde)
Posts: 144

Rep: Reputation: 15
Arrow HELP ... Linux is eating my memory!!!


Hi!!!

I just tried to download a file and it gave me an I/O error - failed writing, i did a df -h and this is what I got:
Filesystem Size Used Avail Use% Mounted on

/dev/hda5 16G 16G 0 100% /
none 125M 0 124M 0% /dev/shm
/dev/hda1 16G 13G 3.6G 78% /mnt/winc
/dev/hda7 5.4G 4.0G 1.3G 75% /mnt/debian
/dev/cdrom 620M 621M 0 100% /mnt/cdrom

/dev/hda5 is what I am on and it had 10 GB of free space last time I checked. I tried to search folder by folder, and there was a hidden file .xserv_errors in my home dir which was just 9.3GB large ... that's a helluva an error file.... Anyway after deleting it it I did another df -h and it still gives me the same result with no free space and there is no way it could have written another 9GB file in that short amount of time. Just to make sure I checked all the folders and they add up to 4.5 GB and my partition is obviously 16Gb largre, no hidden files, nothing in the Trash, or tmp. Whats eating up my memory??? Please HELP
 
Old 10-21-2003, 06:45 PM   #2
don_dimo
Member
 
Registered: Oct 2003
Location: Blacksburg, VA
Distribution: Fedora Core 2 (kde)
Posts: 144

Original Poster
Rep: Reputation: 15
Ok .. there is smth I found: the .xsession_errors file was written to by a utility called Konqueror from the java runtime environment. Seems like that guy can write to the .xsession_errors file with 20mb/s resulting in a extremely big 9gb file. The recommendation is to delete the .xsession_errors and forget about it but I already did that with rm -rf... what did I do wrong?
 
Old 10-21-2003, 07:18 PM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
This has nothing to do with your memory but taking up actual hard disk space. Can you make out anything in the file your deleting? Have you even opened it to see if you can't make out anything on why its being created?
 
Old 10-21-2003, 07:27 PM   #4
don_dimo
Member
 
Registered: Oct 2003
Location: Blacksburg, VA
Distribution: Fedora Core 2 (kde)
Posts: 144

Original Poster
Rep: Reputation: 15
Yes of course i opened it first but it was empty (i opened it from command line and a window - there was nothing in it) however in the properties of the file it said 9.5GB .. i mean come on that's the size of 2 dvds. I deleted it but acts up like the space is still taken, and now if I delete some other file it just starts eating up space like crazy until it runs out of it just like its still writing to that file. I have no idea what to do i will post u any info want..
 
Old 10-21-2003, 11:23 PM   #5
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
When you open a file from command line into text editor, it reads the entire file into memory -- that is why the file looks empty -- I doubt you have 9.5 gigs of ram

Try using the cat command for it, and see if you can't glean something.


-Shade
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Something is eating my memory benne Linux - Software 15 11-25-2004 06:02 AM
Linux app eating up memory according to System Monitor brianvdc Linux - Newbie 1 10-22-2003 01:32 AM
Linux is eating to much memory!!! alwin Linux - General 9 01-13-2003 04:50 PM
Linux is eating to much memory!!! alwin Linux - Software 2 01-12-2003 10:33 PM
Linux is eating to much memory!!! alwin Linux - Networking 2 01-12-2003 10:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:42 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration