You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The web application [zdsspj] appears to have started a thread named [OkHttp TaskRunner] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:460)
okhttp3.internal.concurrent.TaskRunner$RealBackend.coordinatorWait(TaskRunner.kt:294)
okhttp3.internal.concurrent.TaskRunner.awaitTaskToRun(TaskRunner.kt:218)
okhttp3.internal.concurrent.TaskRunner$runnable$1.run(TaskRunner.kt:59)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
java.lang.Thread.run(Thread.java:750)
17:21:23.233 [restartedMain] WARN o.a.c.loader.WebappClassLoaderBase - The web application [zdsspj] appears to have started a thread named [Okio Watchdog] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
java.lang.Object.wait(Native Method)
okio.AsyncTimeout$Companion.awaitTimeout$okio(AsyncTimeout.kt:300)
okio.AsyncTimeout$Watchdog.run(AsyncTimeout.kt:187)
springboot项目的关闭方式为 以下方式时可以复现 @slf4j @EnableAsync
@EnableCaching
@EnableScheduling @SpringBootApplication(exclude = { SaTokenDaoRedisJackson.class })
public class PortalApplication {
The web application [zdsspj] appears to have started a thread named [OkHttp TaskRunner] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:460)
okhttp3.internal.concurrent.TaskRunner$RealBackend.coordinatorWait(TaskRunner.kt:294)
okhttp3.internal.concurrent.TaskRunner.awaitTaskToRun(TaskRunner.kt:218)
okhttp3.internal.concurrent.TaskRunner$runnable$1.run(TaskRunner.kt:59)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
java.lang.Thread.run(Thread.java:750)
17:21:23.233 [restartedMain] WARN o.a.c.loader.WebappClassLoaderBase - The web application [zdsspj] appears to have started a thread named [Okio Watchdog] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
java.lang.Object.wait(Native Method)
okio.AsyncTimeout$Companion.awaitTimeout$okio(AsyncTimeout.kt:300)
okio.AsyncTimeout$Watchdog.run(AsyncTimeout.kt:187)
springboot项目的关闭方式为 以下方式时可以复现
@slf4j
@EnableAsync
@EnableCaching
@EnableScheduling
@SpringBootApplication(exclude = { SaTokenDaoRedisJackson.class })
public class PortalApplication {
}
版本
com.dtflys.forest
forest-spring-boot-starter
1.5.36
配置
forest:
connect-timeout: 20000
read-timeout: 20000
backend: okhttp3 # 后端 HTTP 框架(默认为 okhttp3)
max-connections: 500 # 连接池最大连接数(默认为 500)
max-route-connections: 500 # 每个路由的最大连接数(默认为 500)
The text was updated successfully, but these errors were encountered: