應用程式嘗試建立應用程式網域但失敗時,此規則會觸發警示。原因可能是記憶體不足,無法啟動應用程式網域。
應用程式嘗試建立應用程式定義域但結果失敗。原因可能是記憶體不足,無法啟動應用程式定義域。
當沒有足夠的記憶體可用來建立新 AppDomain 時,會發生此錯誤。
請確認沒有硬體問題。查看 Windows 系統與應用程式記錄檔,找出與系統壓力或記憶體相關的錯誤。加大可用記憶體數量。請考慮使用下列解決方法來加大可用記憶體:
增加分頁檔的大小。
使用 -g memory_to_reserve 選項重新啟動伺服器來增加記憶體數量,讓 SQL Server 在 SQL Server 處理序中配置可用的記憶體。
新增實體記憶體。在 32 位元系統上,如果您使用 Microsoft Windows Address Windowing Extension (AWE),則可新增 4 GB 以上的實體記憶體。
重新啟動電腦並重新執行。如果問題仍然存在,請連絡產品支援提供者。
如需詳細資訊,請參閱《SQL Server 2014 線上叢書》中的<使用 AWE>。
如需詳細資訊,請參閱《SQL Server 2014 線上叢書》中的<使用 SQL Server 服務啟動選項>。
名稱 | 描述 | 預設值 |
已啟用 |
| 是 |
產生警示 |
| 是 |
優先順序 |
| 1 |
嚴重性 |
| 2 |
Target | Microsoft.SQLServer.2014.DBEngine | ||
Category | EventCollection | ||
Enabled | True | ||
Event_ID | 6517 | ||
Event Source | $Target/Property[Type="SQL2014Core!Microsoft.SQLServer.2014.DBEngine"]/ServiceName$ | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | Normal | ||
Remotable | True | ||
Alert Message |
| ||
Event Log | Application | ||
Comment | Mom2014ID='{F5B309A3-6BDF-4E0E-B928-D00493ABBFC4}';MOM2014GroupID={467ECC75-C5DA-42BD-955C-A73BBB51AF74} |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
_F6DA1507_12AF_11D3_AB21_00A0C98620CE_ | DataSource | Microsoft.Windows.EventProvider | Default |
GenerateAlert | WriteAction | System.Health.GenerateAlert | Default |
<Rule ID="Microsoft.SQLServer.2014.Failed_to_create_AppDomain_5_Rule" Target="SQL2014Core!Microsoft.SQLServer.2014.DBEngine" Enabled="true" ConfirmDelivery="true" Remotable="true" Comment="Mom2014ID='{F5B309A3-6BDF-4E0E-B928-D00493ABBFC4}';MOM2014GroupID={467ECC75-C5DA-42BD-955C-A73BBB51AF74}">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="_F6DA1507_12AF_11D3_AB21_00A0C98620CE_" Comment="{F6DA1507-12AF-11D3-AB21-00A0C98620CE}" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Application</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>6517</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>$Target/Property[Type="SQL2014Core!Microsoft.SQLServer.2014.DBEngine"]/ServiceName$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="SystemHealth!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>2</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.SQLServer.2014.Failed_to_create_AppDomain_5_Rule.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue/>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>