Forums

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

How to Handle the load on jira application

Srikanth Gogineni October 30, 2018

Hi All,

 

I have been facing high cpu usage and i see the load on CPU ( consuming high cpu usage ) when multiple users are trying to create/requests(  using clone-plus plugin ) at a time .

 Jira version is : 6.2.7

No of Active users : 150 

connection pool max size is 150

max idle size is 80 

JVM memory = 18GB ( out of total RAM 32 GB) 

 

Could anyone help on controlling the high cpu usage .

 

Regards

 

1 answer

0 votes
KellyW
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 30, 2018

Hi Shrikanth,

 

There are other factors to assess and consider to fine tune the server resources allocation for JIRA application, e.g: custom fields, third-party add-ons etc.

 

Going forward, I would suggest identifying the cause of the CPU spike before we plan ahead:

  • Enable GC logging as illustrated in this KB -- How to Enable Garbage Collection (GC) Logging
  • Generate thread dumps and CPU dumps when CPU usage spikes: 
    for i in $(seq 6); do top -b -H -p $pid -n 1 > app_cpu_usage.date +%s.txt; kill -3 $pid; sleep 10; done

    Make sure you change $pid to the process ID of running Jira, before running this command
  • Open a Support ticket with JIRA Server Support -- with the support.zip and app_cpu_usage files

Regards,
Kelly

Srikanth Gogineni November 14, 2018

Hi Kelly,

 

Sorry for the delay in reply .. i have gone though the logs and observed that the CPU usage is getting high when Clone-plus plugin is being used ,which copies the existing issue along with sub tasks( min of 10) and CPU goes high when multiple users ( 2 or 3 ) try to use clone-plus at a time .

 

our jira version(6.2.7) licence is expired and so the plugin cannot be updated to next version until jira is upgraded.

Please help if there is a way( workaround ) to fix the issue.

 

Let me know if any other details are required.

 

Thanks in Advance 

Regards

KellyW
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 22, 2018

Hi Srikanth,

 

If you have confirmed that the third-party plugin cause the CPU spike, it's worth engaging the third-party vendor Support to look into the issue as it might be a known issue pertain to the release you are running on.

 

Regards,
Kelly

Srikanth Gogineni March 18, 2019

Hi Every one,

 

I have been facing the high CPU usage again even after increasing the Jira instance memory to 32GB ( total 64 GB). still we are facing the High CPU usage and application outage.

 

Can any one suggest on reducing the High CPU usage ?

Srikanth Gogineni March 18, 2019

Below are the connection pool details.

 

<pool-min-size>100</pool-min-size>
<pool-max-size>100</pool-max-size>
<pool-max-wait>60000</pool-max-wait>
<pool-max-idle>100</pool-max-idle>
<pool-remove-abandoned>true</pool-remove-abandoned>
<pool-remove-abandoned-timeout>300</pool-remove-abandoned-timeout>

Regards

Srikanth 

Suggest an answer

Log in or Sign up to answer