set-keep-alive-prop

Syntax

tadm set-keep-alive-prop common_options --config=config_name (property_name=property_value)+

Description

Use this command to set keep-alive subsystem properties.

Options

For information about common_options, run the help command.

--config|-c

Specify the name of the configuration to set keep-alive properties.

Operands

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 keep-alive properties:

enabled: Specifies whether the keep-alive subsystem is enabled.
Values: true, false. Default: true.

threads: Specifies the number of keep-alive subsystem threads.
Values: 1 to 128. Default: 1.

Note:

The property threads can accept auto-tuned as a value. Auto-tuned implies that the server will compute the value of this property at runtime.

max-connections: Specifies the maximum number of concurrent keep-alive connections that the server supports.
Values: 1 to 1048576. Default: 200.

Note:

The property max-connections can accept auto-tuned as a value. Auto-tuned implies that the server will compute the value of this property at runtime.

timeout: Specifies the timeout (in seconds) after which an inactive keep-alive connection can be used.
Values: 0.001 to 3600. Default: 30 seconds.

poll-interval: Specifies the interval (in seconds) between polls.
Values: 0.001 to 1. Default: .001 seconds.

To reset a property to its default value, do not provide a property value.
For example, property-name=<empty_string>

Example

tadm set-keep-alive-prop --user=admin --host=admin.example.com 
--password-file=./admin.passwd --port=8989 
--no-prompt --config=www.example.org poll-interval=1 timeout=25

Exit Codes

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.