Hello Guys,
I hope you can help me.
My server running in centos 5.9 is not using swap memory.
The top command always shows swap memory used as 132 KB even when RAM utilization is 100%.
The server has 32 GB RAM and during installation I have allocated 32 GB hard disk space for swap.
Your suggestions will be really helpful.
Regards,
Abhilash
Centos 5.9 and swap memory
Re: Centos 5.9 and swap memory
It'll only use swap if it needs to use swap. Obviously on your system it doesn't need to do so. You might want to read http://www.linuxatemyram.com for an explanation of how linux uses memory - basically unused memory is wasted memory so whatever is not actively used by programs will be used for caching files.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
Re: Centos 5.9 and swap memory
You need to update immediately to 5.10.
32G of swap is nuts unless you are suspending to swap.
If you use more than 512M of swap your machine will be doing nothing useful.
32G of swap is nuts unless you are suspending to swap.
If you use more than 512M of swap your machine will be doing nothing useful.