文档库 最新最全的文档下载
当前位置:文档库 › 解决AIX系统操作最大进程数

解决AIX系统操作最大进程数

问题:切换用户或者执行命令报错
# su - db2inst3
/etc/profile[50]: 0403-030 The fork function failed. Too many processes already exist.
[YOU HAVE NEW MAIL]

.profile[13]: 0403-030 The fork function failed. Too many processes already exist.
.profile[13]: 0403-030 The fork function failed. Too many processes already exist.
.profile[13]: 0403-030 The fork function failed. Too many processes already exist.
分析:系统进程数设置太小,以至于操作最大限度
当时系统的最大进程数为128
# lsattr -El sys0|grep maxuproc
maxuproc 128 Maximum number of PROCESSES allowed per user True
db2fmp进程已经达到125个
$ ps -ef |grep db2fmp|wc -l
125
解决方法:
更改系统的最大进程数
chdev -l sys0 -a maxuproc=256
$ lsattr -El sys0|grep maxuproc
maxuproc 256 Maximum number of PROCESSES allowed per user True

相关文档