日期:2014-05-16  浏览次数:20645 次

修改linux最大进程数

? --查看进程数目

ulimit -a

#*?????????????? soft??? core??????????? 0
#*?????????????? hard??? rss???????????? 10000
#@student??????? hard??? nproc?????????? 20
#@faculty??????? soft??? nproc?????????? 20
#@faculty??????? hard??? nproc?????????? 50
#ftp???????????? hard??? nproc?????????? 0
#@student??????? -?????? maxlogins?????? 4
* - nofile 10240
*?????? soft??? nproc?? 102400
*?????? hard??? nproc?? 204800
# End of file

*????? ??? soft??? nproc?? 102400
*????????? hard??? nproc?? 204800
[root@dss-trans01 etc]#

--更改连接数

[root@dss-trans01 etc]# vi /etc/security/limit.conf

*????? ??? soft??? nproc?? 1024
*????????? hard??? nproc?? 2048

然后进行查询,已经更改