Show TOC

 Thread ManagerLocate this document in the navigation structure

This manager supplies the threads in which SAPJ2EE Engine system operations are executed. It provides a set of properties for starting and managing system threads.

The Thread Manager runs on both server processes and dispatchers.

Dispatcher

Property Description Default Value

InitialThreadCount

The initial size of the thread pool. Specifies how many threads are started at the ThreadManager initialization. After startup, each thread is put in a waitQueue , until there is a Runnableobject for processing.

100

MaxRQSize

The maximum size of the request queue. It is used to avoid infinite wait.

5000

MaxThreadCount

The maximum number of threads that the Thread Manager will manage. This limit is needed to avoid overload due to too many running threads.

200

MinThreadCount

Absolute minimum number of the threads in the Thread Manager's pool. Even if the J2EE Engine has absolutely no requests, this is the minimum number of threads that will be kept running.

50

ThreadsIdleTimeout

A timeout (in minutes) for which the idle thread exists if a thread has not managed to obtain a task for processing and if the total number of threads is in the [MinThreadCount; MaxThreadCount] range. For more information, see Dynamic Allocation/Reallocation of Resources (in the Administration Manual).

5

Server

Property Description Default Value

InitialThreadCount

See above.

40

MaxRQSize

See above.

5000

MaxThreadCount

See above.

100

MinThreadCount

See above.

10

ThreadsIdleTimeout

See above.

5

See also:

Thread System in the Administration Manual