报打开的文件数过多(Too many open files)
来源:互联网 发布:中央已经决定了知乎 编辑:程序博客网 时间:2024/05/29 18:32
因一个服务器上部署了多个应用,部署的过程中或者was服务重启时有的应用起不来,看后台报打开的文件数过多(Too many open files)
通过ulimit -a查看结果为
open files (-n) 1024
解决方法:
切换到root用户下
$su root
#vi /etc/profile
末尾添加ulimit -n 4096
#source /etc/profile
0 0
- 报打开的文件数过多(Too many open files)
- too many open files(打开的文件过多)解决方法
- Tomcat启动时报打开的文件过多(Too many open files)
- linux 打开文件数 too many open files 解决方法
- linux 打开文件数 too many open files 解决方法
- linux 打开文件数 too many open files 解决方法
- linux 打开文件数 too many open files 解决方法
- linux 打开文件数 too many open files 解决方法
- android jni打开文件数 too many open files 解决方法
- linux报文件数打开过多too many open files
- centos 修改系统打开最大文件数限制 too many open files的解决方法
- 服务器异常java.io.IOException: Too many open files(系统最大文件打开数限制)
- Mac Intellij Application run error for too many file open or 解决文件打开数过多
- 在Linux中打开了太多文件(Too many open files)的解决方法
- 在Linux中打开了太多文件(Too many open files)的解决方法
- 在Linux中打开了太多文件(Too many open files)的解决方法
- 在Linux中打开了太多文件(Too many open files)的解决方法
- 在Linux中打开了太多文件(Too many open files)的解决方法
- java基础---String对象为什么不能改变?
- iOS native push 小结
- 字符串直接量
- tomcat启动后,页面浏览时报错 Unable to compile class for JSP的解决方案
- 核函数-Kernel Function汇总
- 报打开的文件数过多(Too many open files)
- ZCMU—1036
- 51nod 1099 任务执行顺序【贪心】
- 解决 subject.onNext is not a function
- 点击跳转QQ聊天
- hdoj-【2546 饭卡】
- java面试打击后归来深刻总结分析
- 网络协程编程
- 乘积量化( Product Quantization )近似最近邻搜索 分享