Farm Connections Monitor

Citrix.PresentationServer.UserAttemptsToExceedMaxConnectionsInFarm.Monitor (UnitMonitor)

Monitors any user attempts to exceed maximum connections in a farm

Knowledge Base article:

Citrix ® Management Pack

Summary

A policy and connection setting have been defined that limit the number of ICA sessions users can have on the farm's servers at any one time. A user has attempted to create more sessions than are permitted.

 
Causes

Citrix administrators can restrict the number of concurrent connections (ICA sessions) that each user can have in the server farm. This reduces the number of ICA connection licenses in use and conserves resources.

 
Resolutions

To permit the user who generated this event more concurrent sessions in a server farm, use the Access Management Console to modify the policy or farm-wide connection limits that impose this restriction. If multiple farms are being monitored, you can find the affected farm by looking up farm membership of the server that raised this event. See the Console online help for more information about setting ICA connection limits.

Note: If both global connection limits (through the Connection Limits page of a farm's Farm Properties dialog box) and a policy limiting the concurrent sessions have been specified, the policy settings override the farm-wide connection limits. Ensure the configuration is altered in the appropriate location.

 
External Knowledge Sources

The following sources of information can be helpful when dealing with this error:

  • Citrix Presentation Server Administrator's Guide - English

Or search the Citrix knowledge base for more information.

 
Sample Event

User ‘%1' reached the Citrix concurrent connection limit and was denied logon. The server farm is currently configured to permit each user to create %2 concurrent connections. Use the Console's farm properties page to modify this behavior if you want to permit more connections per user.

 
Other Information

For this event to be generated, each farm must be configured using the Access Management Console as follows:

  1. Navigate to the node for the farm you wish to configure
  2. In the task pane, click Modify farm properties, and then select Edit all properties
  3. Select Connection Limits in the Farm Properties dialog box
  4. Ensure the Log over-the-limit denials check box is selected
 
© 2002-2008 Citrix Systems, Inc. All rights reserved.

Element properties:

TargetCitrix.PresentationServer.ManagedServer
Parent MonitorCitrix.PresentationServer.IMA.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.SingleEventLogManualReset2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
User attempts to exceed maximum connections in a farm
User {0} has attempted to exceed the maximum number of connections configured on this farm.
RunAsCitrix.PresentationServer.CitrixAdministratorAccount

Source Code:

<UnitMonitor ID="Citrix.PresentationServer.UserAttemptsToExceedMaxConnectionsInFarm.Monitor" Accessibility="Public" Enabled="true" Target="Citrix.PresentationServer.ManagedServer" ParentMonitorID="Citrix.PresentationServer.IMA.AvailabilityState" Remotable="true" Priority="Normal" RunAs="CtxLibrary!Citrix.PresentationServer.CitrixAdministratorAccount" TypeID="Windows!Microsoft.Windows.SingleEventLogManualReset2StateMonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Citrix.PresentationServer.UserAttemptsToExceedMaxConnectionsInFarm.Monitor.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Params/Param[1]$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Warning" MonitorTypeStateID="EventRaised" HealthState="Warning"/>
<OperationalState ID="Success" MonitorTypeStateID="ManualResetEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type='Windows!Microsoft.Windows.Computer']/PrincipalName$</ComputerName>
<LogName>Application</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>1200</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>MetaframeEvents</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</Configuration>
</UnitMonitor>