Re: NIO Thread Madness

2025-03-31 Thread Christopher Schultz
users@tomcat.apache.org Subject: Re: NIO Thread Madness William, On 3/31/25 2:31 PM, William Crowell wrote: Question related to this. I found issue DBCP-599 which was released in DBCP 2.13.0 as part of Apache Tomcat 9.0.98 release. The characteristics of this major bug appear very similar to the issue

Re: NIO Thread Madness

2025-03-31 Thread William Crowell
under Tomcat or is that an interface from Tomcat into Apache Commons DBCP2? Regards, William Crowell From: William Crowell Date: Friday, March 28, 2025 at 12:22 PM To: Tomcat Users List Subject: Re: NIO Thread Madness Very good idea Chriis. Thank you. Regards, William Crowell From

Re: NIO Thread Madness

2025-03-31 Thread William Crowell
te: Friday, March 28, 2025 at 12:22 PM > To: Tomcat Users List > Subject: Re: NIO Thread Madness > Very good idea Chriis. Thank you. > > Regards, > > William Crowell > > From: Christopher Schultz > Date: Friday, March 28, 2025 at 12:05 PM > To: users@tomcat.apache.o

Re: NIO Thread Madness

2025-03-31 Thread Christopher Schultz
omcat Users List Subject: Re: NIO Thread Madness Very good idea Chriis. Thank you. Regards, William Crowell From: Christopher Schultz Date: Friday, March 28, 2025 at 12:05 PM To: users@tomcat.apache.org Subject: Re: NIO Thread Madness William, On 3/26/25 7:06 PM, William Crowell wrote: That max

Re: NIO Thread Madness

2025-03-28 Thread William Crowell
Very good idea Chriis. Thank you. Regards, William Crowell From: Christopher Schultz Date: Friday, March 28, 2025 at 12:05 PM To: users@tomcat.apache.org Subject: Re: NIO Thread Madness William, On 3/26/25 7:06 PM, William Crowell wrote: > That maxTotal was a typo due to trying to copy

Re: NIO Thread Madness

2025-03-28 Thread Christopher Schultz
arate pool. -chris From: Christopher Schultz Date: Wednesday, March 26, 2025 at 6:57 PM To: users@tomcat.apache.org Subject: Re: NIO Thread Madness William, On 3/25/25 2:51 PM, William Crowell wrote: Mark, I think we might have found something. I think the DBCP2 connection pool is retur

Re: NIO Thread Madness

2025-03-26 Thread William Crowell
Crowell From: Christopher Schultz Date: Wednesday, March 26, 2025 at 6:57 PM To: users@tomcat.apache.org Subject: Re: NIO Thread Madness William, On 3/25/25 2:51 PM, William Crowell wrote: > Mark, > > I think we might have found something. I think the DBCP2 connection pool is > ret

Re: NIO Thread Madness

2025-03-26 Thread Christopher Schultz
n't do it right, you can leak connections from your pool very easily. -chris From: Mark Thomas Date: Tuesday, March 25, 2025 at 1:13 PM To: users@tomcat.apache.org Subject: Re: NIO Thread Madness On 25/03/2025 12:33, William Crowell wrote: Mark, I believe there is a proxy involved here t

Re: NIO Thread Madness

2025-03-25 Thread William Crowell
To: users@tomcat.apache.org Subject: Re: NIO Thread Madness On 25/03/2025 12:33, William Crowell wrote: > Mark, > > I believe there is a proxy involved here that does TLS decrypt, but I noticed > they had the redirectPort on the 8080 connector set to 8443. When you try to > hit

Re: NIO Thread Madness

2025-03-25 Thread Mark Thomas
em? Mark Regards, William Crowell From: Mark Thomas Date: Tuesday, March 25, 2025 at 8:27 AM To: users@tomcat.apache.org Subject: Re: NIO Thread Madness On 25/03/2025 11:24, William Crowell wrote: Chris, Looking at JMX is the next step. I make a request and Tomcat never returns, and I do

Re: NIO Thread Madness

2025-03-25 Thread William Crowell
, 2025 at 8:27 AM To: users@tomcat.apache.org Subject: Re: NIO Thread Madness On 25/03/2025 11:24, William Crowell wrote: > Chris, > > Looking at JMX is the next step. I make a request and Tomcat never returns, > and I do not get a “connection refused”. It just sits and hangs. Look

Re: NIO Thread Madness

2025-03-25 Thread Mark Thomas
connect to Tomcat? HTTP and 8080? Are you connecting directly to Tomcat or is there a proxy involved at all? Mark Regards, William Crowell From: Christopher Schultz Date: Tuesday, March 25, 2025 at 7:20 AM To: users@tomcat.apache.org Subject: Re: NIO Thread Madness William, On 3/24/25 2:56 PM

Re: NIO Thread Madness

2025-03-25 Thread William Crowell
Chris, Looking at JMX is the next step. I make a request and Tomcat never returns, and I do not get a “connection refused”. It just sits and hangs. Regards, William Crowell From: Christopher Schultz Date: Tuesday, March 25, 2025 at 7:20 AM To: users@tomcat.apache.org Subject: Re: NIO

Re: NIO Thread Madness

2025-03-25 Thread Christopher Schultz
William, On 3/24/25 2:56 PM, William Crowell wrote: I am running Apache Tomcat 9.0.97 on Windows Server 2022. I’m running Oracle JDK 1.8.0_371-b11 with a 4GB min heap and a 16GB max heap. I have an application deployed on this server that is hitting an Oracle database server. I have noticed

Re: NIO Thread Madness

2025-03-25 Thread Mark Thomas
William Crowell From: Mark Thomas Sent: Tuesday, March 25, 2025 5:09:20 AM To: users@tomcat.apache.org Subject: Re: NIO Thread Madness On 24/03/2025 18:56, William Crowell wrote: Are there any logs I can enable to find out why the application server stops accepting connections? I'd sug

Re: NIO Thread Madness

2025-03-25 Thread William Crowell
From: Mark Thomas Sent: Tuesday, March 25, 2025 5:09:20 AM To: users@tomcat.apache.org Subject: Re: NIO Thread Madness On 24/03/2025 18:56, William Crowell wrote: > Are there any logs I can enable to find out why the application server stops > accepting connections? I

Re: NIO Thread Madness

2025-03-25 Thread Mark Thomas
On 24/03/2025 18:56, William Crowell wrote: Are there any logs I can enable to find out why the application server stops accepting connections? I'd suggest taking 3 thread dumps approx 5s apart when this happens. Hopefully you'll see a bunch of threads waiting on the database and where th