I am not sure how to interpret the memory usage of our servers on which WebSphere MQ (WMQ) is running. The main question is: Is WMQ using more and more memory over time (is it leaking memory) or is everything just fine and Linux is using our RAM for disk caching?
We have the following Cacti graph.
The data for this is polled from /proc/meminfo. Which currently shows the following output.
[user@server ~]$ cat /proc/meminfo
MemTotal: 32956188 kB
MemFree: 3963664 kB
Buffers: 1225024 kB
Cached: 15611124 kB
SwapCached: 34016 kB
Active: 23880484 kB
Inactive: 3279676 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 32956188 kB
LowFree: 3963664 kB
SwapTotal: 8388600 kB
SwapFree: 8354584 kB
Dirty: 1648 kB
Writeback: 0 kB
AnonPages: 10290180 kB
Mapped: 457704 kB
Slab: 1375028 kB
PageTables: 136452 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
CommitLimit: 24866692 kB
Committed_AS: 19962412 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 382196 kB
VmallocChunk: 34359356007 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
Hugepagesize: 2048 kB
The command free -m shows the following currently.
[user@server ~]$ free -m
total used free shared buffers cached
Mem: 32183 28312 3871 0 1196 15245
-/+ buffers/cache: 11870 20313
Swap: 8191 33 8158
According to the web site "linuxatemyram dot com" only the line "-/+ buffers/cache: 11870 20313" of "free -m" is relevant.
In the Cacti graph you can clearly see that "Used Memory" is increasing since the beginning of "Week 03". On the other hand "Cache" and "Buffers" seem to be pretty constant. How is "Used Memory" relevant in this case? Is WMQ leaking memory?