Maximum number of threads

Sameera Shaakunthala [inactive]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 11, 2012

By default, JIRA's max number of connector threads is 150. (Tomcat standalone)

{code}

<service name="Catalina">

<connector port="8080" <="" p="">

maxThreads=150

minSpareThreads=25

maxSpareThreads=75

{code}

Expected avg. concurrent number of users in our JIRA system once go live is 300.

* Is it safe to increase the maxThreads to 300? What are the drawbacks?

* What's the recommended max number of threads for 300 concurrent users?

Many thanks!

2 answers

1 accepted

1 vote
Answer accepted
LucasA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 11, 2012

Hi Sameera,

This is a default Tomcat configuration. So, regarding your questions:

1) Is it safe to increase the maxThreads to 300? What are the drawbacks?

If you have enough hardware resources you may safely increase the maxThreads value to beyond of 150 (300 in your case).

2) What's the recommended max number of threads for 300 concurrent users?

Actually we don't have a precise measure for that. This answer deppends of the number of customfields, workflows and plugins that you currently have in your JIRA instance. However, you can try to increase the maxThreads to 300 and test if it will cause you problems. Hence, if you are running JIRA on a Linux/Unix system, remember also to increase your ulimit value.

Best regards,
Lucas Timm

Vijay Krishna B
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 14, 2014

Hi Lucas,

Can you tell what are the resources we need to consider to increase the maximum number of threads?

Thanks in Advance.

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 14, 2014

It depends on your usage of the system. Just increasing the number of threads may not be of any use.

What makes you think you have a problem with the number of threads? (If you have no firm evidence you need more threads, then there is no point changing the setting)

0 votes
Oleksii Okhmush April 6, 2018

Hello.

Are there any way to monitoring number of actual threads in lifetime?

Yevgen Lasman
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 15, 2018

You can find Javamelody being helpful in this.

Suggest an answer

Log in or Sign up to answer