
异常分析
亚帕奇
这个作者很懒,什么都没留下…
展开
-
java.io.IOException: Too many open files
1. 使用ps -ef |grep java (java代表你程序,查看你程序进程) 查看你的进程ID,记录ID号,假设进程ID为122. 使用:lsof -p 12 | wc -l 查看当前进程id为12的 文件操作状况执行该命令出现文件使用情况为 10523. 使用命令:ulimit -n 查看每个用户允许打开的最大文件数发现系统默认的是open files (-转载 2016-11-09 14:56:12 · 278 阅读 · 0 评论 -
consider increasing the maximum size of the cache
异常堆栈 org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/base/1325/WA6144-150x112.jpg] to the cache because there was insufficient free space available after evicting转载 2016-11-09 14:46:09 · 2362 阅读 · 0 评论 -
JConsole 使用总结
VM调优工具:Jconsole,jProfile,VisualVM1) Jconsole : jdk自带,功能简单,可以在系统有一定负荷的情况下使用;对垃圾回收算法有很详细的跟踪。2) JProfiler :商业软件,需要付费;功能强大。3) VisualVM :JDK自带,功能强大,与JProfiler类似;推荐。 如何调优观察内存释放情况、集转载 2017-01-25 11:52:02 · 258 阅读 · 0 评论