For more information... RTFM!
NAVIGATION
RECENTLY VIEWED
PAGES THAT LINK HERE
ACCOUNT LOGIN

You are not logged in

Powered by Interchange version 5.7.0

PreFork

Causes Interchange to run in pre-forking server mode.

Synopsis

PreFork  Yes

This is a Yes or No directive.  The default is No.

Scope

This directive is only available for use in the global (interchange.cfg) configuration file, and will affect all websites running under the Interchange installation.  It will not work in a website's local (catalog.cfg) configuration file. 

Description

Causes Interchange to run in pre-forked-server mode;  A number of Interchange server daemons (defined using StartServers) will be pre-spawned so that they are available to handle page requests as they arrive, thus reducing system overhead due to forking.  This is the fastest and best way to run a busy Interchange server.

Each server will handle the number of requests defined with MaxRequestsPerChild before committing suicide and causing another server to pre-fork and replace it.

PreFork mode is often referred to as RPC mode.

Example

PreFork              Yes
StartServers         5
MaxServers           0
MaxRequestsPerChild  100
HouseKeeping         2
PIDcheck             120

Category:  Global config directives
Last modified by: Kevin Walsh
Modification date: Sunday 26 November 2006 at 2:44 PM (EST)

Licence

Except where stated otherwise, all of the graphics and typefaces offered for download on this page are published under the terms of the GNU General Public Licence Link to an external page version 2 or, at your option, any later version.

For the purpose of applying the GNU General Public Licence Link to an external page to graphics, we consider "source code" to refer to the SVG files, and "object code" to refer to the processed PNG and EPS files.

Note that the "BitStream Vera" typeface, available for download on this page, is NOT licenced under the terms of the GPL.  See the "COPYRIGHT.TXT" file in the archive for details.

Home  |  Legal nonsense  |  Privacy policy  |  Contact us