Speeding up slow Cruise Control response times

March 10, 2009 Pivotal Labs

We use Cruise Control on our Continuous Integration server and we have several ways of getting alerts about the status of the build, including email, RSS and the Cruise Control web interface.

Recently we noticed that the web interface and the rss feeds were taking very long to respond, on the order of 1 minute or more. After poking around, we realized that we had hundreds of serialized builds still on disk.

$ cd ~/OurCruiseDirectory/projects/OurProject
$ rm -r build-*

Then, to make sure this doesn’t happen again, we edited our OurCruiseDirectory/site_config.rb site_config.rb to decrease the number of builds we keep:

BuildReaper.number_of_builds_to_keep = 20

So it appears that the time Cruise Control responses take is directly proportional to the number of builds saved on the server.

About the Author


Pictures from the Jolt awards
Pictures from the Jolt awards

As Ian just posted, Pivotal Tracker won a Jolt award tonight. Here are some early pictures from the event....

Public projects in Pivotal Tracker
Public projects in Pivotal Tracker

If you use Pivotal Tracker for open source projects, and would like to increase visibility into what your t...

SpringOne 2021

Register Now