Cached memory

#1
Hi,

Recently, I noticed that most of server memory is "free" in new litespeed servers, we usually have the reminder of the RAM used by kernel as "Cached Memory", with low cached memory, the server I/O usage will increase significantly and it'll lead to hardware issue consequently,
Server has 128Gig of ram but in most cases only 20Gb is used, here is the server Meminfo:
# free -g
total used free shared buffers cached

Mem: 126 23 103 0 0 12
-/+ buffers/cache: 10 115
Swap: 3 0 3


As it's mentioned, 23Gb / 128Gb of RAM is used and there is only 12GB Cached memory,
I doubt if Litespeed applies any configuration in this case, anybody has the same issue in servers with litespeed webservers ?

Thanks,
 

NiteWave

Administrator
#2
the "cached memory" is managed by linux automatically

12GB mean only 12GB are used to cache file data by linux at a specific time point.
if you serve a video or download site, when traffic is high, you'll see the "cached" increasing automatically.
 
#3
Thanks for the answer,
the server has already been in load,
However seems that the issue has been resolved by changing some of kernel parameters:
vm.zone_reclaim_mode was disabled,

Thanks anyway.
 
Last edited:
Top