Sun Java System Web Server 6.1 SP12 Programmer's Guide

ProcedureTo change global CGI settings

  1. Access the Server Manager, and click the Magnus Editor page.

  2. Select CGI Settings from the drop-down list, and then click Manage.

  3. In the Magnus Editor, specify values for the following settings:

    • MinCGIStubs. Controls the number of processes that are started by default. Note that if you have an init-cgi directive in the magnus.conf file, the minimum number of CGIStub processes are spawned at startup. The value must be less than the MaxCGIStubs value.

    • CGIExpirationTimeout. Specifies the maximum time in seconds that CGI processes are allowed to run before being killed.

    • CGIStubIdleTimeout. Causes the server to kill any CGIStub processes that have been idle for the number of seconds set by this directive. Once the number of processes is at MinCGIStubs, the server does not kill any more processes.

    • MaxCGIStubs. Controls the maximum number of CGIStub processes the server can spawn. This is the maximum concurrent CGIStub processes in execution and not the maximum number of pending requests.

  4. Click OK and apply your changes.

    For more information about these global CGI settings, see the description of magnus.conf file in the Sun Java System Web Server 6.1 SP12 Administrator’s Configuration File Reference.