Forums

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

Jira Crashes brand new install

Alexander Soloviev March 14, 2019

Hey there,

I've just purchased the self-hosted Jira and a brand new VPS instance so there are no conflicts with my main server where my websites are hosted. 

I've used the quick install feature while installing the software and I've had no issues (Other than the MySQL-connector thingy but that was no problem). The installation went through and then the software crashed. I started it again did a few things and it crashed again. 

 

I am using CentOS 7 and I have 2 gigs of RAM available, I've increased the limit in the seteve file. It seems like that I am getting some sort of a Allocation failure error:

https://pastebin.com/rQsyFdaA

 

I am out of ideas on what could be wrong with my installation. Any help would be appreciated! 

 

Thanks for your time and help.

2 answers

1 accepted

0 votes
Answer accepted
Petr Vaníček
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.
March 14, 2019

Hi,

so what values for JVM you have in setenv.sh now?

2 GB of RAM could not be enough if you are installing Jira 8 as you can see in link below. Some part of memory consume DBMS and system.

https://confluence.atlassian.com/adminjira/jira-8-0-x-platform-upgrade-notes-964952608.html#Jira8.0.xplatformupgradenotes-memory

Which version of MySQL are you running? Can you try it with Jira 7.13 if it fail also?

0 votes
Alexander Soloviev March 14, 2019

Hey,

These are my values for setenv:

JVM_MINIMUM_MEMORY="234m"
JVM_MAXIMUM_MEMORY="2048m"

 

I've downloaded the mysql-connector-java-5.1.35. So I assume MySQL version is 5.1. I am running the database on an external server to save on some resources.

Petr Vaníček
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.
March 14, 2019

I think it's because of low memory. Try set MIN and MAX value to same "1650m". I know, it's lower than it's in documentation, but just for test.

When you start instance then monitor use of RAM with something like 'htop'. If it will near 2GB t's probably still too high.

If it help then you will must decide if you want use it for some kind of production server for a lot of issues.

  1.  Get server with minimal 4GB (better is use DBMS on same server - so will have have resources)
  2. Install older platform release with latest version of 7.13 and set both JVM values to 1250m, it should be enough for some basic instance
Alexander Soloviev March 14, 2019

I've increased the ram on the server to 4GB. Seems like I have around 300 megs free now. Before I only had around 30 - 60. I'll play around with Jira and see if its stable now.

 

Thank you!

Petr Vaníček
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.
March 14, 2019

It's 300 MB with cache or without?

If without than it should be ok until installation of any high resource plugin.

If with then it's not so much, but just play around it.

But really set both values to same value. It will consume more from start but with higher stability. 

Alexander Soloviev March 14, 2019

Seems like its with cache.

 

KiB Mem : 3782100 total, 186012 free, 2611364 used, 984724 buff/cache
KiB Swap: 0 total, 0 free, 0 used. 897584 avail Mem

 

It seems stable now though.

Petr Vaníček
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.
March 14, 2019

Perfect, it looks good. But be careful with plugins.

If it will looks good for longer time period and it helps then you can accept my first answer. ;-) Thanks

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events