Re: tomcat 8.5.57 stops killing sessions after some time

2021-08-03 Thread Ivano Luberti
Il 30/07/2021 14:54, Konstantin Kolinko ha scritto: Additional note: the "backgroundProcessorDelay" on a Context can be used to make a web application use its own background thread (instead of reusing the one inherited from its parent container). It won't help with fixing a deadlock in a

Re: tomcat 8.5.57 stops killing sessions after some time

2021-07-30 Thread Konstantin Kolinko
> [] > Il 26/07/2021 23:15, Christopher Schultz ha scritto: > > Ivano, > > > > On 7/23/21 02:20, Ivano Luberti wrote: > >> I have found the issue: one of the webapps has several thread locked > >> on a MultiThreadedHttpConnectionManager during sessionUnbound and > >> unboundEvents. > >> > >>

Re: tomcat 8.5.57 stops killing sessions after some time

2021-07-27 Thread Ivano Luberti
Thanks Chris. In this case is a bug in the (old version of the) Axis2 library we use to build and run a web service client. I have upgraded Axis2 and waiting to see if the issue resurfaces. The idea to use a new thread to manage the session event handles doesn't apply here cause of

Re: tomcat 8.5.57 stops killing sessions after some time

2021-07-26 Thread Christopher Schultz
Ivano, On 7/23/21 02:20, Ivano Luberti wrote: I have found the issue: one of the webapps has several thread locked on a MultiThreadedHttpConnectionManager during sessionUnbound and unboundEvents. So the background process killing the sessions is stuck as well. This is a very easy problem

Re: tomcat 8.5.57 stops killing sessions after some time

2021-07-23 Thread Ivano Luberti
I have found the issue: one of the webapps has several thread locked on a MultiThreadedHttpConnectionManager during sessionUnbound and unboundEvents. So the background process killing the sessions is stuck as well. Thanks for your support. Il 21/07/2021 18:13, Mark Thomas ha scritto: On

Re: tomcat 8.5.57 stops killing sessions after some time

2021-07-21 Thread Mark Thomas
On 21/07/2021 16:00, Ivano Luberti wrote: Il 21/07/2021 16:44, Mark Thomas ha scritto: Take 3 thread dumps 5 seconds apart and post them here. How to take thread dumps?  kill -3 ? That will work. There are lots of ways. This is most of them: https://www.baeldung.com/java-thread-dump

Re: tomcat 8.5.57 stops killing sessions after some time

2021-07-21 Thread Ivano Luberti
Il 21/07/2021 16:44, Mark Thomas ha scritto: Take 3 thread dumps 5 seconds apart and post them here. How to take thread dumps?  kill -3 ? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional

Re: tomcat 8.5.57 stops killing sessions after some time

2021-07-21 Thread Mark Thomas
On 21/07/2021 15:34, Ivano Luberti wrote: Hello, I'm new to the list but befeore writing this I have searched the users mailing list without finding anything useful. I have an instance of Apache Tomcat/8.5.57 running on a CentOS machine with java 1.7.0_261 Several webapps run on this

tomcat 8.5.57 stops killing sessions after some time

2021-07-21 Thread Ivano Luberti
Hello, I'm new to the list but befeore writing this I have searched the users mailing list without finding anything useful. I have an instance of Apache Tomcat/8.5.57 running on a CentOS machine with java 1.7.0_261 Several webapps run on this instance. I have noticed that after a few days