Ora-27300 OS system dependent operation:fork faile

1、环境描述

AIX 6.1
Oracle 11.2.0.1

2、问题描述
应用连接到数据库后自动断开连接,业务无法正常使用。
sqlplus / as sysdba 可以登录到数据库中。

3、报错信息
Errors in file /u01/oracle/admin/orcl/bdump/orcl1_psp0_954436.trc:
ORA-27300: OS system dependent operation:fork failed with status: 11
ORA-27301: OS failure message: Resource temporarily unavailable
ORA-27302: failure occurred at: skgpspawn3

4、解决方法
1)login as root.

2)use smitty utility
Select 'System Environments'
Select 'Change / Show Characteristics of Operating System'
Maximum number of PROCESSES allowed per user' ---> change to an appropriate value

OR

use command line:
chdev -l sys0 -a maxuproc <n>, where n is an appropraite value

5、小结
数据库连接是通过操作系统参数和数据库参数共同控制的,在安装数据库的时候一定要设置好相关参数,避免业务增加后,导致此类问题出现。所以,数据库安装很重要,该调整的参数安装的时候就调整好尤为重要。