Forums

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

Jira (tomcat) is running with HIGH CPU usage and causing application down.

Srikanth Gogineni July 22, 2019

Hi Team,

We are facing continuous high cpu usage and causing the application down. could anyone suggest on the dB config properties lik  max , min size propertis ..etc.

 

we do have 150 custom fields including grid fields and we use clone plus plugin as well.

and the user count would be 200.. 

Regards

Srikanth 

 

5 answers

0 votes
Flavio Beck
Contributor
April 16, 2020

 

I face this trouble for at least 4 years...  already contacted Atlassian support, and local consultant partners for on site health check analysis.

Seems the solution is migrate to data center version.

It's possible to have a dedicate node for rest API response.

JP _AC Bielefeld Leader_
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.
April 16, 2020

Hi Flavio,

I'm pretty sure, that you DON'T have the same problem as the author of this question. Or did you contact Bob Swift for support of the clone plus addon, which caused the issue?

Performance related issues are always instance specific and must be examined separately,

Could you elaborate on JAVA and TOMCAT being a problem? What would you suggest? Why didn't you mention the database you use? Could be the real problem, too...

To analyse your problem, I suggest that you create a new question: There're lots of community members eager to look into your problem.

As a starter: Do some baseline measurements from inside Jira (JavaMelody) and outside performance tests (eg. Gatling,...) Based on these baselines it's then much easier to find the bottleneck.

Best

JP

0 votes
Kiran Panduga {Appfire}
Community Champion
July 23, 2019

Hi @Srikanth Gogineni ,

Thank you for sharing the requested information.

Based on the inputs provided, I would like to know some more additional informtion.

- Is the application running fine when a user does not use the clone plus functionality?

- Are you noticing any error message in the logs when application goes un-responsive?

- Share us the complete debug logs by following the steps from How to get problem determination information

- Can you share us the debug logs?

- Allocated JVM memory details?

- Available system memory ?

I once again like to inform you that, we opened a ticket related to this issue in our support system tool

Going forward, we will continue to support this issue in our support system and therefore request you to login in to the above link and update with the results and error message.

Thanks,
Kiran.

Srikanth Gogineni July 24, 2019

Hi @Kiran Panduga {Appfire} 

Please find the below details .
Is the application running fine when a user does not use the clone plus functionality? ::::  Yes most of the time.
- Are you noticing any error message in the logs when application goes un-responsive? ::; yes we are getting below error message.
Error :
ERROR 1 : [jira.issue.index.DefaultIndexManager] Wait attempt timed out - waited 30000 milliseconds
Error 2 : CPU getting higher when the below thing appears in log.
[customfields.searchers.transformer.AbstractCustomFieldSearchInputTransformer] Searcher customfield_12960 (ExactNumberCustomFieldSearchInputTransformer) tried to search with context it does not exist for. The search context is com.atlassian.jira.issue.search.SearchContextImpl@285e0164[projectCategoryIds=[],projectIds=[],issueTypeIds=[]]
Allocated JVM Details : 
Xms: 10 GB
Xmx : 32 GB
Available system memory 64 GB.
I will share the debug logs in a moment . meanwhile can you help us to check with the above info.
i am unable to find the your support request in the provided link.
Regards
Srikanth G

Kiran Panduga {Appfire}
Community Champion
July 24, 2019

Hi @Srikanth Gogineni , 

Thank you for sharing the information. 

Please use the below link to connect with our support system

https://bobswift.atlassian.net/browse/SUPPORT-2752

Going forward, we will continue to support this issue in our support system and therefore request you to login in to the above link and update with the results and error message.

Thanks,

Kiran.

Srikanth Gogineni July 24, 2019

Hi @Kiran Panduga {Appfire} 

 

I am unbale to access the request you provided.


Regards

Srikanth 

Kiran Panduga {Appfire}
Community Champion
July 24, 2019

Hi @Srikanth Gogineni ,

I'm sorry, please use the below link to access the support request in our portal.

https://bobswift.atlassian.net/servicedesk/customer/portal/1/SUPPORT-2752

Thanks,

Kiran.

Srikanth Gogineni July 24, 2019

Hi Kiran.

 

when i click the link it says you do not have permission to view the request.

 

Regards

Srikanth

Kiran Panduga {Appfire}
Community Champion
July 24, 2019

Hi @Srikanth Gogineni ,

Can you please check now?

Thanks,

Kiran.

0 votes
Srikanth Gogineni July 23, 2019

Hi @Kiran Panduga {Appfire} 
Please find the below details which you requested.
1. Clone plus was installed long ago there were no issues till some time but i see the CPU usage high in logs  when users tries to clone a parent issue with sub tasks ( around 8 or 9) .
2. we do custom changes like adding sub tasks,issue types etc .... but haven't added any third party plugins recently.
3. Users : Around (200 active ) and say 50-100 concurrent users while accessing application.
    Groups : 15 AD groups
    Plugins : Clone Plus, Idalko Grid, field security, field sync,
   Custom Fields : around 170 fields ( 14 grid fields out of 170)
   Projects : 8 Active projects
  Issues :  765,056
  Workflows :  32 workflows
   No versions,
 Issue Types : 48 issue types
4. Db config properties :
<pool-min-size>80</pool-min-size>
<pool-max-size>150</pool-max-size>
<pool-max-wait>60000</pool-max-wait>
<pool-max-idle>80</pool-max-idle>
<pool-remove-abandoned>true</pool-remove-abandoned>
<pool-remove-abandoned-timeout>300</pool-remove-abandoned-timeout>
5.  server.xml properties.
<Connector acceptCount="100" acceptorThreadCount="4" connectionTimeout="20000" disableUploadTimeout="true" enableLookups="false" maxHttpHeaderSize="8192" maxThreads="500" minSpareThreads="50"
Hope the above information helps. Let me know if you still need any info.
Regards
Srikanth G

0 votes
Kiran Panduga {Appfire}
Community Champion
July 22, 2019

Hi @Srikanth Gogineni ,

I understand that you are noticing frequent memory and CPU increase which cause the JIRA application to crash and also you are using Clone Plus App.

To better assist on this issue, I would like some additional details, 

- Are you noticing the issue ONLY after installing the Clone Plus App?

- Or after making any custom changes and installing additional Apps, etc.

-  Please share your JIRA statistics(Users, groups, Plugins, custom fields, Projects, Issues, Workflows, versions, Issuetypes etc) from the system info page.

- Current DB configuration details ,max and min size

- Server.xml file configured connections i.e max_threads or max_connections

Based on the above information provided, I can review and share my findings to address the JIRA crash issues.

I also like to inform you that, we opened a ticket related to this issue in our support system tool

Going forward, we will continue to support this issue in our support system and therefore request you to login into the above link and update with the results and error mesasge.

Thanks,
Kiran.

0 votes
Jan-Peter Rusch
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.
July 22, 2019

Hi,

what Jira version are you on. Is your Jira accessible from the internet? Did the issue came up suddenly?

Best

JP

Srikanth Gogineni July 22, 2019

Ours is running on 6.2.7 and the issue exists since few months and nowadays its getting down frequently. 

Jan-Peter Rusch
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.
July 22, 2019

Hi,

my first step would be to disable all 3rd-party add ons first & check, if the issue persists.

Think about upgrading to Jira 8 for an easy performance boost.

Check out the free Jira Java Melody addon from the marketplace to get an insight of what might cause the issue.

Best

JP

v-apps-v-apps
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 29, 2020

Can you support me by steps how to upgrade from 7.13 to 8.13 Ubuntu server?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events