For more information... RTFM!
NAVIGATION
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)
Home  |  Legal nonsense  |  Privacy policy  |  Donations  |  Contact us