Swap memory issue for cdm probe on linux
search cancel

Swap memory issue for cdm probe on linux

book

Article ID: 265514

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM) CA Unified Infrastructure Management On-Premise (Nimsoft / UIM)

Issue/Introduction

We are getting below alert continuously.  NOC team is showing that it is 0%.PFB Snapshot.

||HOSTNAME: xxxx||Average (6 samples) swap memory usage is now 96.00%, which is above the error threshold (90%). 

 

 

 

 

Environment

Release : Any supported UIM version 

probe: cdm

NAME="Red Hat Enterprise Linux"
VERSION="8.7 (Ootpa)"

Resolution

1. Cdm reads the proc/meminfo file to obtain the memory usage qos data

2. Snippet output of above command from target server

cat /proc/meminfo


MemTotal:       32721268 kB
MemFree:          334420 kB
MemAvailable:   12993336 kB
Buffers:               4 kB
Cached:         12445032 kB
SwapCached:       140500 kB
Active:         18659172 kB
Inactive:       12707216 kB
Active(anon):   10558936 kB
Inactive(anon):  8364200 kB
Active(file):    8100236 kB
Inactive(file):  4343016 kB
Unevictable:        1536 kB
Mlocked:               0 kB
SwapTotal:       8388604 kB
SwapFree:           5796 kB
Dirty:               716 kB
Writeback:             0 kB
AnonPages:      18767960 kB
Mapped:           264668 kB
Shmem:              1764 kB
KReclaimable:     680944 kB
Slab:             772184 kB

 

From cdm logs 

 

 

This needs to be corrected from the OS end why the SwapFree is showing lower free value in the /proc/meminfo as a result it is throwing alert for hitting 96% and higher values