Giuseppe Morreale wrote:
One time server.log reports too many file descriptor opened on socket exception, but next time when happend again other
Well, that is it! Increase number of file descriptors that can be open, by default it is really small (1024) for whole server.
see https://easyengine.io/tutorials/linux/increase-open-files-limit/ how to do that.
Thank you for your feedback.
Unfortunately the limit are already setup high:
cat /proc/sys/fs/file-max -> 2403066
ulimit -Hn -> 65536
ulimit -Sn -> 65536
and after undertow stop responding the file descriptor opened (lsof -f | wc -l) are less than 6000