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.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
CentOS 5 has been EOL for nearly 3 years and should no longer be used for anything!
Full time Geek, part time moderator. Use the FAQ Luke
CentOS 5 has been EOL for nearly 3 years and should no longer be used for anything!
Full time Geek, part time moderator. 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.