RFR: 8145663: java/nio/channels/SocketChannel/CloseDuringWrite.java timed out intermittently
Alan Bateman
Alan.Bateman at oracle.com
Sun Jan 17 10:01:37 UTC 2016
On 15/01/2016 10:57, Hamlin Li wrote:
> Hi everyone,
>
> Would you please help to review the fix for bug
> https://bugs.openjdk.java.net/browse/JDK-8145663,
> java/nio/channels/SocketChannel/CloseDuringWrite.java timed out
> intermittently.
> webrev: http://cr.openjdk.java.net/~mli/8145663/webrev.00/
I suspect this is the same issue as JDK-8133093 where we running this
test on Solaris when resources are at exhaustion point. I hope Michael
will jump in here too to summarize how accept behaves on Solaris when
trying to get a loopback connection and the kernel is out of file
descriptors or connections.
One thing that would be useful is for these "same binary runs" is
capture the netstat output so that we can see how many local connections
are in timed wait. One other thing is to look at file descriptor usage
after each test - I've done this in the past in other to track down
tests that are leaking file descriptors as such leaks can accumulate in
agent VM test runs and cause issues for tests that run much latter in
the test run.
-Alan
More information about the nio-dev
mailing list