Oracle® Traffic Director Command-Line Reference 11g Release 1 (11.1.1.7) Part Number E21037-03 |
|
|
PDF · Mobi · ePub |
tadm set-thread-pool-prop common_options --config=config_name (property_name=property_value)+
Use this command to set the thread-pool properties for a configuration. The thread-pool
element configures the threads used to process HTTP requests. You can use thread pools to allocate a certain number of threads to a specific service. By defining a pool with the maximum number of threads as 1, only one request is allowed to the specified service function.
For information about common_options
, run the help command.
--config|-c
Specify the name of the configuration for which you want to set thread-pool properties.
property-name=property-value
Specify name=value
pairs for one or more properties that you want to define. The name=value
pairs should be separated by spaces.
You can set the following thread-pool properties:
queue-size
: Specifies the maximum number of concurrent HTTP connections that can be queued for processing.
Values: 1 to 1048576.
Note:
The property queue-size
can accept default
as a value. Default implies that the server will compute the value of this property at runtime.
min-threads
: Specifies the minimum number of HTTP request processing threads.
Values: 1 to 4096.
Note:
The property min-threads
can accept default
as a value. Default implies that the server will compute the value of this property at runtime.
max-threads
: Specifies the maximum number of HTTP request processing threads.
Values: 1 to 4096.
Note:
The property max-threads
can accept default
as a value. Default implies that the server will compute the value of this property at runtime.
stack-size
: Specifies the stack size (in bytes) for HTTP request processing threads.
Values: 8192 to 67108864.
To reset a property to its default value, do not provide a property value.
For example, property-name=<empty_string>
tadm set-thread-pool-prop --user=admin --host=admin.example.com --password-file=./admin.passwd --port=8989 --no-prompt --config=www.example.org queue-size=238 max-threads=789
The following exit values are returned:
0: command executed successfully
>0: error in executing the command
For more information about exit codes and syntax notations, run the help command.