[Buildbot-devel] Buildbot cannot use all build slaves

Dustin J. Mitchell dustin at v.igoro.us
Thu Jan 3 03:38:23 UTC 2013


On Wed, Jan 2, 2013 at 8:31 PM, Chen Yingliu <chenyingliu at gmail.com> wrote:
> One weird thing is BuildRequestDistributor._activityLoop() take more than
> 100 seconds, I suppose this should run fast ? However I don't quite get the
> buildbot scheduling logic even after read the code for a while. Any one can
> help figure out the reason why _activityLoop() took more than 100 seconds
> and why not all build slave are used?

The _activityLoop loops until the queue of pending builders is empty.
If build requests are arriving quickly enough, the 'while 1' loop it
contains will keep looping.  So that metric isn't the most helpful.

Do you have mergeRequests enabled?  That's a particularly slow
operation, especially if the request queues are long.

Dustin




More information about the devel mailing list