PerlDoc

24 Jun 2022 - 10:02 | Version 1 |
See PublishedAPI for packages intended to be used by Plugin and Contrib authors, or browse all packages.
See also Developing plugins, Developer's Bible, Technical Overview


On this page:

internal package Foswiki::Engine::FastCGI

Class that implements FastCGI execution mode.

Refer to Foswiki::Engine documentation for explanation about methos below.

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.

StaticMethod detach()

Daemonize process. Currently not portable...

Kontakt
Pädagogische Hochschule Schwyz
Zaystrasse 42
CH-6410 Goldau
T +41 41 859 05 90
info@phsz.ch Dies ist ein Wiki des Fachkerns Medien und Informatik der Pädagogischen Hochschule Schwyz. Für Fragen wenden Sie sich bitte an wikiadmin@phsz.ch
This page was cached on 21 Feb 2025 - 21:33.
This website is using cookies. More info. That's Fine