小编gba*_*bag的帖子

tail: inotify cannot be used, reverting to polling: Too many open files

When I try to tail -f catalina.out, I get the error:

tail: inotify cannot be used, reverting to polling: Too many open files 
Run Code Online (Sandbox Code Playgroud)

I tried the answer in this post: Too many open files - how to find the culprit

lsof | awk '{ print $2; }' | sort -rn | uniq -c | sort -rn | head
Run Code Online (Sandbox Code Playgroud)

When I ran the above command, the output was

17 6115

13 6413

10 6417

10 6415

9 6418

9 6416 …
Run Code Online (Sandbox Code Playgroud)

bash tail apache2 tomcat sshd

21
推荐指数
4
解决办法
5万
查看次数

标签 统计

apache2 ×1

bash ×1

sshd ×1

tail ×1

tomcat ×1