On 5 February 2016 at 20:08, Bryan Talbot <[email protected]> wrote:
> On Fri, Feb 5, 2016 at 7:07 PM, Bryan Talbot <[email protected]> wrote:
>>
>> I think you're just attempting to reload haproxy too fast. There are race
>> conditions in getting the list of running pids and passing them into haproxy
>> -- that list changes before the next proxy is started.
>
>
> After further investigation, I think this answer is only partially correct.
> Reloads are happening too fast, but the -wait option for consul wasn't fully
> effective.
>
> You've probably seen this old bug on this issue that seems to affect consul
> after version 0.10.0
> https://github.com/hashicorp/consul-template/issues/442

Thanks, that did the trick. I went with the "rebuild consul-template
with go 1.6" container someone posted, and it helped. I wouldn't be
able to identify the issue myself (and c-t's authors had a hard time
too, since it's not actually related to reloading too fast, but is
actually a bug in golang 1.5 platform), so thanks a lot for doing the
digging! We were just about ready to give on deploying HAProxy in
production anytime soon.

Cheers,
Maciej

Reply via email to