Item12909: FastCGIContrib does not have a Config.spec and hence its settings do not appear in /bin/configure.

pencil
Priority: Normal
Current State: Closed
Released In: n/a
Target Release:
Applies To: Extension
Component: FastCGIEngineContrib
Branches: Item13010 master
Reported By: FredTarbox
Waiting For:
Last Change By: MichaelDaum
-- FredTarbox - 22 May 2014 FastCGIContrib does not have a Config.spec and hence its settings do not appear in /bin/configure.

See IRC logs at http://irclogs.foswiki.org/bin/irclogger_log/foswiki?date=2014-05-22,Thu&sel=75#l71

The documentation in lib/Foswiki/Engine/FastCGI.pm is also a bit off.

---++ Configuration

=MaxRequrests= limits the number of requests one backend process is allowed to
serve before it will terminate and respawn a substitute.  This can be used to
fight back memory leaks in the application where the processes memory
consumption grows over time. Default is 100 requests.  Lower this limit when
processes tend to grow too fast over time exceeding your server's memory
capacities. A negative value disables this heuristics. Reasonable values are
roughly 10 or 20 depending on the profile of additional plugins and libraries.

Note also, that mod_fcgid has got similar configuration parameters. Alas, this
project is abandoned at the time of this writing. mod_fastcgi on the other hand
is missing this option, as far as I can say. 

The actual value of =MaxRequest= also depends on the maximum number of parallel
threads and fcgi backend processes that are allowed to be spawned by the web server.

=cut

our $maxRequests = $Foswiki::cfg{FastCGIContrib}{MaxRequests} || 100;

setting to confirmed

-- GeorgeClark - 23 May 2014

It was also noted that if a negative MaxRequests is used to disable the option, the counter will eventually overflow and cause a failure.

-- GeorgeClark - 23 May 2014

Fixed in latest checkins.

-- MichaelDaum - 30 Jan 2015
 
Topic revision: r6 - 08 Jun 2015, MichaelDaum
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy