Salesforce

Maximum Number of Contexts (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

Maximum Number of Contexts (Magic xpa 3.x)

This setting specifies the maximum number of contexts that are handled by a single Magic xpa server.

This setting is relevant for the Space middleware only.

When a Magic xpa server is started by the Space middleware, the Magic xpa server polls non-contexted requests, only if the current context count does not exceed the value defined in this setting. A non-contexted request is any request that is not associated with a context, including merge requests and command line requests.

This purpose of this setting is to confine the memory consumed by contexts on specific machines and to confine the number of contexts lost when there is a server hardware or software failure.

Note:

  • Under high stress, the actual number of contexts might slightly exceed the value set in the Maximum Number of Contexts setting.

  • If the Maximum Number of Contexts setting is greater than 0 and less than the value defined in the NumberOfWorkers setting (in the projectsStartup.xml file), then the Maximum Number of Contexts value is set automatically to equal the NumberOfWorkers value, in order to prevent excessive CPU usage due to redundant workers.

Valid values: 0-99999

Default: 0 (unlimited)

Change effective: Next execution

Magic.ini and Command Line name: MaxContexts

Related Topics

Since version:

3.1

Reference
Attachment 
Attachment