-
Type: Bug
-
Resolution: Incomplete
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.2.11
-
Component/s: None
-
None
-
ALL
-
(copied to CRM)
I have a mongodb server running v3.2.11 with a memory comsumption much higher than what I configured on cacheSizeGB.
Currently it is using 3.9g but the cacheSizeGB parameter is configured with 1 (1g).
I expected to be a little bit over 1g due to active connections and other stuff but right now is almost 4x that and seems to be increasing.
The huge pages are disabled:
grep AnonHugePages /proc/meminfo AnonHugePages: 0 kB
cat /sys/kernel/mm/transparent_hugepage/enabled always madvise [never]
I'm running CentOS
uname -a Linux XXXXXX 2.6.32-642.el6.x86_64 #1 SMP Tue May 10 17:27:01 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux cat /etc/redhat-release CentOS release 6.8 (Final)
I attached the information that I was able to collect:
- top
- serverStatus
- mongostat
- mongo_oms_1.conf --> the configuration file
Is this a normal behaviour? There is other way that I can use to limit the memory used by the mongodb process?