RE: Trouble with HTTP/2 during concurrent bulk data transfer (server -> client)

2021-06-16 Thread Deshmukh, Kedar
You are right. Actually, my concern is if useAsyncIO="true" gives better results in general then should it be good idea to wait for that as we are still assessing the HTTP/2 behavior in context of our application. Thanks, Kedar -Original Message- From: Mark Thomas Sent: Thursday,

Re: [OT] Trouble with HTTP/2 during concurrent bulk data transfer (server -> client)

2021-06-16 Thread Christopher Schultz
Mark, On 6/16/21 17:02, Mark Thomas wrote: On 16/06/2021 19:42, Deshmukh, Kedar wrote: Thanks Mark for the quick update. Can you please provide how useAsyncIO="false" makes impact in terms of performance, scalability (number of connections to the server) and reliability ? Well, if you set

RE: CATALINA_OPTS vs JAVA_OPTS

2021-06-16 Thread jonmcalexander
Thanks Chris! Dream * Excel * Explore * Inspire Jon McAlexander Infrastructure Engineer Asst Vice President Middleware Product Engineering Enterprise CIO | Platform Services | Middleware | Infrastructure Solutions 8080 Cobblestone Rd | Urbandale, IA 50322 MAC: F4469-010 Tel 515-988-2508 | Cell

[ANN] Apache Tomcat 8.5.68 available

2021-06-16 Thread Christopher Schultz
The Apache Tomcat team announces the immediate availability of Apache Tomcat 8.5.68. Apache Tomcat 8 is an open source software implementation of the Java Servlet, JavaServer Pages, Java Unified Expression Language, Java WebSocket and Java Authentication Service Provider Interface for Containers

Re: Trouble with HTTP/2 during concurrent bulk data transfer (server -> client)

2021-06-16 Thread Mark Thomas
On 16/06/2021 19:42, Deshmukh, Kedar wrote: Thanks Mark for the quick update. Can you please provide how useAsyncIO="false" makes impact in terms of performance, scalability (number of connections to the server) and reliability ? Well, if you set useAsyncIO="false" it works. If you set

Re: [ANN] Apache Tomcat 8.5.68 available

2021-06-16 Thread Christopher Schultz
All, Apologies for the repeated messages. I'm getting bounces from the cross-posted announce@ mailing lists because I'm not emailing from @apache.org source. I think I just need one last try... -chris On 6/16/21 16:53, Christopher Schultz wrote: The Apache Tomcat team announces the

Re: Trouble with HTTP/2 during concurrent bulk data transfer (server -> client)

2021-06-16 Thread Mark Thomas
On 16/06/2021 21:52, Christopher Schultz wrote: Mark, On 6/16/21 14:10, Mark Thomas wrote: On 16/06/2021 18:47, Rémy Maucherat wrote: On Wed, Jun 16, 2021 at 7:36 PM Mark Thomas wrote: On 16/06/2021 18:01, Deshmukh, Kedar wrote: I have one additional question at this point. How easy is

[ANN] Apache Tomcat 8.5.68 available

2021-06-16 Thread Christopher Schultz
The Apache Tomcat team announces the immediate availability of Apache Tomcat 8.5.68. Apache Tomcat 8 is an open source software implementation of the Java Servlet, JavaServer Pages, Java Unified Expression Language, Java WebSocket and Java Authentication Service Provider Interface for Containers

Re: CATALINA_OPTS vs JAVA_OPTS

2021-06-16 Thread Mark Thomas
And to expand on one other point, the shutdown mechanism is different for the Windows Service (assuming you are using default jvm mode). You don't have to worry about creating a whole new Java process just to send the shutdown command to the shutdown port. Mark On 16/06/2021 21:47,

Re: Trouble with HTTP/2 during concurrent bulk data transfer (server -> client)

2021-06-16 Thread Christopher Schultz
Mark, On 6/16/21 14:10, Mark Thomas wrote: On 16/06/2021 18:47, Rémy Maucherat wrote: On Wed, Jun 16, 2021 at 7:36 PM Mark Thomas wrote: On 16/06/2021 18:01, Deshmukh, Kedar wrote: I have one additional question at this point. How easy is this issue to reproduce? Does it happen every

Re: CATALINA_OPTS vs JAVA_OPTS

2021-06-16 Thread Christopher Schultz
Jon, On 6/16/21 14:31, jonmcalexan...@wellsfargo.com.INVALID wrote: Ok, so this is a really good explanation. However, when setting up in Windows as a Service, does the JAVA_OPTIONS in the Registry go in as JAVA_OPTS or CATALINA_OPTS? Is there a way to have separate CATALINA_OPTS for Tomcat

Re: CATALINA_OPTS vs JAVA_OPTS

2021-06-16 Thread Christopher Schultz
Noelette, On 6/16/21 13:31, Noelette Stout wrote: ok, one more question for clarification :-) The vendor docs say this: "Define CATALINA_OPTS to configure the following JVM settings: CATALINA_OPTS=-server -Xms2048m -Xmx4g -XX:MaxMetaspaceSize=512m Note:If you are deploying multiple [vendor]

RE: CATALINA_OPTS vs JAVA_OPTS

2021-06-16 Thread jonmcalexander
Yes, but ultimately it is running Java, so was curious. Is there even a need of both when running as a Windows service? These are probably "duh" questions, but just want to fully "get it". Thanks, Dream * Excel * Explore * Inspire Jon McAlexander Infrastructure Engineer Asst Vice President

Re: CATALINA_OPTS vs JAVA_OPTS

2021-06-16 Thread Olaf Kock
Service configurations are service configurations. You won't run the other options as service, so those are for the JVM that is used for the service. And I'm not aware that a service is stopped as the command line version. At least I'd hope so - a standard JVM would be good enough, if the

RE: Trouble with HTTP/2 during concurrent bulk data transfer (server -> client)

2021-06-16 Thread Deshmukh, Kedar
Thanks Mark for the quick update. Can you please provide how useAsyncIO="false" makes impact in terms of performance, scalability (number of connections to the server) and reliability ? Regards, Kedar -Original Message- From: Mark Thomas Sent: Wednesday, June 16, 2021 11:41 PM To:

RE: [Possible Spam] Re: CATALINA_OPTS vs JAVA_OPTS

2021-06-16 Thread Mark A. Claassen
While on the subject of CATALINA_OPTS. In 9.0.46, the catalina.sh script displays these when it runs. I have several options in the CATALINA_OPTS, which makes this pretty long. I don't remember it being this way in the past. I would imagine that if this was changed to be like this, there was

RE: CATALINA_OPTS vs JAVA_OPTS

2021-06-16 Thread jonmcalexander
Ok, so this is a really good explanation. However, when setting up in Windows as a Service, does the JAVA_OPTIONS in the Registry go in as JAVA_OPTS or CATALINA_OPTS? Is there a way to have separate CATALINA_OPTS for Tomcat Windows Services? Thanks, Dream * Excel * Explore * Inspire Jon

Re: Trouble with HTTP/2 during concurrent bulk data transfer (server -> client)

2021-06-16 Thread Mark Thomas
On 16/06/2021 18:47, Rémy Maucherat wrote: On Wed, Jun 16, 2021 at 7:36 PM Mark Thomas wrote: On 16/06/2021 18:01, Deshmukh, Kedar wrote: I have one additional question at this point. How easy is this issue to reproduce? Does it happen every time? In 10% of requests? 1% ? [Kedar] It is

Re: CATALINA_OPTS vs JAVA_OPTS

2021-06-16 Thread Noelette Stout
Thanks! That clears things up a lot. I think my admins got confused and did both because there are some instructions that say to add these in JAVA_OPTS, but those instructions are specifically for Windows servers (we're on RHEL). Thanks everyone for all the info and help. On Wed, Jun 16, 2021 at

Re: Trouble with HTTP/2 during concurrent bulk data transfer (server -> client)

2021-06-16 Thread Rémy Maucherat
On Wed, Jun 16, 2021 at 7:36 PM Mark Thomas wrote: > On 16/06/2021 18:01, Deshmukh, Kedar wrote: > > > I have one additional question at this point. How easy is this issue to > reproduce? Does it happen every time? In 10% of requests? 1% ? > > > > [Kedar] It is reproducible 9/10 times in my

Re: CATALINA_OPTS vs JAVA_OPTS

2021-06-16 Thread Mark Thomas
On 16/06/2021 18:31, Noelette Stout wrote: ok, one more question for clarification :-) The vendor docs say this: "Define CATALINA_OPTS to configure the following JVM settings: CATALINA_OPTS=-server -Xms2048m -Xmx4g -XX:MaxMetaspaceSize=512m Note:If you are deploying multiple [vendor]

Re: Trouble with HTTP/2 during concurrent bulk data transfer (server -> client)

2021-06-16 Thread Mark Thomas
On 16/06/2021 18:01, Deshmukh, Kedar wrote: I have one additional question at this point. How easy is this issue to reproduce? Does it happen every time? In 10% of requests? 1% ? [Kedar] It is reproducible 9/10 times in my environment. So 90% time it is reproducible when concurrency is 5 or

Re: CATALINA_OPTS vs JAVA_OPTS

