Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

StuckThreadDetectionValve entry in server.xml

Jason Ferris
Contributor
March 16, 2020

my server.xml file that was running in previous version of JIRA in test 7.13.0 was fine. But when I updated to 8.5.3 I now have a warning that my server.xml file is not the same and may want to review it. The only change I can see is that my new one after updating does not have the  entry below. 

<Valve className="org.apache.catalina.valves.StuckThreadDetectionValve" threshold="120"/>

I am not familiar with what this entry does or fixes so I am not sure if I should re-add this to my current server.xml file. Can anyone shed light on this entry and would it helps with? Maybe the newer JIRA doesn't need this?

 

Thanks for any feedback!

2 answers

1 accepted

2 votes
Answer accepted
Bruno
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 10, 2020

Hi @Jason Ferris
Having this line in the server.xml file will help to identify in case any thread takes longer than 120 seconds to run.

It appends to catalina.out log file any long running thread, and having to many long running threads can point to performance issue.

Resumed: It helps on diagnostics. It is recommended to have it in the server.xml file.

This suggestion can help with some more details about it.
https://jira.atlassian.com/browse/JRASERVER-60546

Hope that helps.

Jason Ferris
Contributor
September 11, 2020

Hi @Bruno  Thank you for the reply! I will go back and add this line into the server.xml file. This was in my test environment for upgrade procedure etc and will make sure this step is in the process once I update my production environment. 

0 votes
Jason Ferris
Contributor
March 18, 2020

Can anyone shed any light here or should I just go ahead and add this to my server.xml file?

Jason Ferris
Contributor
March 19, 2020

I ended up just restarting JIRA without adding this line to my xml file. All seems to be fine, just not sure if that entry was to help performance in any way. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
atlassian, atlassian community, loom ai, atlassian loom ai, loom, atlassian ai, record recaps of meetings, meeting recaps, loom recaps, share meeting recaps,

Loom’s guide to great meetings 📹

Join us to learn how your team can stay fully engaged in meetings without worrying about writing everything down. Dive into Loom's newest feature, Loom AI for meetings, which automatically takes notes and tracks action items.

Register today!
AUG Leaders

Atlassian Community Events