[Buildbot-devel] "Connection lost in a non-clean fashion" / duplicate slave

Dustin J. Mitchell dustin at v.igoro.us
Sun Nov 23 14:42:40 UTC 2014


Agreed, this is a pretty common problem with Buildbot.  Buildbot
started before the use-HTTP-for-everything trend.  With HTTP, a
connection that's open and idle for more than a few seconds can be
safely dropped -- either the browser will reconnect, or the user will
just hit reload (I've had ops people tell me "sure it will break
connections but people will just hit reload".. grr).

Dustin

On Tue, Nov 18, 2014 at 7:00 AM, Benoît Allard
<benoit.allard at greenbone.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 11/18/2014 10:14 AM, Harry Percival wrote:
>> PPS, and apologies for the train-of-thought style email here.
>>
>> We've managed to get a stable connection by changing the
>> "keepalive" parameter in buildbot.tac.  I had, at first,
>> misunderstood where this file lived.  Figured out that it's the
>> buildbot.tac on the buildslave that needed changing.  We set it to
>> 60s, which may have been overkill, but it works now.
>
> That would probably deserves its own paragraph in the 'Deploying
> buildbot' chapter of the manual ...
>
>>
>> So, current best theory is that Azure has some sort of firewall
>> that disconnects some TCP/IP connections if they go idle, and
>> sending regular keepalive packets from the client fixes it.
>>
>> keep up the good work everyone!
>
> Thanks for the update !
>
>
>
> - --
> Benoît Allard (B30A05B0)|Greenbone Networks GmbH|http://greenbone.net
> Neuer Graben 17, 49074 Osnabrück, Germany | AG Osnabrück, HR B 202460
> Executive Directors: Lukas Grunwald, Dr. Jan-Oliver Wagner
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.12 (GNU/Linux)
>
> iQEcBAEBAgAGBQJUazTMAAoJEHZCfVOzCgWwRFsH/3pXL/5RJ8ZohFjxqXFWVGjI
> bnI+7KwhWnycZ9qQnmzNwFQOoEnLa2n6b4WnxnNrrmAVHH/RWOUunXHtSyHDXv/D
> 74tpUi51H7Ee9B7Pe6hJBjs7TNQnNK6l8Q90G8CZ/X1fp1CNbv4udbSFn3QjVb6P
> uTkCFMHdweV801xzzDA3a+HL/wvuuip0qRXNhqseJjvTc57P7q+5Hic0ZB2iynHk
> 0lVeYBmHo29+9rNeOxHxPRWF29tEpd6vOk/7JAuV2klt2Op8je23yWQcebTgL3a0
> HCGNc2xuAFyy5U3gVfHtZhA5wmuRwUfYnfxx0nb6ldPs4Lhc/ml3rMgUKRXUFBQ=
> =o++d
> -----END PGP SIGNATURE-----
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel




More information about the devel mailing list