My Oracle Support Banner

Oracle Linux 6 - /proc/meminfo Report Incorrect or Older Hugepage Value (Doc ID 2541257.1)

Last updated on MAY 15, 2020

Applies to:

Linux OS - Version Oracle Linux 6.0 and later
Linux x86-64

Symptoms

On Oracle Linux 6 server resized the hugepges values online but it showing incorrect/older hugepages value and not showing the new size.

#cat /etc/sysctl.conf |grep nr_hugepages
vm.nr_hugepages = 75000
#cat /proc/meminfo
MemTotal: 263636780 kB 
MemFree: 6858980 kB
MemAvailable: 116717696 kB
Buffers: 21068 kB
Cached: 107437988 kB
SwapCached: 0 kB
Active: 9317112 kB
Inactive: 102769844 kB
Active(anon): 5576552 kB
Inactive(anon): 1208752 kB
Active(file): 3740560 kB
Inactive(file): 101561092 kB
Unevictable: 414752 kB
Mlocked: 415044 kB
SwapTotal: 25165820 kB
SwapFree: 25165820 kB
Dirty: 50236 kB
Writeback: 0 kB
AnonPages: 5216820 kB
Mapped: 1975016 kB
Shmem: 1906780 kB
Slab: 6841484 kB
SReclaimable: 6523108 kB
SUnreclaim: 318376 kB
KernelStack: 29184 kB
PageTables: 179672 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 90371984 kB
Committed_AS: 10089480 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 1159212 kB
VmallocChunk: 34358486288 kB
HardwareCorrupted: 0 kB
AnonHugePages: 0 kB
CmaTotal: 16384 kB
CmaFree: 0 kB
HugePages_Total: 65051  < -- Showing lower value then configured
HugePages_Free: 21175
HugePages_Rsvd: 18588
HugePages_Surp: 0
Hugepagesize: 2048 kB
DirectMap4k: 20615656 kB
DirectMap2M: 187992064 kB
DirectMap1G: 61865984 kB

#sysctl -a  |grep nr_hugepages
vm.nr_hugepages = 65051 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.