【 tulaoshi.com - Linux 】
达人,求助 关于redhat 9.0 打开进程打开最大文件数
我是这样设定的,vi /etc/security/limits.conf ,添加两行
* soft 2000
* hard 2000
但是重新启动后,ulimit -n的结果还是1024 ,后来我写成脚本放在rc.local运行,也不行,达人,帮帮忙!
apile 回复于:2003-08-20 08:11:40 * soft nofile 2000
* hard nofile 2000
lack one parameter....
david_cha 回复于:2003-12-24 17:08:19 You can use the following command to set the max connections: ulimit -n 2000 Hope it a little help for you all.