-
Bug
-
Resolution: Fixed
-
P4
-
8, 11
-
b18
-
generic
-
generic
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8296793 | 17.0.7-oracle | Ryan Wallace | P4 | Resolved | Fixed | b01 |
JDK-8299372 | 17.0.7 | Goetz Lindenmaier | P4 | Resolved | Fixed | b01 |
JDK-8310945 | 11.0.21 | Severin Gehwolf | P4 | Resolved | Fixed | b01 |
JDK-8299602 | 11.0.18.0.1-oracle | Dukebot | P4 | Resolved | Fixed | b01 |
JDK-8297063 | 11.0.17.0.3-oracle | Dukebot | P4 | Closed | Fixed | b01 |
JDK-8332175 | openjdk8u422 | Dhamoder Nalla | P4 | Resolved | Fixed | b02 |
Linux : "Red Hat Enterprise Linux Server" "7.9 (Maipo)"
Java : jdk-11.0.14
A DESCRIPTION OF THE PROBLEM :
Hello
we faced issues with blocked threads on KeepAliveCache.get
We have a front app which calls a backend app on the same server, sometimes we observe that the front app didn't work, blocked on the calls to the backend. The backend didn't seem receiving the requests…
The local http call from the front App is done with Spring RestTemplate we observe simultaneous blocked threads on different parallelized servers at the same time…
Without exceptions... We used Dynatrace and we can see the stack. I can send to you some screenshots. The app is stuck, impossible to use and after some minutes (15min) it comes back to live.
KeepAliveCache.get
Built-In JRE | sun.net.www.http
HttpClient.New
Built-In JRE | sun.net.www.http
HttpClient.New
Built-In JRE | sun.net.www.http
HttpURLConnection.getNewHttpClient
Built-In JRE | sun.net.www.protocol.http
HttpURLConnection.plainConnect0
Built-In JRE | sun.net.www.protocol.http
HttpURLConnection.plainConnect
Built-In JRE | sun.net.www.protocol.http
HttpURLConnection.connect
Built-In JRE | sun.net.www.protocol.http
SimpleBufferingClientHttpRequest.executeInternal
Built-In Spring | org.springframework.http.client
AbstractBufferingClientHttpRequest.executeInternal
Built-In Spring | org.springframework.http.client
AbstractClientHttpRequest.execute
Built-In Spring | org.springframework.http.client
InterceptingClientHttpRequest$InterceptingRequestExecution.execute
Built-In Spring | org.springframework.http.client
TracingClientHttpRequestInterceptor.intercept
Built-In Spring | org.springframework.cloud.sleuth.instrument.web.mvc
LazyTraceClientHttpRequestInterceptor.intercept
Built-In Spring | org.springframework.cloud.sleuth.instrument.web.client
InterceptingClientHttpRequest$InterceptingRequestExecution.execute
Built-In Spring | org.springframework.http.client
InterceptingClientHttpRequest.executeInternal
Built-In Spring | org.springframework.http.client
AbstractBufferingClientHttpRequest.executeInternal
Built-In Spring | org.springframework.http.client
AbstractClientHttpRequest.execute
Built-In Spring | org.springframework.http.client
RestTemplate.doExecute
Built-In Spring | org.springframework.web.client
RestTemplate.execute
Built-In Spring | org.springframework.web.client
RestTemplate.exchange
Built-In Spring | org.springframework.web.client
HealthCheckController.isGridUpAndRunning
Java | com.bnpparibas.dsibddf.cas.web
here some java parameters :
/apps/JRE11/lastJDK/bin/java -server -Xms3g -Xmx3g -XX:+AlwaysPreTouch -XX:+UseG1GC -XX:+ScavengeBeforeFullGC -XX:+DisableExplicitGC -XX:MaxGCPauseMillis=100 -XX:G1ReservePercent=10 -Dlogging.config=/……/log4j2.xml -jar /…./mywar.war
KeepAliveCache.get
Built-In JRE | sun.net.www.http
HttpClient.New
Built-In JRE | sun.net.www.http
HttpClient.New
Built-In JRE | sun.net.www.http
HttpURLConnection.getNewHttpClient
Built-In JRE | sun.net.www.protocol.http
HttpURLConnection.plainConnect0
Built-In JRE | sun.net.www.protocol.http
HttpURLConnection.plainConnect
Built-In JRE | sun.net.www.protocol.http
HttpURLConnection.connect
Built-In JRE | sun.net.www.protocol.http
SimpleBufferingClientHttpRequest.executeInternal
Built-In Spring | org.springframework.http.client
AbstractBufferingClientHttpRequest.executeInternal
Built-In Spring | org.springframework.http.client
AbstractClientHttpRequest.execute
Built-In Spring | org.springframework.http.client
InterceptingClientHttpRequest$InterceptingRequestExecution.execute
Built-In Spring | org.springframework.http.client
TracingClientHttpRequestInterceptor.intercept
Built-In Spring | org.springframework.cloud.sleuth.instrument.web.mvc
LazyTraceClientHttpRequestInterceptor.intercept
Built-In Spring | org.springframework.cloud.sleuth.instrument.web.client
InterceptingClientHttpRequest$InterceptingRequestExecution.execute
Built-In Spring | org.springframework.http.client
InterceptingClientHttpRequest.executeInternal
Built-In Spring | org.springframework.http.client
AbstractBufferingClientHttpRequest.executeInternal
Built-In Spring | org.springframework.http.client
AbstractClientHttpRequest.execute
Built-In Spring | org.springframework.http.client
RestTemplate.doExecute
Built-In Spring | org.springframework.web.client
RestTemplate.execute
Built-In Spring | org.springframework.web.client
RestTemplate.exchange
Built-In Spring | org.springframework.web.client
HealthCheckController.isGridUpAndRunning
Java | com.bnpparibas.dsibddf.cas.web
here some java parameters :
/apps/JRE11/lastJDK/bin/java -server -Xms3g -Xmx3g -XX:+AlwaysPreTouch -XX:+UseG1GC -XX:+ScavengeBeforeFullGC -XX:+DisableExplicitGC -XX:MaxGCPauseMillis=100 -XX:G1ReservePercent=10 -Dlogging.config=/……/log4j2.xml -jar /…./mywar.war
FREQUENCY : occasionally
- backported by
-
JDK-8296793 KeepAliveCache Blocks Threads while Closing Connections
- Resolved
-
JDK-8299372 KeepAliveCache Blocks Threads while Closing Connections
- Resolved
-
JDK-8299602 KeepAliveCache Blocks Threads while Closing Connections
- Resolved
-
JDK-8310945 KeepAliveCache Blocks Threads while Closing Connections
- Resolved
-
JDK-8332175 KeepAliveCache Blocks Threads while Closing Connections
- Resolved
-
JDK-8297063 KeepAliveCache Blocks Threads while Closing Connections
- Closed
- duplicates
-
JDK-8295250 Backport request for JDK-8293562
- Closed
-
JDK-8308253 KeepAliveCache Blocks Threads while Closing Connections - Regression
- Closed
-
JDK-8296438 Objects locks held during SSL Socket close and waits for server close notify only with TLSv1.3
- Closed
- is blocked by
-
JDK-8296943 sun/net/www/http/HttpClient/MultiThreadTest Failing after KeepAliveCache Backport
- Resolved
- relates to
-
JDK-8293921 SSLSocket.close waits for peer response
- Open
-
JDK-8296438 Objects locks held during SSL Socket close and waits for server close notify only with TLSv1.3
- Closed
- links to
-
Commit openjdk/jdk8u-dev/853a87a8
-
Commit openjdk/jdk11u-dev/770c1f65
-
Commit openjdk/jdk17u-dev/244d1942
-
Commit openjdk/jdk/03f25a9c
-
Review openjdk/jdk8u-dev/402
-
Review openjdk/jdk8u-dev/409
-
Review openjdk/jdk11u-dev/1825
-
Review openjdk/jdk11u-dev/1890
-
Review openjdk/jdk17u-dev/980
-
Review openjdk/jdk/10401