Cgiwaitpid (Unix Only); Maxcgistubs; Mincgistubs; Wincgitimeout - Netscape ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE Manual

Nsapi
Table of Contents

Advertisement

CGI

CGIWaitPid (UNIX Only)

For UNIX platforms, when
is set to on, the action for the SIGCHLD
CGIWaitPid
signal is the system default action for the signal. If a NSAPI plugin fork/execs a
child process, it should call
with its child process
when
is
waitpid
pid
CGIWaitPid
enabled to avoid leaving "defunct" processes when its child process terminates.
When
is enabled, the SHTML engine waits explicitly on its exec cmd
CGIWaitPid
child processes. Note that this directive has no effect on CGI.
Default
on

MaxCGIStubs

Controls the maximum number of CGIStub processes the server can spawn. This is
the maximum concurrent CGIStub processes in execution, not the maximum
number of pending requests. The default value should be adequate for most
systems. Setting this too high may actually reduce throughput.
Default
10

MinCGIStubs

Controls the number of processes that are started by default. The first CGIStub
process is not started until a CGI program has been accessed. Note that if you have
an
directive in the
file, the minimum number of CGIStub
init-cgi
magnus.conf
processes are spawned at startup. The value must be less than the
MaxCGIStubs
value.
Default
2

WincgiTimeout

WinCGI processes that take longer than this value are terminated when this
timeout (in seconds) expires.
Default
60
Chapter 7
Syntax and Use of magnus.conf
271

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.0

Table of Contents