-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Mark,
On 8/1/17 8:01 AM, Mark Thomas wrote: > On 30/07/17 13:39, Lazar Kirchev wrote: >> Hello Mark, >> >> I tried with several thread dumps, but strange - I do not see in >> them blocked/waiting threads. I attach two text files with thread >> dumps. In both there can be seen the main thread in >> AbstractEndpoint code, but it's RUNNABLE. I also attach a >> screenshot from a profiling snapshot which shows similar >> stacktraces. I am afraid these stacktraces do not help much. > > <snip/> > >> "main" #1 prio=5 os_prio=0 cpu=1593.75 [reset 1593.75] ms >> elapsed=38.87 [reset 38.87] s allocated=27142056 B (25.88 MB) >> [reset 27142056 B (25.88 MB)] defined_classes=2289 io= file i/o: >> 8755720/5814 B, net i/o: 56/50 B, files opened:44, socks >> opened:14 [reset file i/o: 8755720/5814 B, net i/o: 56/50 B, >> files opened:44, socks opened:14 ] tid=0x00000000028bd800 >> nid=0x40c0 / 16576 runnable [_thread_blocked (_at_safepoint), >> stack(0x0000000002920000,0x0000000002a20000)] >> [0x0000000002a1e000] java.lang.Thread.State: RUNNABLE at >> java.net.NetworkInterface.getAll()[Ljava/net/NetworkInterface;(Native >> >> Method) > > They help in so far as they point out whatever is going wrong, is > going wrong in native code. They don't help point out where. My > best guess is some form of network configuration issue where > something isn't quite right and Java is timing out trying to > perform some form of network operation. > > I guess we could consider adding an explicit unlock address to be > used when the Connector is listening on :: or 0.0.0.0 which would > be used in preference to the current auto-detection. I'd prefer to > understand why this isn't working though. I'm curious as to what's going on, here. Why do we need a specific address to "unlock"? Can't we just unbind the socket and be done with it ? If you use 0.0.0.0/:: and the "actual" interface bound ends up being multiple interfaces, what then? There is no "one address" from which we can unbind. - -chris -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJZgKBaAAoJEBzwKT+lPKRYKfIP/12HEZ0mqsddyFN3UzgQAcJt FLZvPxx3nOjOIWzSSeBAMdHQHUlexQWx7pzmqQG2ANpY6VeOGuIbn7EMwF667IWh p1CYyn3GDLiobPGaT/u0GEK1wipRWsnWI1U+IJSZjLIb13Rc/KIzfPXWUqq7GUDO x2joF8KCzDEpHN3mPUNP+fVaIBZh/oQYGwIFuJsWKJdxr2hPLELeAM1g+vkP3Wgy xgne3uHOn8v3q0CUBFfpbG0Nf9JeyqMnNfuVuBA+bxs35HYv4FUXQ0bPy8opPUwk T7pAyyMQNydxMPUVPwBsY+Kbl01yNiE96rEGDCIwBzewXDfKK4KwoiWp9Upj2DYt l3TSO4OrHCGmAi0iRub5z9aa02gAa4wLzPR74ORv1DdTNG2u/kC4jqoawLBNPHNj qvx/8TZ/2OBkzy0Hawekx5QmAH06lp+0mw4/3loz0ngKQefrWe4NuC5l8s6a7vct cmJzpg/zhHYIyv/qYN0NedYrLOQZKe3+pdNLkipG7yWdxAX5pQdZ1Nt0HTkxTyyt sYD8y39WbcKcFhQlqSjWXC1/Ux63Hysxd4mkKTJG7CKFpHh1IvbaPd/6nc6+c5kz 7iXnRxrYp369/OHAxLC5ZGqGHqktBvc1M/RQ1+5eCOFFE63zYyQCA1FwT/Du29kX XyNxKN4vbM72NmFszRWN =kQAY -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org