Unable to backup the confluence data

Hi Team,

Iam unable to backup the confluence data and scheduled job also not working from dec-14-2012.

i am getting below error :

System Error

A system error has occurred — our apologies!

For immediate troubleshooting, consult our knowledge base for a solution.

If you would like to receive support from Atlassian's support team, ask your Confluence administrator to create a support issue on Atlassian's support system with the following information:

1.a description of your problem and what you were doing at the time it occurred

2.a copy of the error and system information found below

3.a copy of the application logs (if possible).

Your Confluence administrator can use the support request form to create a support ticket which will include this information.

We will respond as promptly as possible.

Thank you!

Return to site homepage…

Cause

javax.servlet.ServletException: Servlet execution threw an exception

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:313)

caused by: java.lang.OutOfMemoryError: Java heap space

at Unknown location

Stack Trace:[hide]

javax.servlet.ServletException: Servlet execution threw an exception

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:313)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)

at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66)

at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:25)

at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74)

at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42)

org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)

at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)

at java.lang.Thread.run(Thread.java:619)

Caused by: java.lang.OutOfMemoryError: Java heap space

Referer URL

http://fiinfraln1p.eur.nsroot.net:8090/admin/backup.action

Please advise me and do the needful.

Thanks,

Saravanan subramanian

2 answers

Hi Saravanan,

From the stacktrace it seems that it's out of memory issue. Please refer to this document for more information.
*
https://confluence.atlassian.com/display/CONFKB/Out+of+Memory+Heap+Space
*
https://confluence.atlassian.com/display/CONFKB/How+to+Fix+Out+of+Memory+Errors+by+Increasing+Available+Memory

Hope it helps

Hi Rian,

Thanks for your reply. Currently i have the below in setenv.sh

JAVA_OPTS="-Xms1769m -Xmx1769m -XX:MaxPermSize=512m $JAVA_OPTS -Djava.awt.headless=true "

could you please advise how much need to increase ?

Thanks,

Saravanan

Add 128 to the MaxPermSize and try it again. You may need to go yet higher though

Hi Nic,

Do i need to restart the server after adding the 128 to MaxPermSize ?

Yes restarting the instance is necessary for the changes to be applied.

Hi Subramanian,

Just want to inform you that it is not recommended for you to rely on XML backup and restore method as the sole backup solution of your production instance, since this method is meant only for evaluation purposes and other than the fact that it require a huge resources to finsihed it is also not reliable for huge instances (data lost due to corruption).

We highly recommend you to review our documentation regarding our production instance backup strategy. Hope it helps.

Cheers,
Septa Cahyadiputra

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in Featured Groups

Tuesday tips & tricks: What is the Atlassian Community?

It's officially Tuesday, which means it's officially time for another tip to help you better navigate this space we call the Atlassian Community. 😄 I got a great question from community member, Sa...

42 views 2 4
View post

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