Ticket #623 (closed defect: fixed)

Opened 2 years ago

Last modified 3 months ago

max-procs not handled for local (unix socket) SCGI in mod_scgi

Reported by: Basile STARYNKEVITCH Assigned to: jan
Priority: normal Milestone:
Component: mod_fastcgi Version: 1.4.11
Severity: normal Keywords:
Cc: Blocking:
Need Feedback: 0

Description

This is actually a mod_scgi bug (no mod_scgi component choice here)

The following configuration does not create, as expected, a single instance of SCGI process: which I want to run locally (on a very lightly loaded lighttpd server - for debugging & development purposes, I am the only user of the HTTP server). I also would like lighttpd/mod_scgi to start my process (ie the SCGI server) and I want the communication to be done on a Unix socket.

scgi.max-procs = 1

scgi.server = (".bark" => ("localhost" => (
                              "bin-path" => env.HOME + "/BarkScgi/bark.scgi -d",
                              "min-procs" => 1,
                              "max-procs" => 1,
                              "idle-timeout" => 100,
                              "socket" => "/var/tmp/bark_scgi_socket"
                              ))

See http://forum.lighttpd.net/topic/657 for more details.

A workaround is known: use TCP/IP communication (thru localhost:4002 for example) and start separately the SCGI server. But this is less practical to me, and I believe that the above configuration is documented to work.

Attachments

mod_scgi-max-procs-fix.patch (497 bytes) - added by milde <dackze@gmail.com> on 07/26/2006 06:59:57 PM.

Change History

07/26/2006 06:59:57 PM changed by milde <dackze@gmail.com>

  • attachment mod_scgi-max-procs-fix.patch added.

07/26/2006 07:00:58 PM changed by milde

That should fix it in the latest 1.4 branch. I don't know what happened to mod_scgi in the trunk though.

07/26/2006 07:04:08 PM changed by milde

Also, if someone with power could remove my email from the attachment--which I mistakenly left in--that would be nice.

10/07/2007 06:52:47 PM changed by sjamaan

  • blocking changed.
  • pending changed.

Another workaround is to replace min-procs with min-procs-not-working. It will honour that setting as if it were min-procs.

02/28/2008 10:19:40 PM changed by stbuehler

  • status changed from new to closed.
  • resolution set to fixed.

Appliend in [2109]


Add/Change #623 (max-procs not handled for local (unix socket) SCGI in mod_scgi)




Change Properties
Action