HTTPS access to admin console in EAP6 is very slow when DNS is down
Issue
- HTTPS access to admin console in EAP6 is very slow when DNS is down or slow
- Thread dumps show SSL console connections stalled in DNS lookups like the following:
[Host Controller] "HttpManagementService-threads - 3" prio=10 tid=0x00007fd1c055e800 nid=0xf959 runnable [0x00007fd1d90f3000]
[Host Controller] java.lang.Thread.State: RUNNABLE
[Host Controller] at java.net.Inet4AddressImpl.getHostByAddr(Native Method)
[Host Controller] at java.net.InetAddress$1.getHostByAddr(InetAddress.java:905)
[Host Controller] at java.net.InetAddress.getHostFromNameService(InetAddress.java:590)
[Host Controller] at java.net.InetAddress.getHostName(InetAddress.java:532)
[Host Controller] at java.net.InetAddress.getHostName(InetAddress.java:504)
[Host Controller] at java.net.InetSocketAddress$InetSocketAddressHolder.getHostName(InetSocketAddress.java:82)
[Host Controller] at java.net.InetSocketAddress$InetSocketAddressHolder.access$600(InetSocketAddress.java:56)
[Host Controller] at java.net.InetSocketAddress.getHostName(InetSocketAddress.java:345)
[Host Controller] at org.jboss.sun.net.httpserver.SSLStreams.<init>(SSLStreams.java:73)
[Host Controller] at org.jboss.sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:554)
[Host Controller] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[Host Controller] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[Host Controller] at java.lang.Thread.run(Thread.java:745)
[Host Controller] at org.jboss.threads.JBossThread.run(JBossThread.java:122)
Environment
- JBoss Enterprise Application Platform (EAP) 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.