启动Oracle时遇到“ORA-27154,ORA-27300,ORA-27301:No space left on device”错误?
ORA-27154: post/wait create failed
ORA-27300: OS system dependent operation:semget failed with status: 28
ORA-27301: OS failure message: No space left on device
ORA-27302: failure occurred at: sskgpcreates
原因在于Oracle增加了processes和sessions的值,而内存参数kernel.sem的值不匹配导致。
解决办法:
系统的kernel.sem默认的值是
kernel.sem = 250 32000 100 128
这4个值分别对应SEMMSL SEMMNS SEMOPM SEMMNI
下面说明这四个值如何设置:
l SEMMSL=PROCESSES参数+10,例如当最大的PROCESSES参数为5000时,SEMMSL应设置为5010。
l SEMMNS=SEMMSL*SEMMNI,接上例SEMMSL为5010,SEMMNS参数应为(5010*128)=641280。
l SEMOPM=SEMMSL参数相同,接上例此处应设置为5010