[Buildbot-devel] Another twisted server is running

Roy S. Rapoport buildbot-devel at ols.inorganic.org
Sat Oct 14 18:29:44 UTC 2006


On Fri, Oct 13, 2006 at 12:12:16AM -0700, Brian Warner wrote:
> The easiest way to deal with this is to edit buildbot/scripts/runner.py (grep
> for 'def stop'), replacing the "while timer < 5" with a larger number. I'd be
> willing to accept a patch that made this timeout configurable if you think it
> would help.

Thanks, Brian! I changed this to 15, and the problem went away.  I'm
frankly too lazy to make the timeout configurable, and I suspect the
problem will not occur for most people who use buildbot to manage one
product.

> I'd be interested to know what's making it take so long. I think there is
> some build-status saving going on at shutdown time, but not a whole lot else,
> so I'm kind of surprised that even 157 builders can't be shutdown in less
> than 5 seconds. You might use something like 'ls -ltr' or 'find -cmin -1 .
> -ls' to find all the buildmaster files that were changed in the last minute
> and see if there are a lot of them or not.

Is 294 "a lot of them"? :)

-roy




More information about the devel mailing list