如果除 SSRS 之外的其他进程占用的内存不允许 SSRS 分配 WorkingSetMinimum 设置规定的内存量,监视器将发出警报。监视器将使用以下公式确定状态:
({WorkingSetMinimum} + {其他进程占用的内存})*100/{总内存} < {阈值(\%)}
如果除 SSRS 之外的其他进程占用的内存不允许 SSRS 分配 WorkingSetMinimum 设置规定的内存量,监视器将发出警报。监视器使用以下公式确定状态:
({WorkingSetMinimum} + {其他进程占用的内存})*100/{总内存} < {阈值(%)}
Reporting Services 可以因多种原因需要大量内存,这些原因包括:
高负载 – 报告服务器提供的按需/订阅请求很多
正在请求复杂报告和显示大量数据的报告
如果有占用内存的其他应用程序在同一服务器上运行,内存可能会有压力。
您可以考虑为服务器增加内存或从服务器中删除其他应用程序。
以下文章更详细地讨论了 Reporting Services 的内存配置 - http://technet.microsoft.com/zh-cn/library/ms159206.aspx
在 Reporting Services 中配置服务器属性: Configure Server Properties
名称 | 说明 | 默认值 |
已启用 |
| 1 |
生成警报 |
| 是 |
间隔(秒) | 运行工作流的重复间隔时间(秒)。 | 900 |
同步时间 |
|
|
阈值 | 如果除 SSRS 之外的其他进程占用的内存和 WorkingSetMinimum 之和(以占服务器总内存的百分比表示)超过了阈值,监视器将发出警报。 | 100 |
Target | Microsoft.SQLServer.2014.ReportingServices.Instance | ||
Parent Monitor | System.Health.PerformanceState | ||
Category | PerformanceHealth | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Warning | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.SQLServer.2014.ReportingServices.MonitorType.Instance.MemoryUsageOnServer | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.SQLServer.2014.ReportingServices.UnitMonitor.Instance.MemoryUsageOnServer" Accessibility="Public" Enabled="true" Target="SQLRS!Microsoft.SQLServer.2014.ReportingServices.Instance" ParentMonitorID="SystemHealth!System.Health.PerformanceState" Remotable="true" Priority="Normal" TypeID="Microsoft.SQLServer.2014.ReportingServices.MonitorType.Instance.MemoryUsageOnServer" ConfirmDelivery="false">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="Microsoft.SQLServer.2014.ReportingServices.UnitMonitor.Instance.MemoryUsageOnServer.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Warning</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Property[@Name='TotalPhysicalMemoryGB']$</AlertParameter1>
<AlertParameter2>$Data/Context/Property[@Name='WorkingSetMinimumGB']$</AlertParameter2>
<AlertParameter3>$Data/Context/Property[@Name='WorkingSetMaximumGB']$</AlertParameter3>
<AlertParameter4>$Data/Context/Property[@Name='MemoryUsageGB']$</AlertParameter4>
<AlertParameter5>$Data/Context/Property[@Name='MemoryUsagePercent']$</AlertParameter5>
<AlertParameter6>$Data/Context/Property[@Name='MemoryUsageByOtherProcessGB']$</AlertParameter6>
<AlertParameter7>$Data/Context/Property[@Name='MemoryUsageByOtherProcessPercent']$</AlertParameter7>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Warning" MonitorTypeStateID="Warning" HealthState="Warning"/>
<OperationalState ID="Success" MonitorTypeStateID="Success" HealthState="Success"/>
</OperationalStates>
<Configuration>
<Threshold>100</Threshold>
<IntervalSeconds>900</IntervalSeconds>
<SyncTime/>
</Configuration>
</UnitMonitor>