Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,366,205
Community Members
 
Community Events
168
Community Groups

Unable to take Backup on Bamboo version 6.10.4 build

we recently updated the Bamboo version to 6.10.4 build 61009 - 21 Nov 19 while taking backup on scheduled time its stoping bamboo service to take backup and not able to start the service so we have to restart the service and backup is also not completed.

Also tired taking backup manually issue is still the same.

 

java.lang.OutOfMemoryError: Java heap space
2020-03-05 17:25:16,951 ERROR [ActiveMQ BrokerService[bamboo] Task-715] [TaskRunnerFactory] Error in thread 'ActiveMQ BrokerService[bamboo] Task-715'
java.lang.OutOfMemoryError: Java heap space
2020-03-05 17:25:20,654 INFO [scheduler_Worker-9] [XmlMigrator] Updating destination zip D:\Bamboo\Home\backups\bamboo_backup_2020_03_05.zip
2020-03-05 17:25:20,654 INFO [scheduler_Worker-9] [XmlMigrator] Unmounted D:\Bamboo\Home\backups\bamboo_backup_2020_03_05.zip
2020-03-05 17:25:21,527 INFO [scheduler_Worker-9] [ServerLifecycleManagerImpl] Server state changed to 'RUNNING' from 'PAUSED'
2020-03-05 17:25:21,528 ERROR [scheduler_Worker-9] [JobRunShell] Job BackupGroup.BambooAutoBackup threw an unhandled Exception:
java.lang.OutOfMemoryError: Java heap space
2020-03-05 17:25:21,528 ERROR [scheduler_Worker-9] [ErrorLogger] Job (BackupGroup.BambooAutoBackup threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.OutOfMemoryError: Java heap space]
at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:48)
at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:26)
at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:17)
at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:41)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
Caused by: java.lang.OutOfMemoryError: Java heap space
2020-03-05 17:25:21,528 INFO [bambooHeartBeatMessageListenerConnector-2] [RemoteAgentManagerImpl] Received a duplicate heartbeat from agent 'INSRTEST-001.hldinfotech.com', possible retry after a communication failure
2020-03-05 17:25:21,536 WARN [ActiveMQ Session Task-1009] [MessageListenerUtils]
javax.jms.JMSException: org.apache.activemq.transport.RequestTimedOutIOException
at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:72)
at org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1421)
at org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1972)
at org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:288)
at org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:223)
at org.apache.activemq.jms.pool.PooledProducer.send(PooledProducer.java:95)
at org.apache.activemq.jms.pool.PooledProducer.send(PooledProducer.java:66)
at org.springframework.jms.remoting.JmsInvokerServiceExporter.writeRemoteInvocationResult(JmsInvokerServiceExporter.java:139)
at org.springframework.jms.remoting.JmsInvokerServiceExporter.onMessage(JmsInvokerServiceExporter.java:105)
at com.atlassian.bamboo.remoting.BambooJmsInvokerServiceExporter.onMessage(BambooJmsInvokerServiceExporter.java:17)
at com.atlassian.bamboo.spring.MessageListenerUtils$2.onMessage(MessageListenerUtils.java:38)
at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:736)
at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:696)
at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:674)
at org.springframework.jms.listener.AbstractMessageListenerContainer.executeListener(AbstractMessageListenerContainer.java:645)
at org.springframework.jms.listener.SimpleMessageListenerContainer.processMessage(SimpleMessageListenerContainer.java:322)
at org.springframework.jms.listener.SimpleMessageListenerContainer.lambda$createListenerConsumer$2(SimpleMessageListenerContainer.java:299)
at org.apache.activemq.ActiveMQMessageConsumer.dispatch(ActiveMQMessageConsumer.java:1404)
at org.apache.activemq.ActiveMQSessionExecutor.dispatch(ActiveMQSessionExecutor.java:131)
at org.apache.activemq.ActiveMQSessionExecutor.iterate(ActiveMQSessionExecutor.java:202)
at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:133)
at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:48)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.activemq.transport.RequestTimedOutIOException
at org.apache.activemq.transport.FutureResponse.getResult(FutureResponse.java:80)
at org.apache.activemq.transport.ResponseCorrelator.request(ResponseCorrelator.java:92)
at org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1391)
... 23 more
2020-03-05 17:25:21,536 WARN [ActiveMQ Session Task-1008] [MessageListenerUtils]
javax.jms.JMSException: org.apache.activemq.transport.RequestTimedOutIOException
at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:72)
at org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1421)
at org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1972)
at org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:288)
at org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:223)
at org.apache.activemq.jms.pool.PooledProducer.send(PooledProducer.java:95)
at org.apache.activemq.jms.pool.PooledProducer.send(PooledProducer.java:66)
at org.springframework.jms.remoting.JmsInvokerServiceExporter.writeRemoteInvocationResult(JmsInvokerServiceExporter.java:139)
at org.springframework.jms.remoting.JmsInvokerServiceExporter.onMessage(JmsInvokerServiceExporter.java:105)
at com.atlassian.bamboo.remoting.BambooJmsInvokerServiceExporter.onMessage(BambooJmsInvokerServiceExporter.java:17)
at com.atlassian.bamboo.spring.MessageListenerUtils$2.onMessage(MessageListenerUtils.java:38)
at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:736)
at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:696)
at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:674)
at org.springframework.jms.listener.AbstractMessageListenerContainer.executeListener(AbstractMessageListenerContainer.java:645)
at org.springframework.jms.listener.SimpleMessageListenerContainer.processMessage(SimpleMessageListenerContainer.java:322)
at org.springframework.jms.listener.SimpleMessageListenerContainer.lambda$createListenerConsumer$2(SimpleMessageListenerContainer.java:299)
at org.apache.activemq.ActiveMQMessageConsumer.dispatch(ActiveMQMessageConsumer.java:1404)
at org.apache.activemq.ActiveMQSessionExecutor.dispatch(ActiveMQSessionExecutor.java:131)
at org.apache.activemq.ActiveMQSessionExecutor.iterate(ActiveMQSessionExecutor.java:202)
at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:133)
at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:48)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.activemq.transport.RequestTimedOutIOException
at org.apache.activemq.transport.FutureResponse.getResult(FutureResponse.java:80)
at org.apache.activemq.transport.ResponseCorrelator.request(ResponseCorrelator.java:92)
at org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1391)
... 23 more

1 answer

0 votes
Jimmy Seddon Community Leader Mar 12, 2020

Hi @Karan Bhagal,

Welcome to the community!

It looks like you are running out of heap space while trying to perform the backup.

I'd recommend following the instructions here in order to increase the heap space value which should resolve the issue for you:

https://confluence.atlassian.com/bamboo/configuring-your-system-properties-289277345.html

I hope that helps!

-Jimmy

Hi Jimmy,

Made changes to setenv.bat file, didn't get heap space error but still unable to take backup. after this, I have made changes to made changed to Atlassian Bamboo Bamboo Properties will check tomorrow if this issue resolved.

Jimmy Seddon Community Leader Mar 13, 2020

I hope things work for you.  If they don't, try looking in the server log file for any other errors which might help in getting to the root problem.

Thanks!

I think this issue is with Bamboo version to 6.10.4 build 61009 - 21 Nov 19, I tried a fresh installation for testing on a different machine I am not even able to import Backup to my new instance it was stuck on importing for last 2 hours had to uninstall service and reinstall service to make the setup work.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events