RFR: 8290178: failure_handler: run netstat without name lookups

Jaikiran Pai jpai at openjdk.org
Wed Jul 13 06:04:42 UTC 2022


On Tue, 12 Jul 2022 13:16:12 GMT, Daniel Jeliński <djelinski at openjdk.org> wrote:

> `netstat -av` in Mac OS X failure handler is frequently running into the 20 second timeout, leaving us with no socket information. This PR proposes running `netstat -anv` along with the existing `netstat -av`, so that we have at least some socket information if the original command times out.
> 
> `netstat -anv` does not perform reverse DNS lookups on the socket IP addresses. The output contains IP addresses instead of DNS names. The command usually finishes in a few milliseconds.

Looks fine to me.

@lmesnik, could you also please take a look at this change?

-------------

Marked as reviewed by jpai (Reviewer).

PR: https://git.openjdk.org/jdk/pull/9469


More information about the core-libs-dev mailing list