JIRA performance Problem

JIRA Team Mailbox December 22, 2015

We have a 2000 user JIRA instance and we are having performance problems every day we need to restart the system to make the application work. the server cpu is 99% at the time JIRA is hanging up. we have dual 2.13 cpu and 6GB ram. So how do we resolve this ? what are log files i need to check for performance problem and do we need to increase heap size in JVM ?

5 answers

2 votes
kanchana wijerathna December 22, 2015

I am also in the same team, Our memory allocation is attached here Please give us a suggestion

Alex Medved _ConfiForms_
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.
December 22, 2015

There is only 749MB actually given to JIRA, increase this by adjusting Xmx settings https://confluence.atlassian.com/jira/increasing-jira-memory-5896.html

1 vote
ihanif December 22, 2015

Hi there Can you suggest a number for Xmx ? is 1024  enough ?

0 votes
Phill Fox
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 22, 2015

Hi 

You should review the content on https://confluence.atlassian.com/display/JIRAKB/Troubleshooting+Performance+Problems if you have not already done so and see if that provides any more clues. 
Looking at your memory graph it looks like your JVM is still configured with the default settings and so you should also review https://confluence.atlassian.com/jira/increasing-jira-memory-5896.html or the equivalent page for the version of JIRA that you have installed.

 

Hope this helps

Phill 

JIRA Team Mailbox December 22, 2015

Are Xmx and Xms values should be same ? and what are the numbers you are suggesting ?

Phill Fox
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 22, 2015

It does no harm to set them the same, although this will mean that your instance will start at its maximum size and remain at that size. If the server on which this is installed is dedicated to hosting JIRA then there should be no other need for any changes of size during operation. Have you reviewed all the steps on the troubleshooting webpage and confirmed it is definitely a memory issue? You may also like to review https://confluence.atlassian.com/enterprise/jira-sizing-guide-461504623.html which gives indications of the suggested sizes of various settings for different size JIRA installs. From the limited information you have provided it seems like your system is probably a Large-scale instance and so you should be looking at least 16GB of system memory with at least 4GB of it allocated to the JVM Heap.

JIRA Team Mailbox December 22, 2015

But in this link https://confluence.atlassian.com/display/CONFKB/How+to+fix+out+of+memory+errors+by+increasing+available+memory in Step1 described "Consider setting Xms and Xmx to the same value, as this can decrease the time GC takes to occur, as it will not attempt to resize the heap down on each collection." what is this ?

Phill Fox
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 22, 2015

GC is Garbage Collection the process of recovering used memory that can be recovered to free memory. When used memory is recovered it can take some time to execute and if the memory is too small this will happen frequently leading to performance issues. Have you isolated the issue to be memory related using https://confluence.atlassian.com/display/JIRAKB/Troubleshooting+Performance+Problems? If so please help us to help you by providing the symptoms you observed including a summary of your Garbage Collection logs and your current JVM settings.

0 votes
JIRA Team Mailbox December 22, 2015

Are Xmx and Xms values should be same ?

0 votes
Vasiliy Zverev
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.
December 22, 2015

Try to analise atlassian-jira.log. If if have memory troubles you will find record like OutOfMemoryExeption. Also try to analise this log via Hercules (see this:https://marketplace.atlassian.com/plugins/com.atlassian.support.stp/cloud/overview). This addon don need an instalation, just follow to instrctions.

Vasiliy Zverev
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.
December 22, 2015

More one note: memory size used by JIRA is determited into a some settigs, since if you have 6GB RAM it does not mean that JIRA use it all.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events