maxconns

Use this command to limit the maximum number of connections to an IPv4 or IPv6 cache server.

Syntax

maxconns number
no maxconns

Parameters

number Specifies the maximum number of connections allowed for this server. Values range from 0 to 65535. Default value of no limit (0).

Defaults

None.

Mode

Configuration command, Cache Server Configuration mode.

Usage

Specifying 0 sets maximum connections to no limit.

The “no” form resets the maximum connections to the default value of 0 (unlimited).

Examples

This example sets the maximum number of connections for cache servers 186.89.10.51 and 2001:abcd::5 to 1000:

System(rw-config)->ip twcb wcserverfarm s1Server
System(rw-config-twcb-wcsfarm)->cache 186.89.10.51
System(rw-config-twcb-cache)->maxconns 1000
System(rw-config-twcb-cache)->inservice
System(rw-config-twcb-cache)->exit
System(rw-config-twcb-wcsfarm)->exit
System(rw-config)->ipv6 twcb wcserverfarm s2Server
System(rw-config-twcb-wcsfarm)->cache 2001:abcd::5
System(rw-config-twcb-cache)->maxconns 1000
System(rw-config-twcb-cache)->inservice
System(rw-config-twcb-cache)->