Total Memory

Hi,

I have a strange issue where the total memory on the server is showing low.
At the moment 8 GB of memory is installed and only 3 GB is showing on the shell prompt. I am using the commands free -m and vmstat to check the memory. Please help me out in identifying the issue.

With regards
Shabu

Does the BIOS show 8 GB?

Are you maybe running a 32bit version without HIGHMEM64G enabled? You can check this by running

zcat /proc/config.gz | grep HIGHMEM64G

Thanks a lot guys.

I used the dmidecode command to extract the details. It's showing as 8GB installed. Also find the other details as below.

[root@hostname etc]# free -m
             total       used       free     shared    buffers     cached
Mem:          3034       2862        172          0        213       2523
-/+ buffers/cache:        125       2909
Swap:         6141          0       6141


[root@hostname etc]# cat /proc/meminfo
MemTotal:      3107580 kB
MemFree:        176744 kB
Buffers:        218436 kB
Cached:        2583856 kB
SwapCached:          0 kB
Active:         500680 kB
Inactive:      2331864 kB
HighTotal:     2228032 kB
HighFree:        37640 kB
LowTotal:       879548 kB
LowFree:        139104 kB
SwapTotal:     6289320 kB
SwapFree:      6289320 kB
Dirty:             344 kB
Writeback:           0 kB
AnonPages:       30280 kB
Mapped:          11124 kB
Slab:            85084 kB
PageTables:       1264 kB
NFS_Unstable:        0 kB
Bounce:              0 kB
CommitLimit:   7843108 kB
Committed_AS:   204180 kB
VmallocTotal:   114680 kB
VmallocUsed:      5808 kB
VmallocChunk:   108460 kB
HugePages_Total:     0
HugePages_Free:      0
HugePages_Rsvd:      0
Hugepagesize:     4096 kB

[root@hostname etc]# dmidecode -t 17
# dmidecode 2.7
SMBIOS 2.3 present.

Handle 0x001B, DMI type 17, 27 bytes.
Memory Device
        Array Handle: 0x0019
        Error Information Handle: Not Provided
        Total Width: 72 bits
        Data Width: 64 bits
        Size: 2048 MB
        Form Factor: DIMM
        Set: 1
        Locator: DIMM1
        Bank Locator: BANK1
        Type: DDR2
        Type Detail: Other
        Speed: 667 MHz (1.5 ns)
        Manufacturer: Manufacturer0
        Serial Number: SerNum0
        Asset Tag: AssetTagNum0
        Part Number: PartNum0

Handle 0x001D, DMI type 17, 27 bytes.
Memory Device
        Array Handle: 0x0019
        Error Information Handle: Not Provided
        Total Width: 72 bits
        Data Width: 64 bits
        Size: 2048 MB
        Form Factor: DIMM
        Set: 1
        Locator: DIMM2
        Bank Locator: BANK1
        Type: DDR2
        Type Detail: Other
        Speed: 667 MHz (1.5 ns)
        Manufacturer: Manufacturer1
        Serial Number: SerNum1
        Asset Tag: AssetTagNum1
        Part Number: PartNum1

Handle 0x001F, DMI type 17, 27 bytes.
Memory Device
        Array Handle: 0x0019
        Error Information Handle: Not Provided
        Total Width: 72 bits
        Data Width: 64 bits
        Size: 2048 MB
        Form Factor: DIMM
        Set: 2
        Locator: DIMM3
        Bank Locator: BANK2
        Type: DDR2
        Type Detail: Other
        Speed: 667 MHz (1.5 ns)
        Manufacturer: Manufacturer2
        Serial Number: SerNum2
        Asset Tag: AssetTagNum2
        Part Number: PartNum2

Handle 0x0021, DMI type 17, 27 bytes.
Memory Device
        Array Handle: 0x0019
        Error Information Handle: Not Provided
        Total Width: 72 bits
        Data Width: 64 bits
        Size: 2048 MB
        Form Factor: DIMM
        Set: 2
        Locator: DIMM4
        Bank Locator: BANK2
        Type: DDR2
        Type Detail: Other
        Speed: 667 MHz (1.5 ns)
        Manufacturer: Manufacturer3
        Serial Number: SerNum3
        Asset Tag: AssetTagNum3
        Part Number: PartNum3

Handle 0x0023, DMI type 17, 27 bytes.
Memory Device
        Array Handle: 0x0019
        Error Information Handle: Not Provided
        Total Width: 72 bits
        Data Width: 64 bits
        Size: No Module Installed
        Form Factor: DIMM
        Set: 3
        Locator: DIMM5
        Bank Locator: BANK3
        Type: DDR2
        Type Detail: Other
        Speed: Unknown
        Manufacturer: Manufacturer4
        Serial Number: SerNum4
        Asset Tag: AssetTagNum4
        Part Number: PartNum4

Handle 0x0025, DMI type 17, 27 bytes.
Memory Device
        Array Handle: 0x0019
        Error Information Handle: Not Provided
        Total Width: 72 bits
        Data Width: 64 bits
        Size: No Module Installed
        Form Factor: DIMM
        Set: 3
        Locator: DIMM6
        Bank Locator: BANK3
        Type: DDR2
        Type Detail: Other
        Speed: Unknown
        Manufacturer: Manufacturer5
        Serial Number: SerNum5
        Asset Tag: AssetTagNum5
        Part Number: PartNum5

Handle 0x0027, DMI type 17, 27 bytes.
Memory Device
        Array Handle: 0x0019
        Error Information Handle: Not Provided
        Total Width: 72 bits
        Data Width: 64 bits
        Size: No Module Installed
        Form Factor: DIMM
        Set: 4
        Locator: DIMM7
        Bank Locator: BANK4
        Type: DDR2
        Type Detail: Other
        Speed: Unknown
        Manufacturer: Manufacturer6
        Serial Number: SerNum6
        Asset Tag: AssetTagNum6
        Part Number: PartNum6

Handle 0x0029, DMI type 17, 27 bytes.
Memory Device
        Array Handle: 0x0019
        Error Information Handle: Not Provided
        Total Width: 72 bits
        Data Width: 64 bits
        Size: No Module Installed
        Form Factor: DIMM
        Set: 4
        Locator: DIMM8
        Bank Locator: BANK4
        Type: DDR2
        Type Detail: Other
        Speed: Unknown
        Manufacturer: Manufacturer7
        Serial Number: SerNum7
        Asset Tag: AssetTagNum7
        Part Number: PartNum7