Edit Advanced Performance Settings

Use this page to edit the values of the directives in init.conf that affect threads, processes and connections for your server.

The following table describes the fields and buttons on the page. The left column lists the fields and buttons; the right column describes the functionality.

Field or Button
Description

StackSize

Determines the maximum stack size for each request handling thread.

User

User the server runs as.

PostThreadsEarly

Use this directive when the server will be handling requests that take a long time to handle, such as those that do long database connections.

ListenQ

The maximum number of pending connections on a HTTP listener. Connections that time out on a HTTP listener whose backlog queue is full will fail.

NativePoolStackSize

Determines the stack size of each thread in the native (kernel) thread pool.

ThreadIncrement

The number of additional or new request processing threads created to handle an increase in the load on the server.

ChunkedRequestBufferSize

Determines the default buffer size for "un-chunking" request data.

NativePoolMinThreads

Determines the minimum number of threads in the native (kernel) thread pool.

RcvBufSize

Specifies the size (in bytes) of the receive buffer used by sockets. Allowed values are determined by the operating system.

RqThrottleMin

Specifies the number of request processing threads that are created when the server is started. As the load on the server increases, more request processing threads are created (up to a maximum of RqThrottle threads).

HeaderBufferSize

The size (in bytes) of the buffer used by each of the request processing threads for reading the request data from the client. The maximum number of request processing threads is controlled by the RqThrottle setting.

TerminateTimeout

Specifies the time that the server waits for all existing connections to terminate before it shuts down.

IOTimeout

Specifies the number of seconds the server waits for data to arrive from the client. If data does not arrive before the timeout expires then the connection is closed.

RqThrottle

Specifies the maximum number of simultaneous request processing threads that the server can handle simultaneously per socket. Each request runs in its own thread.

ChunkedRequestTimeout

Determines the default timeout for "un-chunking" request data.

SndBufSize

Specifies the size (in bytes) of the send buffer used by sockets.

MaxRqHeaders

Specifies the maximum number of header lines in a request. Values range from 0 to 32.

ConnQueueSize

Specifies the number of outstanding (yet to be serviced) connections that the server can have.

KernelThreads

Set kernelThreads to ON (or a value of 1) to ensure that the server uses only kernel-level threads, not user-level threads. Set KernelThreads to OFF (or a value of 0) to ensure that the server uses only user-level threads, which may improve performance.

OK

Saves your entries.

Reset

Resets the values on the page to the default values.


Legal Notices
Copyright © 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.