Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-7918

Value cache free space statistics are incorrect

XMLWordPrintable

      Value cache free space statistics are calculated as total size - used space, which does not include the memory allocator overhead. So in reality it has less free space than reported.And the more small allocations are made, the less precise the free space statistics will be.

      A patch to fix it is attached: valuecache-statistics-fix2.diff

        1. hashset-entry-fix.diff
          0.8 kB
          Andris Zeila
        2. memmalloc-32bit-chunks.diff
          12 kB
          Andris Zeila
        3. memmalloc-statistics-fix.diff
          1 kB
          Andris Zeila
        4. valuecache-small-chunk-header.diff
          0.6 kB
          Andris Zeila
        5. valuecache-statistics-fix2.diff
          2 kB
          Andris Zeila

            Unassigned Unassigned
            wiper Andris Zeila
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: