Too many open files

为什么80%的码农都做不了架构师?>>>    业务异常信息中包含了“too many open files”,最后定为是重启JAVA进程的时候,文件最大打开数被设置小了。    1、查看Java进程能够打开的最大文件数 cat /proc/[pid]/limits,其中max open files就是能打开的最大文件数。       2、查看java进程现在打开的文件数 lsof -p [pid
相关文章
相关标签/搜索