Project

General

Profile

Bug #319

Should warn if two FastCGI servers point to same socket file

Added by Anonymous over 11 years ago. Updated 12 months ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
mod_fastcgi
Target version:
Start date:
Due date:
% Done:

0%

Missing in 1.5.x:

Description

I accidentally had two fastcgi.server definitions (in two separately included config files written by my users) both pointing to the same socket. This caused constant and inexplicable FastCGI connection failures and log entries such as these:


2005-10-06 21:08:28: (mod_fastcgi.c.1532) connect failed: 25 No such file or directory 2 0 /var/run/lighttpd/php-cgi.socket-0
2005-10-06 21:08:28: (mod_fastcgi.c.2678) fcgi-server disabled:  0 /var/run/lighttpd/php-cgi.socket-0

The server should warn, on startup, if two or more fastcgi.server definitions point to the same socket file.

-- alex

Associated revisions

Revision 97556d99 (diff)
Added by gstrauss 12 months ago

[mod_fastcgi,mod_scgi] check for spawning on same unix socket (fixes #319)

error if unix socket path is duplicated

(does not check across modules, but will detect duplicated unix socket
paths within fastcgi directives, and separately, duplicated unix socket
paths within scgi directives)

Revision b67ff2aa (diff)
Added by gstrauss 9 months ago

[mod_fastcgi,mod_scgi] check for spawning on same unix socket (#319)

silently use same 'host' if unix socket path is duplicated
(instead of erroring out). Updates commit 97556d99

(It is possible for use of += in config to result in duplicated
fastcgi.server and scgi.server entries)

x-ref:
"Should warn if two FastCGI servers point to same socket file"
https://redmine.lighttpd.net/issues/319

Revision c1af146a (diff)
Added by gstrauss 9 months ago

[mod_fastcgi,mod_scgi] check for spawning on same unix socket (#319)

error out if duplicated unix socket path and different bin-path is
used by lighttpd to start the backend. This is an error.
Updates commits 97556d99 and b67ff2aa

x-ref:
"Should warn if two FastCGI servers point to same socket file"
https://redmine.lighttpd.net/issues/319

History

#1 Updated by gstrauss 12 months ago

  • Description updated (diff)
  • Status changed from New to Patch Pending
  • Assignee deleted (jan)
  • Target version set to 1.4.40

#2 Updated by gstrauss 12 months ago

  • Status changed from Patch Pending to Fixed

committed in 97556d99

Also available in: Atom