为了能快速了解并处理您的问题,请提供以下基础信息: 问题描述:- 宝塔重启后,在宝塔的linux 终端,ulimit -n 只有1024
复制代码
相关截图(日志、错误): - cat /etc/security/limits.conf 进行了修改
复制代码- # End of file
- * soft nofile 100001
- * hard nofile 100002
- root soft nofile 100101
- root hard nofile 100102
- * soft nofile 100001
- * hard nofile 100002
- root soft nofile 100101
- root hard nofile 100102
- * soft memlock unlimited
- * hard memlock unlimited
复制代码
- 新买的服务器,安装宝塔后运行 ulimit -n 是 100001 ,一旦重启服务器,重新在宝塔里 输入 ulimit -n 变成 1024 ,现在临时处理办法是重启服务器后,在 /etc/init.d/bt 加入 ulimit -n 100001,每次重启都要去加上 这句,不然不生效
复制代码
怎么一上传图片 就说有违禁词
|
|