License Connection Limit

Custom.Adobe.FlashMediaServer.x.LicenseLimit (UnitMonitor)

Knowledge Base article:

Summary

The Adobe Flash Media Server is rejecting connections because the maximum number of outgoing connections license limit has been reached. The FMS is logging event 1213 or 1346.

Causes

Too many client connection attemps

Too few licenses

Resolutions

Check performance history (Active connections) and consider upgrading your server’s license. Development Server does only allow 10 concurrent clients.

Element properties:

TargetCustom.Adobe.FlashMediaServer.x.Role
Parent MonitorSystem.Health.ConfigurationState
CategoryCustom
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.SingleEventLogTimer2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Flash Media Server connection license limit reached
The Flash Media Server is rejecting connections because the license limit (max connection) has been reached.
RunAsDefault

Source Code:

<UnitMonitor ID="Custom.Adobe.FlashMediaServer.x.LicenseLimit" Accessibility="Public" Enabled="true" Target="Custom.Adobe.FlashMediaServer.x.Role" ParentMonitorID="Health!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.SingleEventLogTimer2StateMonitorType" ConfirmDelivery="true">
<Category>Custom</Category>
<AlertSettings AlertMessage="Custom.Adobe.FlashMediaServer.x.LicenseLimit_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="LimitReached" MonitorTypeStateID="EventRaised" HealthState="Warning"/>
<OperationalState ID="TimerReset" MonitorTypeStateID="TimerEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Application</LogName>
<Expression>
<And>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<!-- license limit exceeded (1213) or Connection Penalty (1346) -->
<Pattern>^(1213|1346)$</Pattern>
</RegExExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^FMS</Pattern>
</RegExExpression>
</Expression>
<!--
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">EventDescription</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>License.Limit.Exceeded</Pattern>
</RegExExpression>
</Expression>
-->
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Integer">EventLevel</XPathQuery>
</ValueExpression>
<Operator>GreaterEqual</Operator>
<ValueExpression>
<Value Type="Integer">2</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
<TimerWaitInSeconds>300</TimerWaitInSeconds>
</Configuration>
</UnitMonitor>