Re: help with high cpu usage

2022-02-03 Thread Alan F
John thanks so much !! Will pass this on tomorrow. Cheers. From: john.e.gr...@wellsfargo.com.INVALID Sent: 03 February 2022 22:45 To: users@tomcat.apache.org Subject: RE: help with high cpu usage Alan, > -Original Message- > From: Alan F > Sent: Thursd

RE: help with high cpu usage

2022-02-03 Thread John.E.Gregg
Alan, > -Original Message- > From: Alan F > Sent: Thursday, February 03, 2022 2:51 PM > To: Tomcat Users List > Subject: RE: help with high cpu usage > > My bad here are the correct dumps 10 secs apart > > https://urldefense.com/v3/__https://fastthread.io/my-thread- > report.jsp?p=c2h

RE: help with high cpu usage

2022-02-03 Thread Alan F
My bad here are the correct dumps 10 secs apart https://fastthread.io/my-thread-report.jsp?p=c2hhcmVkLzIwMjIvMDIvMy8tLWFwaS0zNzY2ZmZmNy0wZDgyLTRhZTItYmE3Mi0zMWQyYTYwN2M1ZjgudHh0&; https://fastthread.io/my-thread-report.jsp?p=c2hhcmVkLzIwMjIvMDIvMy8tLWFwaS00NTE3MWUxNy1jYWRiLTRkY2UtODBlNS1lMDk0YTJ

RE: help with high cpu usage

2022-02-03 Thread Alan F
HI John, Thankyou kindly for taking the time here. First of all looking back at the historical chart for the day I observed node 2 rise in cpu activity about 11am this morning and stayed high node1 has dropped back to idle. ##Do you know for sure that its the Tomcat process that is using the

RE: help with high cpu usage

2022-02-03 Thread John.E.Gregg
Alan, > -Original Message- > From: Alan F > Sent: Thursday, February 03, 2022 12:19 PM > To: Tomcat Users List > Subject: help with high cpu usage > > Had some issues today with one prod host. One is fine the other has stuck > around 80%Cpu. > Ive taken a thread dump from both hosts an

help with high cpu usage

2022-02-03 Thread Alan F
Had some issues today with one prod host. One is fine the other has stuck around 80%Cpu. Ive taken a thread dump from both hosts and would appreciate someone give a once over what it may be before I kill and restart. They are clustered nodes so running identical apps and loadbalanced by a hardw

Re: AW: Redirect with 301 for directory requested without trailing slash

2022-02-03 Thread Mark Thomas
I didn't see a commit in the code but I didn't look into what sendRedirect() does and I don't recall if there is a commit in there somewhere. The other option would be the wrap the response in the Filter and override setStatus() with something like: @Override public void setStatus(int status

AW: Redirect with 301 for directory requested without trailing slash

2022-02-03 Thread Benny Kannengießer
Hi Mark, thanks for the good idea! I just tried it - but it didn't work.. The response from Tomcat is still 302! I suspected that may be the response has already been sent on the wire, so I added some logging calling "response.isCommitted()" in my filter. Indeed, the logs show "true"! I haven't