solaris上建立oracle資料庫出現:out of memory 錯誤

lawzjf發表於2007-02-19
在Solaris 10上安裝Oracle 10g時,Oracle本身安裝成功,但在建立資料庫的時候發生了錯誤,錯誤資訊為:

ORA-27102 "Out of Memory"

在/etc/system 下新增了推薦的關於share memory的引數,重起系統後還是沒有效果,搜尋 了一下,得到了一個解決方案:

shminfo_shmmax is an obsoletes tuneable, which is replaced by the following resource control project.max-shm-memory, which in turns defaults to 1/4 of physical memory if not set.

I would suggest

groupadd dba
useradd -g dba -d ${ORACLE_HOME} -m -s /bin/bash oracle

change permissions etc on ORACLE_HOME and so on.
then

projadd -U oracle -G dba -c 'Ora DB' -p 162 user.oracle
projmod -sK 'project.max-shm-memory=(priv,48g,deny)' user.oracle


then log in as oracle and check the value via
prctl -n project.max-shm-memory -i project user.oracle


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/37724/viewspace-152565/,如需轉載,請註明出處,否則將追究法律責任。

相關文章