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)