免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 5631 | 回复: 3
打印 上一主题 下一主题

[故障求助] aix紧急求助 fork: Resource temporarily unavailable [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-04-15 16:51 |只看该作者 |倒序浏览
aix紧急求助 fork: Resource temporarily unavailable

环境: aix 6.1 + hacmp 7 + oracle 10.2.0.4

现在在一个节点A: 只要一登陆就出现, fork: Resource temporarily unavailable, 然后不能进行任何操作,比如ls, hostmae, 但是 pwd可以

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
2 [报告]
发表于 2011-04-15 16:57 |只看该作者
不能fork了,这个情况要具体分析了

论坛徽章:
0
3 [报告]
发表于 2011-04-15 17:16 |只看该作者
metalink了一吧, 按照如下操作 把每个用户的能够打开的最大 进程数由原来默认的128改成256就ok了

metalink见: note  [ID 392006.1]

Applies to:
Oracle Server - Enterprise Edition - Version: 10.2.0.2 and later   [Release: 10.2 and later ]
IBM AIX on POWER Systems (64-bit)
IBM AIX Based Systems (64-bit)
IBM RS 6000 AIX 5L
Symptoms
On 10.2.0.2 in Production:
the following error occurs in the alert.log

ERROR
Errors in file /u01/oracle/admin/MFACTOR/bdump/mfactor1_psp0_954436.trc:
ORA-27300: OS system dependent operation:fork failed with status: 11
ORA-27301: OS failure message: Resource temporarily unavailable



BUSINESS IMPACT
The issue has the following business impact:
Due to this issue, users cannot connect to the database.


Verified the issue in the log file as noted below:

LOG FILE
Filename = alert_MFACTOR1.log
See the following error:

Process startup failed, error stack:
Mon Sep 18 18:10:34 2006
Errors in file /u01/oracle/admin/MFACTOR/bdump/mfactor1_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
Mon Sep 18 18:10:35 2006
Process P073 died, see its trace file


Cause
The issue is caused by the following setup: maximum number of processes allowed per user.

The error messages indicating that oracle has problem in forking more process.

Checked the "maxuproc", it is only set to 128.



Solution
To implement the solution, please execute the following steps:

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

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

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
4 [报告]
发表于 2011-04-15 18:12 |只看该作者
不会这个都没改吧

这个也不会影响root啊

256太少,我至少改成1280
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP