Project

General

Profile

Actions

Bug #2106

closed

proxy.balance=round-robin fails if a back end host is down

Added by metula about 15 years ago. Updated almost 15 years ago.

Status:
Fixed
Priority:
Normal
Category:
mod_proxy
Target version:
ASK QUESTIONS IN Forums:

Description

The following config fails if either of the two hosts is taken offline - I would expect lighttpd to remove the failed server from the pool? Perhaps we have misread the intention of the round-robin balancer?

$SERVER["socket"] == "0.0.0.0:90" {
        proxy.balance = "round-robin" 
        proxy.server = ("/" =>
                        ( "localhost" =>
                         ( "host" => "192.168.1.10", "port" => 81 ),
                         ( "host" => "192.168.1.11", "port" => 81 )
                        )
                       )

}

Actions #1

Updated by metula about 15 years ago

Note that this is failing in version 1.4.25

Actions #2

Updated by metula about 15 years ago

When I say it "fails", I mean that upon refreshing a page after downing one of the servers, we may get one successful request and then 503 errors until the downed server is restarted.

Actions #3

Updated by stbuehler about 15 years ago

  • Priority changed from Urgent to Normal
Actions #4

Updated by stbuehler almost 15 years ago

  • Status changed from New to Fixed

Fixed in r2704 - thx for reporting.

Actions

Also available in: Atom