How to stop Bamboo from shutting itself down and restarting


アトラシアン コミュニティをご利用ください。


If the Bamboo server is shutting itself down and restarting multiple times during the day, there might be a problem with Bamboo's service wrapper.


Bamboo server (running from command line or running as a Windows service) starts up fine, but after some random period the wrapper fails and kills Bamboo instance. The same behavior can happen to Bamboo remote agent if the wrapper is used. These errors might be logged:

ERROR  | wrapper  | 2012/09/12 10:44:34 | JVM appears hung: Timed out waiting for signal from JVM.
ERROR  | wrapper  | 2012/09/12 10:44:34 | JVM did not exit on request, terminated


INFO   | wrapper  | 2009/01/28 15:24:34 | Wrapper Process has not received any CPU time for 11 seconds.  Extending timeouts.
INFO   | jvm 1    | 2009/01/28 15:28:17 | 2009-01-28 15:28:17,299 INFO [ActiveMQ ShutdownHook] [TransportConnector] Connector vm://bamboo Stopped
INFO   | jvm 1    | 2009/01/28 15:28:17 | 2009-01-28 15:28:17,721 INFO [ActiveMQ ShutdownHook] [BrokerService] ActiveMQ JMS Message Broker (bamboo, ID:BSYTEST5-4449-1233174172549-1:0) stopped
STATUS | wrapper  | 2009/01/28 15:28:18 | <-- Wrapper Stopped


Bamboo's service wrapper comes with a timeout that specifies the interval at which the JVM is pinged. A response is expected in that time. If the JVM is too busy, it will not respond to this ping in time. defines the timeout in seconds. 0 means that it will never time out. The default value of this setting is 30 seconds.


Increase the timeout in the wrapper's configuration. To do this, add the following line to the <Bamboo-Install>/conf/wrapper.conf file if it does not exist and restart the Bamboo instance (the same can be done for a Bamboo remote agent by editing the <Bamboo-Agent-Home>/conf/wrapper.conf file if the remote agent is having the same problem).

If any elastic agents are running, ensure that they are shut down before restarting the Bamboo server. If the elastic instances do not shutdown before restarting, they will continue to run and become orphaned from your Bamboo server.


最終更新日 2015 年 9 月 1 日


Powered by Confluence and Scroll Viewport.