Starting JIRA automatically stops Confluence, vice versa

I recently migrated JIRA 6.4 and Confluence 5.7 to a new Ubuntu server. I noticed starting one server automatically stops the other. Has anyone else come across this problem or know what the problem might be?

Thanks!

3 answers

1 accepted

0 vote

If you have shared any resources between the two, then yes, this can happen.

Starting one can make the other run out of memory if you've allowed too much memory to them, their databases will lock if you try to share, the home directories, any part of their Tomcat installations and so-on.

Best bet is to read the log.  Bring them both up, and then read the application log for the one that stops, and, probably more usefully, the catalina.out file for both Tomcats.

Found this in Confluence catalina.out

Error occurred during initialization of VM

Could not reserve enough space for object heap

Both Xms and Xmx were set to 1024m in setenv.sh. The default values for JIRA seem more reasonable to me. Not sure why Confluence team did that.

Both applications can be quite memory hungry as they grow, and it often makes sense to start java systems with Xms = Xmx.  (I'm not going to pretend I understand it, or when it's a good idea, but I'm told it's appropriate here)

Also, try checking the ports being used in your start/stop scripts. The shutdown port being used by the other is being used by a starting port by the other.

Atlassian doesn't support & recommend running multiple Atlassian products on a single machine. Your solution might work, but think about separating Confluence & JIRA or at least run them in different virtual machines.

Actually, they do.  What they do not support is running multiple products on the same application server.  In theory, it's possible to run one Tomcat with JIRA and Confluence and others all running inside it.  That is not supported.

But running one Tomcat per application is supported, even if those Tomcats are all on the same server.  You must be careful to ensure the server is capable of handling the load though.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

910 views 23 12
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you