Tomcat service is running high CPU (99%) everytime visit to none admin pages in JIRA 5.0.2

Hi,

I am facing an issue the “Tomcat” service is running high CPU (99%) everytime visit to none admin pages in JIRA. If I go to admin pages then the CPU usage is dropping to 1-2%.

Please note that, I am using Apache 2.2 as a web server, its connecting to AJP port 8009 via http.

JIRA version 5.0.2

O/S: Windows 2008 Server R2

Database Server : MS SQL 2008 R2

I can’t find the any information on the log file. Could you please help us!

Thanks

Ganga S

3 answers

1 accepted

In the event of high CPU consumption by Tomcat, you can create a few thread dumps, and check the output in the log. This is how to do it - http://confluence.atlassian.com/display/JIRA/Generating+a+Thread+Dump

If you need assistance to review the thread dumps, you can contact Altassian Support. Remember to attach the logs as well.

hi,

thanks for the suggestion, I will follow the instruction to creation thread dump and send it Atlassian support.

Could you please let me, why it is high CPU consumption, if I use below setting?

<Connector port="8009" enableLookups="false" redirectPort="8443" protocol="AJP/1.3" minProcessors="5" maxProcessors="200" acceptCount="50" debug="0" connectionTimeout="0" />

but no issues, if I use the below setting

<Connector port="8009" redirectPort="8443" enableLookups="false" protocol="AJP/1.3" URIEncoding="UTF-8"/>

Ganga S

after I have changed the AJP reverse proxy settings in JIRA server.xml, then the tomcat service is running normal.

This settings has an issue, the CPU usage for tomcat always 100%

<Connector port="8009" enableLookups="false" redirectPort="8443" protocol="AJP/1.3" minProcessors="5" maxProcessors="200" acceptCount="50" debug="0" connectionTimeout="0" />

Then I have changed to this settings, the CPU usage for tomcat normal and jira running without any issues.

<Connector port="8009" redirectPort="8443" enableLookups="false" protocol="AJP/1.3" URIEncoding="UTF-8"/>

Could you tell me, what are the issues in the settings?

Thanks

Ganga S

The minProcessors and maxProcessors parameters are deprecated. I suggest you look here - http://tomcat.apache.org/tomcat-5.5-doc/config/http.html#Standard_Implementation

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

202 views 1 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you