startup Linux下oracle報(bào)以下錯(cuò)
ORA-27102:out of memory Linux-X86_64
Error: 28: No space left on device [ID 301830.1]
適用于:
Oracle Server - Enterprise Edition - Version: 9.2.0.1 and later [Release: 9.2 and later ]
Oracle Server - Standard Edition - Version: 9.2.0.1 and later [Release: 9.2 and later]
Oracle Server - Enterprise Edition - Version: 9.2.0.1 and later [Release: 9.2 and later]
Linux x86-64
When trying to increase the SGA to approach half available RAM with an Oracle 64-bit version
on a Linux 64-bit operating system, even though shmmax is set to match half the amount of RAM,
you get the following error when trying to start the instance:
在64位linux下使用64位版本的oracle,即使把shmmax參數(shù)的大小設(shè)置系統(tǒng)可用內(nèi)存的一半,
當(dāng)把SGA增加到接近一半的系統(tǒng)內(nèi)存時(shí)候,當(dāng)startup實(shí)例的時(shí)候,可能得到以下錯(cuò)誤
SQL> startup nomount
ORA-27102: out of memory
Linux-x86_64 Error: 28: No space left on device
Changes
shmall is too small, most likely is set to the default setting of 2097152
$ cat /proc/sys/kernel/shmall
2097152
Cause
shmall is the total amount of shared memory, in pages, that the system can use at one time.
shmall是系統(tǒng)在所有頁同一時(shí)間使用的共享內(nèi)存段的總數(shù)
Solution
解決辦法
Set shmall equal to the sum of all the SGAs on the system, divided by the page size.
設(shè)定shmall的值為等同于在系統(tǒng)中所有SGA占用內(nèi)存大小除以分頁大小的得出的最后的值
The page size can be determined using the following command:
用以下命令得到分頁的大小
$ getconf PAGE_SIZE
4096
For example, if the sum of all the SGAs on the system is 16Gb and the result of
'$ getconf PAGE_SIZE' is 4096 (4Kb) then set shmall to 4194304 pages
例如,如果系統(tǒng)中所有SGA的綜合為16Gb,然后getconf PAGE_SIZE 得出的結(jié)果是4096(4k)
那么shmall就設(shè)定為4194304頁
As the root user set the shmall to 4194304 in the /etc/sysctl.conf file:
用root用戶在/etc/sysctl.conf 文件中設(shè)定shmall為 4194304
kernel.shmall = 4194304
then run the following command:
設(shè)定后執(zhí)行以下命令
$ sysctl -p
$ cat /proc/sys/kernel/shmall
4194304
NOTE:
The above command loads the new value and a reboot is not necessary.
以上命令無須重啟
Switch back to being the oracle user and retry the startup command.
切換到oracle用戶,重新執(zhí)行startup命令
Modifying /etc/sysctl.conf is a permanent workaround (applies at boot time).
修改/etc/sysctl.conf 是一個(gè)永久的解決辦法(適用于開機(jī)時(shí)間)
If for some reason you DO NOT want to change the system wide configuration, you can do it
on the fly by directly changing the kernel pseudo FS AKA procfs.
如果出于某種原因不詳對(duì)系統(tǒng)大范圍改動(dòng)配置,可以直接改變內(nèi)核的pseudo FS AKA procfs.
# echo "4194304" > /proc/sys/kernel/shmall
Using HUGEPAGES does not alter the calculation for configuring shmall.
使用大頁不會(huì)改變配置shmall的計(jì)算結(jié)果
以上翻譯僅供參考
References
NOTE:169706.1 - Oracle Database on Unix AIX,HP-UX,Linux,Mac OS X,Solaris,Tru64 Unix Operating Systems Installation and Configuration Requirements Quick Reference (8.0.5 to 11.2)
NOTE:851598.1 - Master Note of Linux OS Requirements for Database Server
NOTE:1351051.2 - Information Center: Install and Configure Database Server/Client Installations
Oracle Database Products > Oracle Database > Oracle Database > Oracle Server - Enterprise Edition
Oracle Database Products > Oracle Database > Oracle Database > Oracle Server - Standard Edition
Oracle Database Products > Oracle Database > Oracle Database > Oracle Server - Enterprise Edition
64-BIT; 64BIT; HUGEPAGES; INSTALL & CONFIGURE; LINUX; NO SPACE LEFT ON DEVICE; OUT OF MEMORY; START INSTANCE
ORA-27102
Copyright (c) 2007, 2010, Oracle. All rights reserved. Legal Notices and Terms of Use | Privacy Statement
站在用戶的角度思考問題,與客戶深入溝通,找到連城網(wǎng)站設(shè)計(jì)與連城網(wǎng)站推廣的解決方案,憑借多年的經(jīng)驗(yàn),讓設(shè)計(jì)與互聯(lián)網(wǎng)技術(shù)結(jié)合,創(chuàng)造個(gè)性化、用戶體驗(yàn)好的作品,建站類型包括:成都網(wǎng)站設(shè)計(jì)、網(wǎng)站建設(shè)、
外貿(mào)網(wǎng)站建設(shè)、企業(yè)官網(wǎng)、英文網(wǎng)站、手機(jī)端網(wǎng)站、網(wǎng)站推廣、空間域名、
網(wǎng)站空間、企業(yè)郵箱。業(yè)務(wù)覆蓋連城地區(qū)。
另外有需要云服務(wù)器可以了解下創(chuàng)新互聯(lián)cdcxhl.cn,海內(nèi)外云服務(wù)器15元起步,三天無理由+7*72小時(shí)售后在線,公司持有idc許可證,提供“云服務(wù)器、裸金屬服務(wù)器、高防服務(wù)器、香港服務(wù)器、美國(guó)服務(wù)器、虛擬主機(jī)、免備案服務(wù)器”等云主機(jī)租用服務(wù)以及企業(yè)上云的綜合解決方案,具有“安全穩(wěn)定、簡(jiǎn)單易用、服務(wù)可用性高、性價(jià)比高”等特點(diǎn)與優(yōu)勢(shì),專為企業(yè)上云打造定制,能夠滿足用戶豐富、多元化的應(yīng)用場(chǎng)景需求。
新聞名稱:startupLinux下oracle報(bào)以下錯(cuò)-創(chuàng)新互聯(lián)
網(wǎng)址分享:http://aaarwkj.com/article22/gpocc.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供品牌網(wǎng)站制作、靜態(tài)網(wǎng)站、云服務(wù)器、虛擬主機(jī)、域名注冊(cè)、響應(yīng)式網(wǎng)站
廣告
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來源:
創(chuàng)新互聯(lián)