[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: no memory



Is swap enabled?  I've noticed that in a couple of RH6.0 installs I've done that
for some reason swap is not enabled and is not added to fstab.  Type in free and
if the total for swap is 0 then you need to enable it and add it to your fstab.

Use:

mkswap -c partition size
- where partition is the partition you want to use and size is the size in
1024-byte blocks
Ex: mkswap -c /dev/hda1 72256
Then use:
swapon partition
(This will turn swap on  Ex:  swapon /dev/hda1)

You also need to add swap to /etc/fstab (if it's not allready there):
add this line (make changes where appropriate):
/dev/hda1               swap                    swap    defaults        0 0


- Sean

Matt Anderson wrote:

> I'm not really sure why my computer is reporting this.  I am running Red Hat 6.
>  I have 128 mb of physical ram, and a 260 mb swap file.  When I'm using Gnome
> it feels quite sluggish and reports 98% memory being used.  It clears up a
> little when I switch over to KDE, but only lowers to about 92%.  I only have
> the services running that are enabled by default.  Also this is reported at
> boot up, not after I've been running the system for a while.  What could
> possibly be hogging up my system?  I'd really like to find out because it's
> running so slow right now, and I hate booting into windows now.  Thanks for any
> help!
>
> Matt Anderson