Swap being used instead of RAM
I don't know if this is an issue with just RHEL 3.0 ES, but I might as bring it up.My primary server, very active with mySQL and Apache, but there is a major issue with RAM versus swap usage. The server puts 90% of RAM usage into swap instead. This is causing massive load issues and is making it nearly impossible to operate in main peak hours.
When there are 400 megs RAM cached, swap is still being pilled into.
[root@cp root]# free -m
total used free shared buffers cached
Mem: 998 981 16 0 79 367
-/+ buffers/cache: 534 463
Swap: 996 298 697
Is there any way to stop the usage of swap when RAM is available? Thank you.