Re: HTTP2: memory filled up fast on increasing the connections to 1000/2000 (Embedded tomcat 9.0.38)

2020-09-28 Thread Mark Thomas
On 28/09/2020 17:58, Arshiya Shariff wrote: > Hi All, > With 200 threads(users) , ramp up duration of 2 seconds , loop count 80 and > by sending 1000 http2 requests/sec from JMeter Client to an embedded tomcat > application we did not observe any memory issue , but on sending 1000 http2 >

Re: HTTP2: memory filled up fast on increasing the connections to 1000/2000 (Embedded tomcat 9.0.38)

2020-09-28 Thread Martin Grigorov
Hi Arshiya, On Mon, Sep 28, 2020 at 7:59 PM Arshiya Shariff wrote: > Hi All, > With 200 threads(users) , ramp up duration of 2 seconds , loop count 80 > and by sending 1000 http2 requests/sec from JMeter Client to an embedded > tomcat application we did not observe any memory issue , but on

Re: HTTP2: memory filled up fast on increasing the connections to 1000/2000 (Embedded tomcat 9.0.38)

2020-09-28 Thread Christopher Schultz
Arshiya, On 9/28/20 12:58, Arshiya Shariff wrote: > With 200 threads(users) , ramp up duration of 2 seconds , loop count > 80 and by sending 1000 http2 requests/sec from JMeter Client to an > embedded tomcat application we did not observe any memory issue , but > on sending 1000 http2

HTTP2: memory filled up fast on increasing the connections to 1000/2000 (Embedded tomcat 9.0.38)

2020-09-28 Thread Arshiya Shariff
Hi All, With 200 threads(users) , ramp up duration of 2 seconds , loop count 80 and by sending 1000 http2 requests/sec from JMeter Client to an embedded tomcat application we did not observe any memory issue , but on sending 1000 http2 requests/sec with 2000 or 1000 users from JMeter , the

Re: RemoteIpValve doesn't maintain context in worker thread after startAsync

2020-09-28 Thread Mark Thomas
On 28/09/2020 16:15, Solas, Nathan wrote: > I'm using RemoteIpValve to capture protocolHeader x-forwarded-proto and > upgrade the request to secure when SSL is terminated at the load balancer - > so far so good. > > When using theServletRequest.startAsync() and then passing the work to a >

Re: ByteBuffer pooling

2020-09-28 Thread Rémy Maucherat
On Mon, Sep 28, 2020 at 5:31 PM Martin Grigorov wrote: > On Mon, Sep 28, 2020 at 6:11 PM Rémy Maucherat wrote: > > > On Mon, Sep 28, 2020 at 4:34 PM Martin Grigorov > > wrote: > > > > > Hi, > > > > > > I've profiled the memory allocation during load testing HTTP2: > > >

Re: ByteBuffer pooling

2020-09-28 Thread Martin Grigorov
On Mon, Sep 28, 2020 at 6:11 PM Rémy Maucherat wrote: > On Mon, Sep 28, 2020 at 4:34 PM Martin Grigorov > wrote: > > > Hi, > > > > I've profiled the memory allocation during load testing HTTP2: > > https://pasteboard.co/Jtblqfl.png > > > > As you can see there are a lot of

RemoteIpValve doesn't maintain context in worker thread after startAsync

2020-09-28 Thread Solas, Nathan
I'm using RemoteIpValve to capture protocolHeader x-forwarded-proto and upgrade the request to secure when SSL is terminated at the load balancer - so far so good. When using theServletRequest.startAsync() and then passing the work to a threadpool executor, it seems the RemoteIpValve.invoke

Re: Some functions not working when using a particular dns after tomcat upgrade from 6.x to 8.5.x

2020-09-28 Thread Christopher Schultz
Larvi, On 9/28/20 10:04, Larvi Boy wrote: > Hi, > > When I try to login to out web gui via direct link, it is working fine but > when I used the dns url, for first time it works fine as for the first time > we are redirected to our login page which redirects us back to my direct > link, but if

Re: ByteBuffer pooling

2020-09-28 Thread Rémy Maucherat
On Mon, Sep 28, 2020 at 4:34 PM Martin Grigorov wrote: > Hi, > > I've profiled the memory allocation during load testing HTTP2: > https://pasteboard.co/Jtblqfl.png > > As you can see there are a lot of ByteBuffer.allocate(int) calls. > org.apache.catalina.connector.Response#Response(int) >

ByteBuffer pooling

2020-09-28 Thread Martin Grigorov
Hi, I've profiled the memory allocation during load testing HTTP2: https://pasteboard.co/Jtblqfl.png As you can see there are a lot of ByteBuffer.allocate(int) calls. org.apache.catalina.connector.Response#Response(int) org.apache.catalina.connector.Request#inputBuffer

Some functions not working when using a particular dns after tomcat upgrade from 6.x to 8.5.x

2020-09-28 Thread Larvi Boy
Hi, When I try to login to out web gui via direct link, it is working fine but when I used the dns url, for first time it works fine as for the first time we are redirected to our login page which redirects us back to my direct link, but if we create another window with same dns link, some

Re: Connection header override

2020-09-28 Thread Christopher Schultz
Mark, On 9/28/20 03:48, Mark Thomas wrote: > On 28/09/2020 08:33, Mark Thomas wrote: >> On 27/09/2020 00:07, Pawel Veselov wrote: >>> Hello! >>> >>> Tomcat 9.0.x >>> >>> I'd like to force connection closure on some endpoints. >> >> Why? Generally, this is something that should not be an

Re: Connection header override

2020-09-28 Thread Mark Thomas
On 28/09/2020 08:33, Mark Thomas wrote: > On 27/09/2020 00:07, Pawel Veselov wrote: >> Hello! >> >> Tomcat 9.0.x >> >> I'd like to force connection closure on some endpoints. > > Why? Generally, this is something that should not be an application concern. > >> I'm trying this on a simple JSP

Re: Connection header override

2020-09-28 Thread Mark Thomas
On 27/09/2020 00:07, Pawel Veselov wrote: > Hello! > > Tomcat 9.0.x > > I'd like to force connection closure on some endpoints. Why? Generally, this is something that should not be an application concern. > I'm trying this on a simple JSP page. > If I call