You can modify the entries in the [junction] stanza of the WebSEAL configuration file to control the global allocation of worker threads across all junctions for a particular WebSEAL server.
The values that are used for these stanza entries are expressed as percentages within the range of 0 to 100.
This stanza entry is set to send a warning before the hard limit is reached. When the worker-thread-soft-limit is exceeded, warning messages are sent, every 30 seconds, to the WebSEAL error log file.
For example, when worker-threads = 50, a setting of 60 (%) causes warning messages to be displayed when the junction uses more than 30 worker threads. All requests above 30 worker threads are still processed until the hard limit is reached.
The default value is 90 percent.
This stanza entry determines the cut-off point for servicing requests across a junction. When the worker-thread-hard-limit is exceeded, error messages are sent, every 30 seconds, to the WebSEAL error log file. In addition, the user is sent a 503 Service Unavailable message.
For example, when worker-threads = 50, a setting of 80 (%) causes error messages to be displayed when the junction tries to use more than 40 worker threads. All requests that represent greater than 40 worker threads on the junction are returned with a 503 Service Unavailable message.
The default value of 100 (%) indicates that there is no limit.
These global settings apply equally to all configured junctions. When you configure these two stanza entries, it is logical to set the soft limit to a lower value than the hard limit.