RPC_SVR_NUM_THREADS

WIS and WQS Process Configuration

Summary

This attribute defines the maximum number of threads that the WIS and WQS processes can use to process RPC requests from client applications.

Applies To

This attribute should be set for ALL processes.

Permissible Values

This attribute must be an integer in the range 1 to 100 (but see the Notes ).

Default Value

The attribute is assigned the following default value when the iProcess Engine node is installed.

Machine ID

Process

Instance

Value

0

ALL

0

5

Notes

To process RPC requests, both the WIS and WQS processes access a pool of “worker” threads that is provided by a multi-threaded RPC server shared library (SWRPCMTS). This attribute defines the number of threads that are available in the SWRPCMTS library to process RPC requests.

Warning: The maximum RPC_SVR_NUM_THREADS value is also limited by the value of the WQS_NUM_SEARCH_SLOTS process attribute.

If you want to increase the RPC_SVR_NUM_THREADS value beyond the WQS_NUM_SEARCH_SLOTS value, you must stop iProcess Engine, change the RPC_SVR_NUM_THREADS value and then restart iProcess Engine.

If you try to increase RPC_SVR_NUM_THREADS beyond WQS_NUM_SEARCH_SLOTS without stopping the iProcess Engine, the RPC_SVR_NUM_THREADS value will instead be set to the WQS_NUM_SEARCH_SLOTS value.

You can adjust the value of this process attribute to optimize the WQS and WIS process’ response times when processing RPC requests against available CPU capacity. Increasing the number of threads will improve the throughput of client RPC requests, but at the cost of increased CPU usage.

See Also

WIS_FILTER_THREAD_BOUNDARIES, WIS_FILTER_THREAD_POOL_SIZE, WQS_NUM_SEARCH_SLOTS