Hi all! I've got a VM with app which working 24x7. After some kernel updates i began to notice, that kernel dynamic memory noncache constantly increasing and when out of RAM going to swap. If i restart app, kernel dynamic memory is freed and still constantly growing. I'm not familiar with troubleshooting of this type, can you please guide me, what i supposed to do?
[root@server user]# smem -wk
Area Used Cache Noncache
firmware/hardware 0 0 0
kernel image 0 0 0
kernel dynamic memory 7.5G 3.3G 4.2G
userspace memory 7.1G 156.0M 7.0G
free memory 245.0M 245.0M 0
[root@server user]#
[root@server user]# cat /proc/meminfo
MemTotal: 15589908 kB
MemFree: 241852 kB
MemAvailable: 2839644 kB
Buffers: 40 kB
Cached: 3567436 kB
SwapCached: 18212 kB
Active: 8008240 kB
Inactive: 2893984 kB
Active(anon): 7192168 kB
Inactive(anon): 917124 kB
Active(file): 816072 kB
Inactive(file): 1976860 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 2097148 kB
SwapFree: 1997564 kB
Dirty: 19068 kB
Writeback: 0 kB
AnonPages: 7322652 kB
Mapped: 158416 kB
Shmem: 774448 kB
Slab: 179256 kB
SReclaimable: 105588 kB
SUnreclaim: 73668 kB
KernelStack: 9472 kB
PageTables: 51236 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 9892100 kB
Committed_AS: 9571240 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 0 kB
VmallocChunk: 0 kB
HardwareCorrupted: 0 kB
AnonHugePages: 22528 kB
ShmemHugePages: 0 kB
ShmemPmdMapped: 0 kB
CmaTotal: 0 kB
CmaFree: 0 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
DirectMap4k: 9872796 kB
DirectMap2M: 6379520 kB
[root@server user]#
[root@server user]# uname -a
Linux server 4.14.35-1844.1.3.el7uek.x86_64 #2 SMP Wed Jan 2 21:18:29 PST 2019 x86_64 x86_64 x86_64 GNU/Linux