> On Aug 11, 2025, at 7:54 PM, Daniel Schwartz wrote:
>
> Rob,
>
> The system has never crashed, so I've seen a stack trace.
>
> Dan
>
(Assuming you meant “ never seen” )
Back when you were running with 32 db connections didn’t your system stop
working when it ran out of connections?
A
One additional set of suggestions for this project or for the future
(inline):
On Mon, Aug 11, 2025, 21:53 Daniel Schwartz wrote:
>
> DGS: A single simple query to my interface requires three database
> accesses, one to retrieve a list of countries, then, when the use selects a
> country, anothe
Rob,
The system has never crashed, so I've seen a stack trace.
Dan
From: Rob Sargent
Sent: Monday, August 11, 2025 9:51 PM
To: Tomcat Users List
Cc: Tomcat Users List
Subject: Re: [EXTERNAL EMAIL] RE: How to access a REST service
I'm interested in what you mean by "crashes". To me, that usua
Hi Robert,
Thanks for your thoughts. See my replies marked DSG.
Dan
-Original Message-
From: Robert Turner
Sent: Monday, August 11, 2025 9:37 PM
To: Tomcat Users List
Subject: Re: How to access a REST service
Dan,
According to your attached document, your high water mark was 269, w
I'm interested in what you mean by "crashes". To me, that usually means that
the process stops at the very least. Do you mean that the request fails, or
something much worse?
>
> DGS: By "crashes" I mean that the program terminates, usually just after
> printing out a stack trace.
>
I am s
Chris,
Again, see my replies marked DSG.
Dan
-Original Message-
From: Christopher Schultz
Sent: Monday, August 11, 2025 3:21 PM
To: users@tomcat.apache.org
Subject: Re: [EXTERNAL EMAIL] RE: How to access a REST service
Daniel,
On 8/5/25 3:05 PM, Daniel Schwartz wrote:
> I just replie
Dan,
According to your attached document, your high water mark was 269, which
means at some point you had 269 connections in the pool at once, suggesting
around that many in use at once. You likely could lower your limit to
300-500 as a result.
As a few of us have said, that is quite a high numbe
Chris,
Please see my reply marked DSG below.
Dan
-Original Message-
From: Christopher Schultz
Sent: Monday, August 11, 2025 3:25 PM
To: users@tomcat.apache.org
Subject: Re: How to access a REST service
Daniel,
On 8/7/25 4:59 PM, Daniel Schwartz wrote:
> Thank you for your reply, but
Chris,
See my reply marked DGS below.
Dan
-Original Message-
From: Christopher Schultz
Sent: Monday, August 11, 2025 3:32 PM
To: users@tomcat.apache.org
Subject: Re: How to access a REST service
Dan,
On 8/7/25 10:29 PM, Daniel Schwartz wrote:
> Robert, Chris, and others who have resp
Hi Chris,
Please see my replies after each of your comments. I have attached a copy of
the Glassfish page that shows the Connection Pool monitoring data. I don't
know what all this means, whether it is good, bad, or normal. However, I do
note the one item "NumPotentialConnLeak" with value
John,
On 8/11/25 1:17 PM, John Williams wrote:
Hi Chuck,
I tested this on Linux.
- The default somaxconn limit was 4096. I did not see any connection refused
errors with 500 threads.
- When somaxconn was reduced to 128 even, I did not see any connection refused
errors on the client, with as
Dan,
On 8/8/25 12:21 PM, Daniel Schwartz wrote:
From your and other people's replies, I'm learning that tracking
down memory leaks can be quite daunting and possibly beyond me.
No, you can definitely figure this out, and it will be well worth the
trouble.
I'm aware of the try-with-resource
Dan,
On 8/7/25 10:29 PM, Daniel Schwartz wrote:
Robert, Chris, and others who have responded to my queries,
Everyone is convinced that I have problem with my code. Here are what I
consider to be the relevant code fragments. I've also indicated where I
consider it to be possible that there m
Daniel,
On 8/7/25 4:59 PM, Daniel Schwartz wrote:
Thank you for your reply, but I'm still unsure. You seem to be implying that I
have a memory leak, i.e., many connection objects being created that are not
being closed. However, I really don't think this is happening. My code closes
each c
Daniel,
On 8/5/25 3:05 PM, Daniel Schwartz wrote:
I just replied to Rob Sargent regarding this. Did you see that reply?
> Maybe I’m not using Glassfish correctly, but if I set the maximum>
pool size to 1, the system almost immediately outputs an error
message saying that it is unable to allo
Hi Chuck,
I tested this on Linux.
- The default somaxconn limit was 4096. I did not see any connection refused
errors with 500 threads.
- When somaxconn was reduced to 128 even, I did not see any connection refused
errors on the client, with as many as 2000 concurrent threads being used to
e
16 matches
Mail list logo