[LIMIT_RESOURCE]

Description

The options in this section indicate the resource to be constrained and the maximum amount of the resource that can be consumed by a given connection.

NoteYou must set the RMON parameter in the [CONFIG] section to have the options in the [LIMIT_RESOURCE] section take effect.

Format

[LIMIT_RESOURCE:ACTION=[{KILL|CANCEL}][BUSY=value]
    attribute: regex [, regex]
    [attribute: regex [, regex]]

Parameters

Examples

This example indicates that the attribute:  regex pairs that follow the header are to be constrained to a single query lasting no longer than 5 minutes (300 seconds). You can specify multiple attributes in the configuration file:

[LIMIT_RESOURCE:ACTION=KILL,BUSY=60]
     username: john
     appname: isql
     hostname: machine
     type: client