centos core dump 设置
转自: http://blog.sina.com.cn/s/blog_7b6fc4c90100yn57.html普通用户ssh连接linux服务器是总是提示:ulimit: open files: cannot modify limit: Operation not permitted解决办法:vi /etc/security/limits.conf
·
转自: http://blog.sina.com.cn/s/blog_7b6fc4c90100yn57.html
普通用户ssh连接linux服务器是总是提示:
ulimit: open files: cannot modify limit: Operation not permitted
解决办法:
vi /etc/security/limits.conf
添加:
* soft nofile 65535
* hard nofile 65535
优化内核时:
* soft nproc 65535
*
hard
nproc
65535
# End of file
* - core unlimited
* - nofile 400000
vi /etc/profile
ulimit -c unlimited
ulimit -s unlimited
更多推荐
已为社区贡献2条内容
所有评论(0)