ganglia / ganglia-web

Ganglia Web Frontend
BSD 3-Clause "New" or "Revised" License
317 stars 169 forks source link

Cope with mem RRD missing cached/slab/buffers #336

Closed afbjorklund closed 6 years ago

afbjorklund commented 6 years ago

When introducing the new values for "slab", there is period when old values are missing...

Make sure to count those as zero properly, so that the total amount of memory lines up


Sorry @vvuksan - same as in 6d6195f571402413d5df747e37330b2cba6077f4

afbjorklund commented 6 years ago

Even worse, I think "slab" was just a bug in the version of top that I was using: (procps-3.3.10) https://gitlab.com/procps-ng/procps/commit/05d751c4f076a2f0118b914c5e51cfbb4762ad8e

We are supposed to use SReclaimable rather than Slab, and we already had that metric... And think it would the best to add the new MemAvailable (where available), instead of these.

afbjorklund commented 6 years ago

The change to reclaimable goes with https://github.com/ganglia/monitor-core/pull/298