jetty.project icon indicating copy to clipboard operation
jetty.project copied to clipboard

worker thread blocked on HttpOutput Blocker

Open dc-orz opened this issue 5 months ago • 2 comments
trafficstars

Jetty version(s)

12.0.14

Java version/vendor (use: java -version) Temurin-23.0.1+11 (build 23.0.1+11)

Description

Hi there, I observed Jetty threads blocked on HttpWriter.write after running a benchmark. My thread dump is shown below: Image

However, there are only a few active connections (confirmed via ConnectionStatistics metrics):

Image

I configured idleTimeout using httpsConnector.setIdleTimeout(...), but it does not seem to resolve the issue.

dc-orz avatar May 26 '25 04:05 dc-orz

Upgrade to Jetty 12.0.21 and try again. There's been many improvements in this area since 12.0.14.

joakime avatar May 26 '25 11:05 joakime

Upgrade to Jetty 12.0.21 and try again. There's been many improvements in this area since 12.0.14.

Thanks. Looks good to me. :-) Could you roughly explain the reasons behind it?

dc-orz avatar May 26 '25 17:05 dc-orz