We are running confluence server in the Ubuntu 22.04. Until now all perfect. But past few days regularly the confluence not working . once we restart after 20 - 30 minutes again the problem occurs.
Then we followed the new security advisory email from atlassian and upgraded our version to 17.18.1
Same server we are running the Bitbucket and Jira. Those are working fine without any issues.
The CPU usage of the service is 85% to 95%. some times uses all cpu. If we stop the confluence the cpu usage is drops to 5 % to 10% . even running the other services Bitbucket and Jira.
The CPU usage is very abnormal for past few days and keep the confluence down after 15 minutes we start.
Please let us know, what are steps we need to follow to fix the issue. Its production server and affecting our development activities. We are waiting for your valuable reply.
Confluence Service crashing frequently
Start by monitoring and reading logs. What are the patterns of usage, and when within them is it failing (note that "it looks random" is a perfectly good answer to that, what we're looking for is patterns. If there isn't one that correlates with user usage patterns, that's fine, you've probably ruled out a load of stuff as causing the crash)
Your logs are probably the first place to look. The most interesting ones are going to be the handful of lines before the crash, but the whole thing is worth a look if you've got high CPU usage all the time. The logs are trying to tell you what the service is actually doing, as well as catching data about failures.
The ones to read first are the application log (<confluence home>/log/atlassian-confluence.log and all the other logs in that directory), then the application server log (<confluence install>/logs/catalina.out )
thanks for your guidance , I checked the confluence logs under
found its a java heap size issue
After I followed the below steps and now the confluence running without any issues.
#Stop Confluence service
took reference from the below discussion
Excellent! I'm glad it was an easy one to find and fix!
One thing that I do find lacking in Atlassian's docs about installing server is that they don't say (loudly enough) "the default setup is only for a trial, demo or quick test system. You should review them with a view to making them suitable for your intended use of the system"
I lost count of the installs I've done years ago, but I know I've changed the memory settings on every one I've done since <mumble> before even thinking of starting the new install up!
Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events