bug: FileRequestHandler error: Too many open files
rxnetty-0.4.4
at FileRequestHandler.java:95: Too many open files. RandomAccessFile not closed.
Steps to reproduce the bug:
1.
netstat -anp|grep 25001 20576
ls -l /proc/20576/fd/ | wc -l 0
access the static file uri
ls -l /proc/20576/fd/ | wc -l 15
error:
java.io.FileNotFoundException: /home/c/resources/static/user/index.html (Too many open files)\n\t
at java.io.RandomAccessFile.open(Native Method)\n\tat java.io.RandomAccessFile.
Thanks @chen56 for reporting the issue, will look at it.