Chinaunix首页 | 论坛 | 博客
  • 博客访问: 19268722
  • 博文数量: 7460
  • 博客积分: 10434
  • 博客等级: 上将
  • 技术积分: 78178
  • 用 户 组: 普通用户
  • 注册时间: 2008-03-02 22:54
文章分类

全部博文(7460)

文章存档

2011年(1)

2009年(669)

2008年(6790)

分类:

2008-05-11 22:09:07

问题现象:帐户mydb2admin无法登录,telnet时报cannot fork: too many processes。
myaix#/etc/security> su - mydb2admin
/etc/profile[50]: cannot fork: too many processes
.profile[13]: cannot fork: too many processes
.profile[13]: cannot fork: too many processes
.profile[13]: cannot fork: too many processes
.profile[13]: cannot fork: too many processes
.profile[13]: cannot fork: too many processes
.profile[13]: cannot fork: too many processes
.profile[13]: cannot fork: too many processes
.profile[13]: cannot fork: too many processes
.profile[13]: cannot fork: too many processes
.profile[13]: cannot fork: too many processes
.profile[13]: cannot fork: too many processes
.profile[13]: cannot fork: too many processes
.profile[13]: cannot fork: too many processes
$
$
$ who
ksh: cannot fork: too many processes
$ ulimit -a
time(seconds)        unlimited
file(blocks)         unlimited
data(kbytes)         unlimited
stack(kbytes)        4194304
memory(kbytes)       unlimited
coredump(blocks)     unlimited
nofiles(descrīptors) 2000
$ who
ksh: cannot fork: too many processes
$
 
分析过程:GOOGLE搜了一下,都说是PAGING SPACE不够造成的,需要扩大PAGING SPACE,但实际并非如此。因为如果这样,errpt和alog会有相关的报错,而实际上并没有。
myaix#/etc/security> ps -elf |grep mydb2admin |wc -l
     502
myaix#/etc/security> lsattr -El sys0 |grep maxuproc
maxuproc        500               Maximum number of PROCESSES allowed per user      True
myaix#/etc/security>
 
解决办法:smit system进去,改maxuproc为1000。
阅读(1676) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~