码迷,mamicode.com
首页 > 系统相关 > 详细

Tomcat Open too many files (Linux)

时间:2014-10-29 14:23:58      阅读:214      评论:0      收藏:0      [点我收藏+]

标签:blog   sp   文件   div   log   bs   ef   linux   as   

# 查询tomcat的主ID
ps -ef | grep tomcat

ls -l /proc/ID/fd

 通过查询Tomcat的线程ID, 找到Tomcat线程打开了哪些文件?

  1. 打开文件全部正常 =》 增加 ulimit 
  2. 不正常 = 》调整程序

Tomcat Open too many files (Linux)

标签:blog   sp   文件   div   log   bs   ef   linux   as   

原文地址:http://www.cnblogs.com/dimkiller/p/4059193.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!