Too many open files

爲什麼80%的碼農都做不了架構師?>>>    業務異常信息中包含了「too many open files」,最後定爲是重啓JAVA進程的時候,文件最大打開數被設置小了。    1、查看Java進程能夠打開的最大文件數 cat /proc/[pid]/limits,其中max open files就是能打開的最大文件數。       2、查看java進程現在打開的文件數 lsof -p [pid
相關文章
相關標籤/搜索