swap memory is not used on the server

its_joe

Well-Known Member
Feb 15, 2007
134
0
166
Hello,

On our server swap memory is not in use. Please check this

root@server [~]# free -m
total used free shared buffers cached
Mem: 2025 1559 465 0 26 526
-/+ buffers/cache: 1007 1017
Swap: 6000 0 6000

The server load is incresing high and not able to trace who is taking the load. Server is not working fine. We rebooted the server but still the same result.

Is there any solution for this.

its_joe.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
34
473
Go on, have a guess
What OS and kernel are you running? RedHat have been having a bit of a rough time with their swapfile management in recent kernels going from excessive use to little use in recent times and it could be a symptom of that.
 

its_joe

Well-Known Member
Feb 15, 2007
134
0
166
swap not working.

centos 4.4

kernel 2.6.9-42.0.10.ELsmp


i tried swapon /swapoff but no use.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
34
473
Go on, have a guess
There may be little that you can do other than stepping outside of the RH kernels and compiling your own. Alternatively, you could tackle the source of the memory issue and look at tuning those applications that are chewing up the available memory.