Spring Boot 3.3.5 webflux dependency causing threads to block with state of TIMED_WAITING #33912
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
status: feedback-reminder
We've sent a reminder that we need additional information before we can continue
status: waiting-for-feedback
We need additional information before we can continue
status: waiting-for-triage
An issue we've not yet triaged or decided on
theme: kotlin
An issue related to Kotlin support
Running on:
openjdk 22.0.2
, Kotlin:2.0.21
, Spring Boot:3.3.5
, Spring Cloud:2023.0.3
.My Project is a REST API using Hikari for connection pooling. When I run many concurrent requests against my app, I can see that some connections never return to HikariPool
I got a thread dump and can see many threads are in
TIMED_WAITING
state.All the
waiting on condition
threads are running KotlinrunBloking
code in which I'm usingorg.springframework.web.reactive.function.client.WebClient
.As an example,
Note that:
3.3.5
brings inspring-webflux
version6.1.14
.3.3.4
which brings inspring-webflux
version6.1.13
.If I override
spring-webflux
in my pom back to6.1.13
everything works just fine. There are no threads inTIMED_WAITING
and HiKari pool will show active connection of0
at the end of my concurrent test.Is this a bug related to
spring-webflux
version6.1.14
?The text was updated successfully, but these errors were encountered: