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

Re: Swap space not used

On Fri, 4 May 2012 02:40:16 +0800 (WST), Bret Busby wrote:

:~# free
             total       used       free     shared    buffers cached
Mem: 8059964 7746808 313156 0 54708 1352976
-/+ buffers/cache:    6339124    1720840
Swap:     42860340      66296   42794044
A snaphot of the header of top gives

:~# top

top - 02:31:37 up 3 days, 44 min, 3 users, load average: 0.09, 0.17, 0.16
Tasks: 205 total,   2 running, 203 sleeping,   0 stopped,   0 zombie
Cpu(s): 24.3%us, 2.6%sy, 0.0%ni, 73.1%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 8059964k total, 7722984k used, 336980k free, 55484k buffers Swap: 42860340k total, 66296k used, 42794044k free, 1353544k cached



According to the above:
You do, indeed, have 40GB of swap configured.
It appears to be using 66MB of that swap.

So swapping is not disabled, and you have plenty of swap space for any normal use.

The remaining question is, why do you periodically run out of memory and crash? Or, put another way, what abnormal use is occurring to cause your crashes?

Are there any indications in syslog of what may be going on immediately before the crash?


Reply to: