Re: Tracking keep alive connections

2023-11-30 Thread Daniel Andres Pelaez Lopez
Christopher, So... when a connection is established, save the current timestamp on > the connection. When it closes, take the delta of the > start-of-connection and end-of-connection, and add it to a bounded queue > (say, 100? 1000?) of most-recent-connection-lifetimes. Any time you > request the

Re: Tomcat 9 build from scratch

2023-11-30 Thread Aditya Shastri
Sounds good. Thanks! On Thu, Nov 30, 2023 at 3:40 PM Adwait Kumar Singh wrote: > > The former. > > > > On Thu, Nov 30, 2023 at 3:40 PM Aditya Shastri > wrote: > > > Thanks for the response Adwait. > > > > My ant skills are lacking. Does the minimum bytecode definition come > > from this line? >

Re: Tomcat 9 build from scratch

2023-11-30 Thread Adwait Kumar Singh
The former. On Thu, Nov 30, 2023 at 3:40 PM Aditya Shastri wrote: > Thanks for the response Adwait. > > My ant skills are lacking. Does the minimum bytecode definition come > from this line? > > > What does this line do? > > > On Thu, Nov 30, 2023 at 6:10 PM Adwait Kumar Singh > wrote: >

Re: Tomcat 9 build from scratch

2023-11-30 Thread Aditya Shastri
Thanks for the response Adwait. My ant skills are lacking. Does the minimum bytecode definition come from this line? What does this line do? On Thu, Nov 30, 2023 at 6:10 PM Adwait Kumar Singh wrote: > > Yes, JDK17 can produce JDK8 bytecode, in fact that's what Tomcat does. > > On Thu, Nov 3

Re: Tomcat 9 build from scratch

2023-11-30 Thread Adwait Kumar Singh
Yes, JDK17 can produce JDK8 bytecode, in fact that's what Tomcat does. On Thu, Nov 30, 2023 at 2:35 PM Aditya Shastri wrote: > Hello, > > We build our own Tomcat 9 binaries from scratch (grab the tag from > https://github.com/apache/tomcat) and call ant (with java8) to build > it. > > Starting w

Tomcat 9 build from scratch

2023-11-30 Thread Aditya Shastri
Hello, We build our own Tomcat 9 binaries from scratch (grab the tag from https://github.com/apache/tomcat) and call ant (with java8) to build it. Starting with 9.0.83, our pipelines are failing with the error build.xml:113: Java version 17 or newer is required (1.8.0_381 is installed) The apps

Re: Tracking keep alive connections

2023-11-30 Thread Christopher Schultz
Daniel, On 11/30/23 07:08, Daniel Andres Pelaez Lopez wrote: What kind of number are you looking for? I would say something like the time a connection has been open. Can you please give the JMX path to tomcat_connections_keepalive_current and tomcat_connections_current? I have no idea what y

Re: Tracking keep alive connections

2023-11-30 Thread Daniel Andres Pelaez Lopez
> What kind of number are you looking for? I would say something like the time a connection has been open. > Can you please give the JMX path to tomcat_connections_keepalive_current > and tomcat_connections_current? I have no idea what you are talking > about there... is there some tool that prov