Skip to content

Linux: Memory

Warren G Brown edited this page Sep 8, 2022 · 1 revision

Memory

Hello,

I have reviewed the memory usage and found that the graph provided in manage only shows the total memory usage however the actual memory usage is much less. This can be explained by the usage of cached memory. Linux "reserves" memory in the form cache use when each process is initiated. This reserved memory is akin to the practice of reserving a table at a restaurant. The table is set aside for possible usage but is not actually in use, if needed it could be given to another patron. When looking at memory, found in WHM » Server Status » Server Information under Current Memory Usageyou can see the following: (information provided in bytes)

             total       used       free     shared    buffers     cached
Mem:       8031608    7841920     189688        628     787944    4651168
-/+ buffers/cache:    2402808    5628800 
Swap:     16351216     597480   15753736 
Total:    24382824    8439400   15943424
 
The graph in 'manage' is showing you this:

             total       used       free     shared    buffers     cached
Mem:       ------>    7841920     <------       628     787944    4651168
-/+ buffers/cache:    2402808    5628800 
Swap:     16351216     597480   15753736 
Total:    24382824    8439400   15943424 

However the actual usage is as follows:

             total       used       free     shared    buffers     cached
Mem:       8031608    7841920     189688        628     787944    4651168
-/+ buffers/cache:    2402808    <-------
Swap:     16351216     597480   15753736 
Total:    24382824    8439400   15943424 

and the free actual free memory is found here:

             total       used       free     shared    buffers     cached
Mem:       8031608    7841920     189688        628     787944    4651168
-/+ buffers/cache:    ------->   5628800   <--------
Swap:     16351216     597480   15753736 
Total:    24382824    8439400   15943424 

As you can see the actual usage is just less than 3G

If you have any questions please feel free to contact us.
Clone this wiki locally