Hello, I am observing slow shutdown of Tomcat 8 on Windows 10 - some 9 - 11 seconds. I observed this first with Tomcat 8.5.16, but then checked it on older versions and I found the same from 8.5.11 onward. Before that it stops for less than a second.
Most time is spent in stopping the protocol handlers - about 2 seconds for each. Profiling shows that the waiting is in the java.net.NetworkInterface.getNetworkInterfaces() method in AbstractEndpoint class. However, one strange thing is that I observe this behavior when I am connected to one network, bot on another network the delay is not observed and the server stops for less than a second. Has anybody experienced similar problems? Regards, Lazar