/etc/profile里面添加
ulimit -c unlimited
启动的时候会自动把core文件产生的限制去掉
在线改的话还需要执行
source /etc/profile
修改语言环境
/etc/default/locale
LANG=C
LANG=zh_CN.GB18030
LANGUAGE="zh_CN:zh"
修改系统连接数
vim /etc/security/limits.conf
* soft nofile 5000
* hard nofile 50000
转载于:https://blog.51cto.com/gxjluck/350715