Project

General

Profile

Feature #1530

cgi.max_processes addition

Added by Anonymous over 9 years ago. Updated 2 months ago.

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

0%

Estimated time:
Missing in 1.5.x:

Description

This patch adds a "cgi.max_processes INT". This limits the number of processes
that can be run via lighttpd. I used this because a small system might run
out of memory.

-- nmav

max_procs.patch (2.65 KB) max_procs.patch Max processes limit patch -- nmav Anonymous, 2008-01-22 08:37

Related issues

Related to Feature #967: request-queue-limit option for mod_fastcgiFixed

Related to Feature #2431: mod_cgi process limitFixed2012-08-06

History

#1 Updated by gstrauss about 1 year ago

  • Assignee deleted (jan)

#2 Updated by gstrauss about 1 year ago

  • Target version deleted (1.5.0)

#3 Updated by gstrauss 8 months ago

  • Related to Feature #967: request-queue-limit option for mod_fastcgi added

#4 Updated by gstrauss 8 months ago

#5 Updated by gstrauss 2 months ago

  • Description updated (diff)
  • Status changed from New to Missing Feedback

Since lighttpd 1.4.40, lighttpd no longer blocks if nproc ulimit is reached (after lighttpd starts up). See #2431 for further discussion.

Is this patch still needed? Probably not, as long as you set nproc ulimit to be sufficient number of processes for lighttpd to start up and start any piped loggers. The remaining difference between number of processes at the point and the nproc ulimit should provide similar behavior to your cgi.max_processes patch.

#6 Updated by gstrauss 2 months ago

  • Status changed from Missing Feedback to Fixed

Marking fixed, as the underlying issue (blocking behavior in CGI) behind this feature request has been fixed since lighttpd 1.4.40.

#7 Updated by gstrauss 2 months ago

  • Target version set to 1.4.x

Also available in: Atom