`

解决ORA-27154,ORA-27300,ORA-27301:No space left on device

阅读更多

转载自:http://blog.csdn.net/wonderjjm/article/details/8697294

利用DBCA创建数据库,重启数据库,都可能会出现此类错误,主要原因可能是数据库实例太多,需要比较多的信号量

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

解决的办法就是利用 root 登陆修改 Linux 内核参数

 

[root@linuxserver ~]# /sbin/sysctl -a | grep sem
kernel.sem = 250 1024 100 128

[root@linuxserver ~]# vi /etc/sysctl.conf

# semaphores: semmsl, semmns, semopm, semmni
kernel.sem = 250 32000 100 128

然后执行命令
/sbin/sysctl -p

下面一段是关于一点关于信号量的系统参数的解释:

The kernel parameter sem consists of 4 tokens, SEMMSL, SEMMNS, SEMOPM and SEMMNI. SEMMNS is the result of SEMMSL multiplied by SEMMNI. The database manager requires that the number of arrays (SEMMNI) be increased as necessary. Typically, SEMMNI should be twice the maximum number of connections allowed (MAXAGENTS) multiplied by the number of logical partitions on the database server computer plus the number of local application connections on the database server computer.

翻译:

系统内核包括四个标记参数,SEMMSL, SEMMNS, SEMOPM 和 SEMMNI. SEMMNS应该是SEMMSL 乘以 SEMMNI的结果. 数据库管理程序需要这一组数据都进行相应的增长. 比如 SEMMNI 应该是 2*(服务器允许最大连接数)* (数据库服务器逻辑分区数)+ (数据库允许最大本地应用连接数)

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics