Project

General

Profile

Actions

Bug #596

closed

invalid fcgi load-balancing configuration doesnt give error or warning

Added by Anonymous about 18 years ago. Updated almost 16 years ago.

Status:
Fixed
Priority:
Low
Category:
mod_fastcgi
Target version:
-
ASK QUESTIONS IN Forums:

Description

When configuring fastcgi, if you use a configuration that doesnt match http://lighttpd.net/documentation/fastcgi.html lighty doesnt give any syntax errors or anything, but the load-balancing stops working (it only uses the first listed host in the configuration)

eg when i use:


fastcgi.server = ( ".fcgi" =>
                               ( "turbine-01-7000" => ( "host" => "127.0.0.1", "port" => 7000 ) ),
                               ( "turbine-01-7001" => ( "host" => "127.0.0.1", "port" => 7001 ) )
                         )

according to the config, the "turbine-01-700x =>" entries shouldn't be there, but it still (sort of) works, just ignoring the port 7001 entry. When it is removed:


fastcgi.server = ( ".fcgi" =>
                               ( ( "host" => "127.0.0.1", "port" => 7000 ),
                                 ( "host" => "127.0.0.1", "port" => 7001 ) )
                         )

load-balancing starts working properly, and lighty picks up on the port 7001 entry. It's not a major problem, but can trip people up and is difficult to track down...

-- bodhi

Actions #1

Updated by stbuehler almost 16 years ago

  • Status changed from New to Fixed
  • Resolution set to fixed

I tested it with current version and it works, so i think it got fixed.

Actions

Also available in: Atom