-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Mark,
On 10/18/16 4:19 PM, Mark Thomas wrote: > On 18/10/2016 19:43, Rallavagu wrote: >> Tomcat 7.0.70, JDK 1.7.0_80 $java -version java version >> "1.7.0_80" Java(TM) SE Runtime Environment (build 1.7.0_80-b15) >> Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode) >> >> There are many threads BLOCKED as below and due to this these >> threads are very slow. > > That is an outgoing TLS connection and essentially nothing to do > with Tomcat. +1 >> Anybody else experienced this? Am I hitting following JDK bug? >> >> https://bugs.openjdk.java.net/browse/JDK-6432000 > > Looks possible. Definitely possible. However, my guess is that whatever com.dice.api.util.service.DiceHTTPClient is is re-initializing the SSLSocketFactory for every request. If you have control over the code that is calling DiceHTTPClient.getGetDeleteResponse, you might want to see if you can create an SSLSocketFactory a single time and then re-use it for all your outgoing connection (or as many as are appropriate -- you may need a different trust store for each remote endpoint for example). - -chris -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJYCAl7AAoJEBzwKT+lPKRY150QALwoTDIYdHf1AlLRb8+Tx+N9 Gnu6WVVpvepdsppiPoTyP/s9SBCTQasO6AqzE2peHo7i9dTe2VeaIAgaPVCq6cO1 yeCMVAQ865cVzkThw4HQRwXJF6mcDOVatUtPtS8xm0HXUwjVZT/9COM5aF/BXMT4 9I5N2JSj571tuGriKqTq7Lgm1/DHQLXQENhFiuYhweiYgnkOT287dJcyQiBNAwGM yawUWBCQ2bbg46eXrj5/eOy92rFTL42SkJn+FHHQCESFxQ9ODY8wJN3EwRg449ZV 8nNrEXEmQ5qtokgFM5NEUvLMw6fj+kjLH/SUenyICNkIWph67w1RkHvDiUxlxLj7 SLvJ7NYl9ep0gYxO/aD+GQUKT0TmhjbTzcjKuENquHf0x12q1fvDCS0lO2YwhjOF R8/89ZcNl1h0j+FlMDWpcSuLGtFOI6NK1xfdl5XW3uXRQEEbBZDHWOX5esBcxOM2 jfHJ1Ge4Cug+vRLnTAYD0b1UTUN/h5ySR6Bv63GTro645B9Flj4dRx2XHR5REHRB ZIRPtBfQlkQ77gEEfZrbqLvIbgYpyjlwSZ58j2GYy0qGpmleunhExUoGzSBDQpBE PoHHNa+lzHVGKqLaACjIc9rnZle/4FhY2VWEsmgue78eJuNSK6URzZ16Q+aFD5ET N3h561PCVQSqeEb3H5pN =m4/h -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org