Forums

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

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

Ganga_Selvarajah
Contributor
May 16, 2012

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

4 answers

1 accepted

2 votes
Answer accepted
Azwandi Mohd Aris
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 16, 2012

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.

Ganga_Selvarajah
Contributor
May 17, 2012

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

Nano Health Support Team
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!
February 14, 2019

Hi Ganga Selvarajah

 

We have similar issue, can you update us about your finding and solution.

Regards,

Like agomezd likes this
0 votes
Flavio Beck
Contributor
April 17, 2020

its very easy to promote a DOS attack to JIRA server.

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

The answer for this problem always is: upgrade.

so when you do an upgrade, and have same problem, then always there is a new version, s othe answer is, upgrade...  it is an infinite loop.

ok.. try jira 8...   have the same problem, and then Atlassian will ask to pay for a datacenter.

 

the real problems is ; JAVA 

the second one: TOMCAT

 

but ok, for 99,9% os customers that user only 10 fields an jira default workflow will never have any problem.

for 0.1%  pay for a datacenter and start to pray..  no money back if do not work.

 

that's the way to become millionaire !

0 votes
Cyril Egan
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 17, 2012

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

0 votes
Ganga_Selvarajah
Contributor
May 16, 2012

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events