Forums

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

Jira Docker Instance High CPU Usage

CJ
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!
September 9, 2021

Hello All,

 

I've been looking into the performance issues of Jira within a docker container on a CentOS 7 server. This machine has 16GB of RAM and 8 CPUs. I've noticed that the Jira docker instance is consistently spiking to ~120+% CPU usage using the "docker stats" command. I ran the following commands:

#Identify the JIRA application PID by using the below command

JIRA_PID=`ps aux | grep -i jira | grep -i java | awk -F '[ ]*' '{print $2}'`;

 

 

#Then run the following command - it generates 6 snapshots of CPU usage and thread dumps with 10-second intervals for a minute.

for i in $(seq 6); do top -b -H -p $JIRA_PID -n 1 > jira_cpu_usage.`date +%s`.txt; jstack -l $JIRA_PID > jira_threads.`date +%s`.txt; sleep 10; done

 

 

This captured some snapshots of CPU usage and I noticed that the process pool-####-thre or MVStore backgro is what is causing the CPU usage spiking. 

 

How can I prevent these processes from spiking so often so I can eliminate the latency within Jira? Or is there anything else that I can do to stop Jira from using up so many CPU resources?

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events