RFC on 8165823: (se) EPollArrayWrapper throws NPE if limits.conf set to 65536 and fd=65536
Alan Bateman
Alan.Bateman at oracle.com
Wed Oct 5 13:50:54 UTC 2016
On 04/10/2016 19:04, Brian Burkhalter wrote:
> The jdk7u and jdk9-dev implementatinos of EPollArrayWrapper.java are
> identical aside from the more recent copyright year in the latter.
>
Thanks for checking, I didn't realize all the changes in this area had
been back-ported. I've looked at the bug report and it is a bit
confusing. It was originally reported as being observed with 8u102 but
the java -version output is a build from jdk7u-dev I think.
In any case, if ulimit -Hn is 64k then the highest file descriptor will
be 65535. You may be right that they are change the limit dynamic, I
can't otherwise explain the exception.
-Alan.
More information about the nio-dev
mailing list