Forums

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

Running confuence is crashing Jira

zeoz anton
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!
June 3, 2019

Hi

I'm trying to run Jira + confluence at the same Linux server.

When running just 1 of the app everything works fine but when I'm trying to start the second app the first one after a while crashes. 

error logs don't show any information except warnings ie:

03-Jun-2019 16:09:56.790 WARNING [http-nio-55000-exec-2] com.sun.jersey.spi.container.servlet.WebComponent.filterFormParameters A servlet request, to the URI http://*****:port/rest/webResources/1.0/resources, contains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter accessing the request parameters. Only resource methods using @FormParam will work as expected. Resource methods consuming the request body by other means will not work as expected.

 

Already tried to allocate more memory to jira without any luck

Any help resolving this issue would be much appreciated 

Thanks in advance

 

 

1 answer

0 votes
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 4, 2019

Hi Zeoz,

Sorry to hear that you are having this problem when starting a second application.  Both Jira and Confluence are Java applications.  As such these can have rather high memory requirements to run these well.  When a Java application starts up on the system it immediately needs to allocate a heap size, and it does that immediately on startup.  This is typically defined in the Xms parameter of the JVM startup arguments. 

I suspect that your host operating system simply does not have enough system memory to be able to operate both applications and keep enough memory free for other required system operations.  When this happens in a linux environment, it is common that the Linux kernel will simply terminate processes that consume the largest amount of memory (typically jira or confluence here).  We have a KB about this problem in How to Resolve JIRA Process being Terminated Unexpectedly in Linux.   I would recommend trying to follow that KB to confirm this is the problem here.

If it is, then there are a few different steps you could take to try to resolve this, from increasing the amount of system memory available to the operating system to potentially migrating either Jira or confluence to a new host with its own dedicated system resources.

I would also suggest checking out the Jira Sizing Guide.  I realize it was created for older versions of Jira, but it tends to still be rather accurate for todays needs.  Please just keep in mind that the requirements listed there try to give admins estimates for running Jira alone.  You will likely need to size your system larger than that requirement if you intend to keep both applications on the same host. 

However, it might be worth looking into migrating either Jira or Confluence to a new host.  There are certainly advantages in regards to uptime to having each on their own host.  Hence if the server for Confluence fails for some reason, say hardware, or a network problem, it does not then also bring down Jira.

I hope this helps.

Andy

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events