Keepalivetimeout; Kernelthreads; Listenq; Maxkeepaliveconnections - Netscape ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE Manual

Nsapi
Table of Contents

Advertisement

Threads, Processes and Connections

KeepAliveTimeout

This directive determines the maximum time that the server holds open an HTTP
Keep-Alive connection or a persistent connection between the client and the server.
The Keep-Alive feature for earlier versions of the server allows the client/server
connection to stay open while the server processes the client request. The default
connection is a persistent connection that remains open until the server closes it or
the connection has been open for longer than the time allowed by
.
KeepAliveTimeout
The timeout countdown starts when the connection is handed over to the
keep-alive subsystem. If there is no activity on the connection when the timeout
expires, the connection is closed.
Default
The default value is
seconds. The maximum value is
seconds (5 minutes).
30
300

KernelThreads

Enterprise Server can support both kernel-level and user-level threads whenever
the operating system supports kernel-level threads. Local threads are scheduled by
NSPR within the process whereas kernel threads are scheduled by the host
operating system. Usually, the standard debugger and compiler are intended for
use with kernel-level threads. By setting
to
(on), you ensure that
KernelThreads
1
the server uses only kernel-level threads, not user-level threads. By setting
to
(off), you ensure that the server uses only user-level threads,
KernelThreads
0
which may improve performance.
Default
The default is 0 (off).

ListenQ

Specifies the maximum number of pending connections on a listen socket.
Connections that time out on a listen socket whose backlog queue is full will fail.
Default
The default value is platform-specific: 4096 (AIX), 200 (Windows NT), 128 (all
others).

MaxKeepAliveConnections

Specifies the maximum number of Keep-Alive and persistent connections that the
server can have open simultaneously. Values range from 0 to 32768.
Chapter 7
Syntax and Use of magnus.conf
265

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.0

Table of Contents