Skip to main content

We Have Moved

The IBM Application Gateway has a new home - docs.verify.ibm.com/gateway

The documentation on this site will no longer be maintained after v21.02, please update your bookmarks.


Worker Threads

Description

Specifies the limits that can be set on the percentage of worker threads that may be consumed by this resource server.

Properties

The following table(s) describe the configuration properties for this component:

Name Type Constraints Description
hard_limit number Minimum:0
Maximum:100
Default:0
Specifies the hard limit (as a percentage) of worker threads that the resource server can use. Warning messages will be displayed when the resource server uses more worker threads than allowed and clients are returned the 503 Service Unavailable message.
soft_limit number Minimum:0
Maximum:100
Default:0
Specifies the soft limit (as a percentage) of worker threads that the resource server can use. Warning messages will be displayed when the resource server uses more worker threads than allowed.

Example

 resource_servers:
         - path: "/example"
           ...
           worker_threads:
               soft_limit: 60
               hard_limit: 80