Unable to backup the confluence data

saravanan subramanian January 7, 2013

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

0 votes
Septa Cahyadiputra
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.
January 7, 2013

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

0 votes
RianA
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.
January 7, 2013

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

saravanan subramanian January 7, 2013

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

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 7, 2013

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

saravanan subramanian January 7, 2013

Hi Nic,

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

Septa Cahyadiputra
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.
January 7, 2013

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events