Previous Topic Next topic Print topic


Automatic License Retry

Exceptional demands for an application by users might occasionally cause your number of Application Server licenses to be exceeded, although you have enough in normal cicumstances. If this occurs you are advised to set the environment variable ASLMFRETRY.

Note: You can check how many users are using an Application Server license over a period of time using the stats command. See the section Statistics Collection for details.

ASLMFRETRY enables you to set a value that specifies the number of times an application should attempt to get a license unit, and the length of time it should wait between attempts. In effect, the task suspends itself until a license unit becomes free.

The format of ASLMFRETRY is:

ASLMFRETRY=retries[,wait]

where the parameters are:

retries The number of times the task should attempt to obtain a license unit.
wait The time the application should wait, in seconds, between each attempt to obtain a license unit. The default is 10

For example, to enable 100 attempts to use a license unit:

ASLMFRETRY=100
export ASLMFRETRY 

To enable 25 attempts to use a license unit, with a 1 minute wait between each attempt:

ASLMFRETRY=25,60
export ASLMFRETRY 
Note:

If you set the ASLMFRETRY environment variable, no retry is attempted unless all unused overdraft license units (if available) have been used. See the section Overdraft for details of the overdraft facility.

Previous Topic Next topic Print topic