httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <>
Subject Re: [mod_fcgid] Cleaning up configuration directive names
Date Tue, 29 Sep 2009 22:37:58 GMT
On Tue, Sep 29, 2009 at 4:31 PM, Jeff Trawick <> wrote:

> SpawnScore -> SpawnScoreSpawnCost
> SpawnScoreUpLimit -> SpawnScoreLimit
> TerminationScore -> SpawnScoreExitCost
> TimeScore -> SpawnScoreDecayPerSecond
These names are pretty ugly :(  Here is what they are for, in case that

They control the maintenance of a score that keeps process activity from
overwhelming the system.  A separate score is maintained for each
application/class.  The score is maintained by

  adding SpawnScore to the score for each process creation
  adding Termination score to the score for each process exit
  subtracting TimeScore from the score every second

A new process cannot be created if the current score is > SpawnScoreUpLimit.

(It is probably fair to say that these directives were provided in lieu of a
generally suitable algorithm to control spawning, and that in the long term
the latter should be implemented.)

View raw message