关于Linux上修改open files数目
永久生效办法:[*]
[*] centos6.x
(1)、cd /etc/security/
vi limits.d/90-nproc.conf
添加:
* soft nproc 65535
* hard nproc 65535
* soft nofile65535
* hard nofile65535
(2)vi /etc/security/limits.conf
* soft nproc 65535
* hard nproc 65535
* soft nofile65535
* hard nofile65535
centos5.x
vi /etc/security/limits.conf
添加:
* soft nproc 65535
* hard nproc 65535
* soft nofile65535
* hard nofile65535
谢谢楼主分享啊
页:
[1]