I have an application which keeps giving me the following error.
tail: inotify cannot be used, reverting to polling: Too many open files
I have already followed all the advice I've been able to find on web searches, and have changed the number of open file descriptors in all ways I know how. I've also rebooted the server. What might still be blocking my process from opening more files?
Some useful data:
# lsof | wc -l
8347
$ lsof -u <username> | wc -l
7533
$ cat /proc/sys/fs/file-max
98349
$ cat /etc/security/limits.conf
...
<username> soft nofile 32768
<username> hard nofile 65536
...
$ ulimit -Hn
65536
$ ulimit -Sn
32768