2021-06-16 Thread Noelette Stout
ok, one more question for clarification :-) The vendor docs say this: "Define CATALINA_OPTS to configure the following JVM settings: CATALINA_OPTS=-server -Xms2048m -Xmx4g -XX:MaxMetaspaceSize=512m Note:If you are deploying multiple [vendor] applications to the same Tomcat server, -Xmx must be

RE: Trouble with HTTP/2 during concurrent bulk data transfer (server -> client)

2021-06-16 Thread Deshmukh, Kedar
-Original Message- From: Mark Thomas Sent: Wednesday, June 16, 2021 9:29 PM To: users@tomcat.apache.org Subject: Re: Trouble with HTTP/2 during concurrent bulk data transfer (server -> client) On 16/06/2021 15:05, Deshmukh, Kedar wrote: > Dear Tomcat users/dev team, > > We are

Re: CATALINA_OPTS vs JAVA_OPTS

2021-06-16 Thread Noelette Stout
This confirms something that I was thinking originally, which is that we have no good reason to have both in setenv.sh. I'm pretty sure that these were both mentioned in various pieces of documentation from the application vendor. Their documentation tends to be less than stellar. Combine bad

Re: CATALINA_OPTS vs JAVA_OPTS

2021-06-16 Thread Christopher Schultz
Noelette, On 6/16/21 11:29, Noelette Stout wrote: Thanks! I was mostly trying to figure out if there was precedence or if it was additive (i.e. 2GB to tomcat itself and another 2GB to the apps). We're having some resource issues on one of our servers, so I wanted to make sure I understood how

Re: client write waits on postgresql RDS

2021-06-16 Thread Christopher Schultz
Ayub, On 6/15/21 18:43, Ayub Khan wrote: Chris, below is the method responsible for returning the data to the service api, and its returned from service to the Rest controller public MenuList getMenuMobileListNormalizedCombo(long a, long b, boolean c, long d) throws Exception { Connection con

Re: Trouble with HTTP/2 during concurrent bulk data transfer (server -> client)

2021-06-16 Thread Mark Thomas
On 16/06/2021 15:05, Deshmukh, Kedar wrote: Dear Tomcat users/dev team, We are understanding the impact of HTTP/2 in our application as HTTP/2 provides better throughput and performance. I'd be wary of making such sweeping statements. HTTP/2 has some advantages and some disadvantages.

Re: CATALINA_OPTS vs JAVA_OPTS

2021-06-16 Thread Noelette Stout
Thanks! I was mostly trying to figure out if there was precedence or if it was additive (i.e. 2GB to tomcat itself and another 2GB to the apps). We're having some resource issues on one of our servers, so I wanted to make sure I understood how the resources were being allocated. On Wed, Jun 16,

Re: CATALINA_OPTS vs JAVA_OPTS

2021-06-16 Thread Noelette Stout
openjdk version "1.8.0_292" On Wed, Jun 16, 2021 at 9:04 AM Rob Sargent wrote: > > > > On Jun 16, 2021, at 8:36 AM, Noelette Stout > wrote: > > > > If I have a setenv.sh file that contains: > > CATALINA_OPTS="-server -Xms2048m -Xmx5g" > > JAVA_OPTS="... -Xms2048m -Xmx4g .." > > > > How much

Re: CATALINA_OPTS vs JAVA_OPTS

2021-06-16 Thread Rob Sargent
> On Jun 16, 2021, at 8:36 AM, Noelette Stout wrote: > > If I have a setenv.sh file that contains: > CATALINA_OPTS="-server -Xms2048m -Xmx5g" > JAVA_OPTS="... -Xms2048m -Xmx4g .." > > How much memory is actually being allocated to tomcat and the applications > it is serving up? > > -- >

CATALINA_OPTS vs JAVA_OPTS

2021-06-16 Thread Noelette Stout
If I have a setenv.sh file that contains: CATALINA_OPTS="-server -Xms2048m -Xmx5g" JAVA_OPTS="... -Xms2048m -Xmx4g .." How much memory is actually being allocated to tomcat and the applications it is serving up? -- Noelette Stout ITS Enterprise Applications - Application Administrator - Senior

[ANN] Apache Tomcat 8.5.68 available

2021-06-16 Thread Christopher Schultz
The Apache Tomcat team announces the immediate availability of Apache Tomcat 8.5.68. Apache Tomcat 8 is an open source software implementation of the Java Servlet, JavaServer Pages, Java Unified Expression Language, Java WebSocket and Java Authentication Service Provider Interface for Containers

Trouble with HTTP/2 during concurrent bulk data transfer (server -> client)

2021-06-16 Thread Deshmukh, Kedar
Dear Tomcat users/dev team, We are understanding the impact of HTTP/2 in our application as HTTP/2 provides better throughput and performance. Before directly tuning HTTP/2 in application, we thought of analyzing certain use cases which our application demands in standalone environment. Our