Processed: /data/archive Processing started: 2017-05-02 13:29:32 Processing completed: 2017-05-03 11:09:08 Processing time: 21.66h Processed 2,151,351 directories. Processed 13,138,509 files at 168 files/sec. Found 43,139 symlinks. Average number of files per directory is 6.11. Created 10,278,937 hard links. You have 2,859,572 unique files. Your percentage of unique files is 21.76%.
Daily Archives: 2017-05-03 [Wednesday]
fs.inotify.max_user_watches
I had an error tailing my web logs, like this:
==> test.jj5.net-error.log <== tail: inotify resources exhausted tail: inotify cannot be used, reverting to polling
I found tail: “inotify resources exhausted” and/or “inotify cannot be used, reverting to polling: Too many open files” which said to edit /etc/sysctl.conf with:
# # 2017-05-03 jj5 - SEE: tail inotify resources exhausted: # https://nefaria.com/2014/08/tail-inotify-resources-exhausted/ # fs.inotify.max_user_watches=1048576
Then to apply the new settings:
# sysctl -p