The "kmem -i" option displays incorrect SLAB usage information

Solution Verified - Updated -

Issue

  • The kmem -i option displays incorrect SLAB usage information.
crash> kmem -i | grep -e PERCENTAGE -e SLAB
                 PAGES        TOTAL      PERCENTAGE
         SLAB    60405       236 MB    0% of TOTAL MEM
  • Cross check usage from the vm_node_stat table.
crash> kmem -V | grep NR_SLAB
     NR_SLAB_RECLAIMABLE_B: 96966 ~ 387864 kB
   NR_SLAB_UNRECLAIMABLE_B: 63660 ~ 254640 kB

# grep Slab -A 2 /proc/meminfo
Slab:             642504 kB
SReclaimable:     387864 kB
SUnreclaim:       254640 kB

Environment

  • Red Hat Enterprise Linux 9
  • crash-8.0.1-2.el9 and below.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content