割り当てられているメモリが 4G であっても、非 PAE カーネルを実行していると、RHEL 5 OS がメモリ全体を検出しない
Issue
- 仮想環境 (vSphere 4)で RHEL5 ゲストを実行しています。
- 少し前にメモリを 2GB から 4GB にアップグレードしましたが、システムを再起動すると、OS が 3GB (正確には 2906MB) しか検出しません。
#free
total used free shared buffers cached
Mem: 2976552 2864464 112088 0 188556 2081252
-/+ buffers/cache: 594656 2381896
Swap: 4128760 0 4128760
-
VMware ツールの最新バージョンがインストールされており、vSphere がメモリを 4GB 割り当てていることを確認しました。
-
割り当てられている 4GB 全体を検出していても、カーネルが 2GB しか認識していない箇所を dmesg から抜粋しました。
Warning only 4GB will be used. Use a PAE enabled kernel. 3200MB HIGHMEM available. 896MB LOWMEM available. found SMP MP-table at 0009c140 -- Memory:2043908k/4194304k available (2178k kernel code, 40824k reserved, 907k data, 228k init, 1168496k highmem)
Environment
- Red Hat Enterprise Linux 5 (x86 または 32 ビットシステム)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
