问题现象:帐户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。
阅读(1669) | 评论(0) | 转发(0) |