Unaccountable memory usage due to out-of-tree kernel module [b9k_87144]
Issue
- Unable to account for high memory usage in the system.
The total used memory is 7 GiB (excluding Buffer, Cache, and Slab).
# free -m
total used free shared buff/cache available
Mem: 7442 7213 131 0 97 40
Swap: 16383 1165 15218
# cat /proc/meminfo
MemTotal: 7621416 kB
MemFree: 135140 kB
MemAvailable: 42332 kB
Buffers: 16 kB
Cached: 49176 kB
SwapCached: 15740 kB
Active: 43156 kB
Inactive: 53056 kB
Active(anon): 19968 kB
Inactive(anon): 40048 kB
Active(file): 23188 kB
Inactive(file): 13008 kB
Unevictable: 32412 kB
Mlocked: 32412 kB
SwapTotal: 16777212 kB
SwapFree: 15584164 kB
Dirty: 252 kB
Writeback: 0 kB
AnonPages: 78148 kB
Mapped: 40120 kB
Shmem: 72 kB
KReclaimable: 50744 kB
Slab: 580368 kB
SReclaimable: 50744 kB
SUnreclaim: 529624 kB
KernelStack: 8800 kB
PageTables: 16116 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 20587920 kB
Committed_AS: 1795744 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 0 kB
VmallocChunk: 0 kB
Percpu: 2896 kB
HardwareCorrupted: 0 kB
AnonHugePages: 12288 kB
ShmemHugePages: 0 kB
ShmemPmdMapped: 0 kB
FileHugePages: 0 kB
FilePmdMapped: 0 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
Hugetlb: 0 kB
DirectMap4k: 7298468 kB
DirectMap2M: 1089536 kB
DirectMap1G: 2097152 kB
Total memory usage from user space is 0.19 GiB.
# ps aux | tail -n +2 | cut -b2- | gawk '{mem += $6} END {print "Total RSS of user-mode: " mem/1048576 " GiB"}'
Total RSS of user-mode: 0.197514 GiB
Environment
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- VMware Carbon Black Bit9 Agent kernel module:
[b9k_87144]
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.