jboss “Too many open files” 错误
现象:1)jboss java进程能起来,log 显示“Too many open files”错误
2)网站无法访问,重启也无效
解决:
I had this problem also (on linux). What I did:
- Check limits : ulimit -a
- check 2 lines in output:
open files (-n) 1024 max user processes (-u) 1024
Set both parameters ( for example in your .bash_profile eg: /etc/profile)
ulimit -SHn 100000 ulimit -SHu 100000
In my case I had to change both parameters to solve the problem.