Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Reported RAM usage is wrong?

In the dashboard. I have 35% of 1.5 GB use. But if I ssh into ASG and run top, I have a totally different picture. Top report 1283 MB is use with 249Mb free.

Who's lying? [:S]


This thread was automatically locked due to age.
  • I have more or less the same on my box.

    Both are correct, but top is more precise. Top shows the total used, buffers and cached memory usage. The WebAdmin seems to only show the usage without the buffers and cache. Buffers and cache are only used if there is free memory left in the memory to make the system faster.
  • 'free' has more details than top, fyis.

    Barry
  • total       used       free     shared    buffers     cached
    Mem:       1532132    1270408     261724          0     250056     545468
    -/+ buffers/cache:     474884    1057248
    Swap:      1052248          0    1052248

    So, its normal that astaro report that only 30% of my ram is used?
  • Sounds about right, but keep in mind that nightly processes such as accounting, and up2dates, may make it higher at times.

    Barry
  • used    - buffers - cached:
    
    1270408 - 250056  - 545468 = 474884

    (so, around 30% of total memory)

    These 30% are the amount of RAM it really needs. Buffers and cached stuff is only used if there is free space in the RAM.

    A Linux system will always try to fill up your memory as much as possible for a better performance.

    On our 425 for example, we have 3GB:

    used:    3244916k
    
    buffers: 186680k
    cached:  2462260k


    So, if the Astaro would show the amount of memory it uses including buffers and cached, it would be always be between 80 and ~97%.

    And that would be confusing for users too, because specially the cached stuff is only used because there was free memory left.