![Netscape ENTERPRISE SERVER 6.1 Manual Download Page 276](http://html1.mh-extra.com/html/netscape/enterprise-server-6-1/enterprise-server-6-1_manual_1674653276.webp)
CGI
276
Netscape Enterprise Server NSAPI Programmer’s Guide • April 2002 (Draft)
•
CGIExpirationTimeout
•
CGIStubIdleTimeout
•
CGIWaitPid (UNIX Only)
•
MaxCGIStubs
•
MinCGIStubs
CGIExpirationTimeout
This directive specifies the maximum time in seconds that CGI processes are
allowed to run before being killed.
The value of
CGIExpirationTimeout
should not be set too low - 300 seconds (5
minutes) would be a good value for most interactive CGIs; but if you have CGIs
that are expected to take longer without misbehaving, then you should set it to the
maximum duration you expect a CGI program to run normally. A value of
0
disables CGI expiration, which means that there is no time limit for CGI processes.
Note that on Windows NT/Windows 2000 platforms
init-cgi
time-out does not
work, so you must use
CGIExpirationTimeout
.
Default
0
CGIStubIdleTimeout
This directive 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.
Default
30
CGIWaitPid (UNIX Only)
For UNIX platforms, when
CGIWaitPid
is set to on, the action for the SIGCHLD
signal is the system default action for the signal. If a NSAPI plugin fork/execs a
child process, it should call
waitpid
with its child process
pid
when
CGIWaitPid
is
enabled to avoid leaving “defunct” processes when its child process terminates.
When
CGIWaitPid
is enabled, the SHTML engine waits explicitly on its exec cmd
child processes. Note that this directive has no effect on CGI.
Summary of Contents for ENTERPRISE SERVER 6.1
Page 1: ...NSAPI Programmer s Guide Netscape Enterprise Server Version6 1 April 2002 Draft...
Page 290: ...Miscellaneous 290 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 318: ...cinfo 318 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 336: ...Buffered Streams 336 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 344: ...344 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 350: ...350 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 356: ...356 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...