Re: 100% / and swap usage
- From: "Nico Kadel-Garcia" <nkadel@xxxxxxxxxxx>
- Date: Sat, 29 Jul 2006 10:20:15 -0400
Jean-David Beyer wrote:
Unruh wrote:
Jean-David Beyer <jeandavid8@xxxxxxxxxxx> writes:
LinuxOS wrote:
Hi,Something must be wrong. It is really unlikely that the root file
My Linux machine is getting out of disk usage, following is the df
command output. Kindly give suggestions on this.
[root@localhost ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 15G 14G 0 100% /
/dev/sda1 190M 8.6M 172M 5% /boot
none 252M 0 252M 0% /dev/shm
/dev/sda3 1012M 1012M 0 100% /swap
/dev/sda5 487M 11M 451M 3% /tmp
Regards
system
Look at his disk. His root is the whole file system. /tmp/and /boot
don't take up room.
I am not sure what you mean by that. /boot and /tmp _do_ take up
space. They seem a little large for what he is doing, but I imagine
they (especially /boot) are a little large for what he is doing.
He has both a memory leak (using up swap) and a memory used up.
As for /swap, perhaps he is using a swap file and if so, it is
probably already formatted for swap and appears to be totally used.
That would be normal, though I would never use a swap file myself,
but a swap partition. This, per se, _does not_ indicate a memory leak
or exhaustion of memory.
This won't report if swap is partially used, only that 100% of the /swap
partition is occupied. If it's occupied by a swap file, that would explain
it, although it would be a bit odd.
Go to /var/ and make yourself some room.
While I prefer a separate /var partition, it is not absolutely
necessary. Having one might help the O.P. diagnose the problem if, as
I suspect, he does not run the normal cron stuff that manages
temporary files and logs.
Then as he suggests do
du -s /*
and look to see where the memory is being used.
This ain't memory, it's disk.
He should be able to do this right now.
Another possibility is that he installed _everything_ that comes with
his distribution instead of just the subset he needs.
Yee gads you have separate /usr, /usr/local, /home. He does not. If
you add yours up you get 7 GB used. (2.2G in /var? That is nuts!)
Well under 15G, don't you think?
Does that not depend on what I am doing?
Amen. A bit of web caching, a few MP3's and a few bittorrented CD images and
you can easily fill 15 Gig.
.
- References:
- 100% / and swap usage
- From: LinuxOS
- Re: 100% / and swap usage
- From: Jean-David Beyer
- Re: 100% / and swap usage
- From: Unruh
- Re: 100% / and swap usage
- From: Jean-David Beyer
- 100% / and swap usage
- Prev by Date: Re: WARNING: Hard link count is wrong for /selinux
- Next by Date: Re: 100% / and swap usage
- Previous by thread: Re: 100% / and swap usage
- Next by thread: Re: 100% / and swap usage
- Index(es):
Relevant Pages
|