Re: Tomcat doesn't gracefully close keep-alive connections

2022-11-21 Thread M. Thiim
e > >>> connectionLimitLatch and this is specifically nulled out during the > >>> pause > >>> phase (I suppose because it also has the function of limiting > >>> connections), > >>> so the getConnectionCount() method returns -1 even if there are open

Re: Tomcat doesn't gracefully close keep-alive connections

2022-11-18 Thread Christopher Schultz
I can clean up and share the patch, but let me know if you think it should be done differently than described above. :-) Br,  M. Thiim Den fre. 18. nov. 2022 kl. 14.34 skrev Mark Thomas : On 17/11/2022 19:39, M. Thiim wrote: Hi, We have observed that Tomcat doesn't gracefully clos

Re: Tomcat doesn't gracefully close keep-alive connections

2022-11-18 Thread M. Thiim
t;>> Connection: keep-alive > >>> > >>> Thereby informing the client of the full 20 sec. keepalive timeout, > >> making > >>> it think it can keep using the connection - so the client ends up > getting > >>> the same error just with a

Re: Tomcat doesn't gracefully close keep-alive connections

2022-11-18 Thread Mark Thomas
ends up getting the same error just with a 20 second delay... In fact, the server even accepts completely new connections during the graceful shutdown period period. Br, M. Thiim Den fre. 18. nov. 2022 kl. 14.34 skrev Mark Thomas : On 17/11/2022 19:39, M. Thiim wrote: Hi, We have observed th

Re: Tomcat doesn't gracefully close keep-alive connections

2022-11-18 Thread M. Thiim
can keep using the connection - so the client ends up getting > > the same error just with a 20 second delay... In fact, the server even > > accepts completely new connections during the graceful shutdown period > > period. > > > > Br, M. Thiim > > > > Den fre. 18

Re: Tomcat doesn't gracefully close keep-alive connections

2022-11-18 Thread Mark Thomas
eriod. Br, M. Thiim Den fre. 18. nov. 2022 kl. 14.34 skrev Mark Thomas : On 17/11/2022 19:39, M. Thiim wrote: Hi, We have observed that Tomcat doesn't gracefully close keep-alive connections. Tomcat waits for already started requests to complete, but once those are done, Tomcat will close

Re: Tomcat doesn't gracefully close keep-alive connections

2022-11-18 Thread M. Thiim
> On 17/11/2022 19:39, M. Thiim wrote: > > Hi, > > > > We have observed that Tomcat doesn't gracefully close > > keep-alive connections. Tomcat waits for already started requests to > > complete, but once those are done, Tomcat will close all connections

Re: Tomcat doesn't gracefully close keep-alive connections

2022-11-18 Thread Mark Thomas
: On 17/11/2022 19:39, M. Thiim wrote: Hi, We have observed that Tomcat doesn't gracefully close keep-alive connections. Tomcat waits for already started requests to complete, but once those are done, Tomcat will close all connections immediately, irrespective of any configured keepAli

Re: Tomcat doesn't gracefully close keep-alive connections

2022-11-18 Thread Mark Thomas
ow if you think it should be done differently than described above. :-) Br, M. Thiim Den fre. 18. nov. 2022 kl. 14.34 skrev Mark Thomas : On 17/11/2022 19:39, M. Thiim wrote: Hi, We have observed that Tomcat doesn't gracefully close keep-alive connections. Tomcat waits for already started

Re: Tomcat doesn't gracefully close keep-alive connections

2022-11-18 Thread M. Thiim
ifferently than described above. :-) Br, M. Thiim Den fre. 18. nov. 2022 kl. 14.34 skrev Mark Thomas : > On 17/11/2022 19:39, M. Thiim wrote: > > Hi, > > > > We have observed that Tomcat doesn't gracefully close > > keep-alive connections. Tomcat waits for already

Re: Tomcat doesn't gracefully close keep-alive connections

2022-11-18 Thread Mark Thomas
On 17/11/2022 19:39, M. Thiim wrote: Hi, We have observed that Tomcat doesn't gracefully close keep-alive connections. Tomcat waits for already started requests to complete, but once those are done, Tomcat will close all connections immediately, irrespective of any configured keepAliveTi

Tomcat doesn't gracefully close keep-alive connections

2022-11-17 Thread M. Thiim
Hi, We have observed that Tomcat doesn't gracefully close keep-alive connections. Tomcat waits for already started requests to complete, but once those are done, Tomcat will close all connections immediately, irrespective of any configured keepAliveTimeout. This causes problems for some