Jira not starting

Leo Torres
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!
October 27, 2023

Hi guys,

I am just starting with Jira so I have no much knowledge. I’m here to get some insights from you and maybe help back in the future.

Our environment was reset this morning and, after trying to bring it up, it failed 3 or 4 times.
After that, our team recovered a backup and the environment is now back up, but we would like to understand what problem was preventing Jira from starting.

Some warns I got from the logs are:

“Caesium-1-1 WARN [c.a.jira.ofbiz.IssueGenericValue] Issue (id=0) has empty field 'num'. Returning null for 'key'.“

”JIRA-Bootstrap WARN [c.a.jira.health.HealthChecks] JIRA runs in a Java virtual machine (JVM), and this JVM is allocated an amount of memory to enable JIRA to run. These amounts can be manually configured.”

”- The initial memory allocation pool (-Xms) is recommended to be at least 384m.”

This last one caught my attention because the total memory amount is below the recommended value. Is set with a total of 320. But the used amount is below that. Like 183. So I don’t know for sure.

Any insights where should I look after?

Best regards

1 answer

0 votes
Nic Brough -Adaptavist-
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.
October 29, 2023

Welcome to the Atlassian Community!

These warnings really are just warnings, they're not the errors that are preventing startup. 

  • It's quite rare that Caesium errors prevent Jira starting, the worst they usually do is break one or two bits of the UI, and warnings can generally be ignored.
  • The memory warning is also just a warning, it's about the startup memory allocation.  Java will start with whatever you've set allocated, but quite happily chew up more when it needs it, up to the maximum heap size you have set.  

The usual recommendation is to simply set the startup allocation to the same as the maximum heap size, as that's going to make starting up a bit faster, and as you're allocating the memory already, you might as well.  But you don't need to do this.

I would want to check the memory first - what is the maximum heap size?  I wouldn't try to run a Jira with less than 1Gb nowadays, and that's for a small, single user, zero addons, system for dev, test, or demonstration.  For a real service, I'd start with 2Gb and be looking for 4!

If it's not the memory, then you're going to read the rest of the logs for the startup errors.

Suggest an answer

Log in or Sign up to answer