./conn[12]: cannot fork: too many processes
在HP Unix有两个可以限制系统最大进程数的内核参数: maxuprc(max user processes)和 nproc(the number of system processes);
maxuprc只对普通用户生效,对root用户不生效,只有nproc才对root生效。
kctune 命令可以查看所有的内核参数
修改maxuprc内核参数命令.
kctune maxuprc+=500 (增加500)
[root@xxxxxxx:/#] kctune maxuprc+=500
==> Update the automatic 'backup' configuration first? y
* The automatic 'backup' configuration has been updated.
* Future operations will update the backup without prompting.
* The requested changes have been applied to the currently
running configuration.
Tunable Value Expression Changes
maxuprc (before) 256 Default Immed
(now) 756 756
在HP Unix有两个可以限制系统最大进程数的内核参数: maxuprc(max user processes)和 nproc(the number of system processes);
maxuprc只对普通用户生效,对root用户不生效,只有nproc才对root生效。
kctune 命令可以查看所有的内核参数
修改maxuprc内核参数命令.
kctune maxuprc+=500 (增加500)
[root@xxxxxxx:/#] kctune maxuprc+=500
==> Update the automatic 'backup' configuration first? y
* The automatic 'backup' configuration has been updated.
* Future operations will update the backup without prompting.
* The requested changes have been applied to the currently
running configuration.
Tunable Value Expression Changes
maxuprc (before) 256 Default Immed
(now) 756 756
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/24237320/viewspace-2133721/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/24237320/viewspace-2133721/