icm/max_threads

Use

This parameter specifies the maximum number of threads in the ICM. The maximum number of threads is therefore the same as the maximum number of connections than can be processed at the same time.

Integration

The set minimum number of threads (icm/min_threads) is set at ICM startup and also applies during runtime. If the network load is heavy, the ICM starts more threads until the set maximum is reached.

If the network load becomes lighter again, the number of threads is reduced.

Properties

Work area

Internet Communication Manager, SAP Web Dispatcher

Unit

Integer value

Standard value

50

Dynamically changeable

No

Value Range and Syntax

Between 5 and 32,000 threads can be configured.

Constraints

Operating System Dependency

The maximum number of available threads in a process can vary, depending on the operating system. It must be possible to set the maximum number of threads at ICM startup. If the network load is heavy, the set maximum is reached.

The maximum number of available threads on different operating systems is restricted by kernel parameters. The maximum number of threads is further restricted by the available stack size. Each worker thread in the ICM requires 512KB stack size.

The table below shows how much the maximum number of threads per process varies on different platforms:

Platform

Threads per Process

Tru64

> 1000

Linux

> 1000

Windows

> 2000

HP-UX

64

Sun Solaris

> 1000

AIX

512

If you reach these limits (especially with HP-UX and AIX, you have to change the kernel parameters in of the operating system. This is explained in the associated documentation.

Parameter Dependencies

icm/min_threads must be larger than icm/max_threads.

More Information

Note the following documentation:

icm/min_spare_threads