Incorrect available memory calculation

XMLWordPrintable

    • Type: Incident report
    • Resolution: Fixed
    • Priority: Blocker
    • 2.5.0
    • Affects Version/s: 2.2.7, 2.4.2
    • Component/s: Agent (G)
    • Environment:
      Linux with high SReclaimable

      Zabbix agent does not consider SReclaimable kernel option when calculate free memory. The option is like cached memory and should be considered as free memory:

      MemAvailable: An estimate of how much memory is available for starting new applications, without swapping. Calculated from MemFree, SReclaimable, the size of the file LRU lists, and the low watermarks in each zone. The estimate takes into account that the system needs some page cache to function well, and that not all reclaimable slab will be reclaimable, due to items being in use. The impact of those factors will vary from system to system.

      https://www.kernel.org/doc/Documentation/filesystems/proc.txt

            Assignee:
            Unassigned
            Reporter:
            Alexey Pustovalov
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: