I think I can reproduce this and a similar bug that causes a SEGFAULT (on
load or config check) when 'disabled' appears in a backend using the config
shown below.


defaults
  timeout client 5s
  timeout server 5s

frontend main :8888
  default_backend one

backend one

backend two
  disabled



A git bisect shows it breaking with commit

91b00c2194b728ccd61133cca83f03de3650b674 is the first bad commit
commit 91b00c2194b728ccd61133cca83f03de3650b674
Author: Willy Tarreau <[email protected]>
Date:   Tue Sep 16 13:41:21 2014 +0200

    MEDIUM: config: compute the exact bind-process before listener's
maxaccept

    This is a continuation of previous patch, the listener's maxaccept is
divided
    by the number of processes, so it's best if we can swap the two blocks
so that
    the number of processes is already known when computing the maxaccept
value.
    (cherry picked from commit 419ead8eca9237f9cc2ec32630d96fde333282ee)



On Thu, Oct 9, 2014 at 3:12 AM, Paul Taylor <[email protected]> wrote:

>  Hi,
>
>
>
> I have some 1.5.3 configurations which contain a default_backend which is
> actually disabled.
>
> Snippet below.
>
> On upgrading to 1.5.5 – the first backend following the disabled line gets
> silently lost.
>
>
>
> Frontend main *:80
>
>   …
>
>     default_backend default
>
>
>
> #---------------------------------------------------------------------
>
> # round robin balancing between the various backends
>
> #---------------------------------------------------------------------
>
> backend default
>
>     disabled
>
>
>
> backend app1
>
>     ….
>
>
>
> backend app2
>
>     ….
>
>
>
> Easy to reproduce – and loss is visible in stats page.
>
>
>
> Any thoughts ?
>
>
>
> Best Regards,
>
> Paul
>
>
>
>
>
> Equifax Limited is registered in England with Registered No. 2425920. 
> Registered
> Office: Capital House, 25 Chapel Street, London NW1 5DS. Equifax Limited is
> authorised and regulated by the Financial Conduct Authority.
>
> Equifax Touchstone Limited is registered in Scotland with Registered No.
> SC113401. Registered Office: 54 Deerdykes View, Westfield Park, Cumbernauld
> G68 9HN.
>
> Equifax Commercial Services Limited is registered in the Republic of
> Ireland with Registered No. 215393. Registered Office: IDA Business &
> Technology Park, Rosslare Road, Drinagh, Wexford.
>
>
>
> This message contains information from Equifax which may be confidential
> and privileged. If you are not an intended recipient, please refrain from
> any disclosure, copying, distribution or use of this information and note
> that such actions are prohibited. If you have received this transmission in
> error, please notify by e-mail [email protected].
>

Reply via email to