Attempt To Open Too Many Instances Of A Published Application Simultaneously

Citrix.PresentationServer.AttemptToOpenTooManyInstancesOfPublishedApp.Monitor (UnitMonitor)

Monitors for any attempts to open too many instances of a published application simultaneously

Knowledge Base article:

Citrix ® Management Pack

Summary

A limit has been set on the number of instances of a published application that can be run in a server farm. The users in the server farm have tried to exceed this limit, and an attempt to start a new instance of the published application has failed.

 
Causes

Citrix administrators can restrict the number of instances of published applications; for example, to enforce licensing agreements. This event indicates that such a limit has been set and exceeded by users on the farm.

 
Resolutions

To increase the limit on the number of instances of this application, locate the application in the Access Management Console. When monitoring multiple farms, you can find the affected farm name by looking up farm membership of the server that raised this event. Select Limits in the Application Properties dialog box to set the limit.

 
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

The published application '%1' has reached a concurrent application limit. '%1' is currently configured to permit %2 concurrent connections. Use the Console's application properties page for '%1' to modify this behavior if more concurrent connections are required.

 
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.Connections.PublishedApp.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.SingleEventLogManualReset2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Attempt to open too many instances of a published application simultaneously
Users have attempted to exceed the concurrent application limit on published application {0} in the farm.
RunAsCitrix.PresentationServer.CitrixAdministratorAccount

Source Code:

<UnitMonitor ID="Citrix.PresentationServer.AttemptToOpenTooManyInstancesOfPublishedApp.Monitor" Accessibility="Public" Enabled="true" Target="Citrix.PresentationServer.ManagedServer" ParentMonitorID="Citrix.PresentationServer.Connections.PublishedApp.AvailabilityState" Remotable="true" Priority="Normal" RunAs="CtxLibrary!Citrix.PresentationServer.CitrixAdministratorAccount" TypeID="Windows!Microsoft.Windows.SingleEventLogManualReset2StateMonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Citrix.PresentationServer.AttemptToOpenTooManyInstancesOfPublishedApp.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>1201</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>