Reporting Service 告警"w WARN: Thread pool pressure. Using current thread for a work item"

如果Reporting Service偶尔出现不可访问或访问出错情况,这种情况一般没有做监控的话,很难捕捉到。出现这种问题,最好检查Reporting Service的日志文件。

   
今天早上就遇到这样一个案例,应用程序监控到调用SQL SERVER 2005的Reporting Service出现Method
failed: HTTP/1.1 500 Internal Server Error 。检查C:\Program Files\Microsoft
SQL Server\MSSQL.3\Reporting Services\LogFiles下的日志文件,发现出现问题时段,有如下错误信息:

w3wp!runningjobs!1!8/4/2015-08:50:58:: w WARN: Thread pool pressure. Using current thread for a work item.

w3wp!runningjobs!1!8/4/2015-08:50:58:: w WARN: Thread pool pressure. Using current thread for a work item.

w3wp!runningjobs!1!8/4/2015-08:50:58:: w WARN: Thread pool pressure. Using current thread for a work item.

w3wp!runningjobs!1!8/4/2015-08:50:58:: w WARN: Thread pool pressure. Using current thread for a work item.

w3wp!runningjobs!1!8/4/2015-08:50:58:: w WARN: Thread pool pressure. Using current thread for a work item.

w3wp!runningjobs!1!8/4/2015-08:50:58:: w WARN: Thread pool pressure. Using current thread for a work item.

w3wp!runningjobs!1!8/4/2015-08:50:58:: w WARN: Thread pool pressure. Using current thread for a work item.


于这个告警信息,网上有不少资料建议调大IIS下面的应用程序程序池(Application
Pools)下ReportServer以及ReportService的最大工作进程数(“Maximum number of worker
processes")参数。这样就能扩大同时并行处理的报表数量。

if you are using IIS 6, you can increase the number of worker processes for the Report Server application pool. You can use this value to scale up the number of reports you can run concurrently. So the number you would need is approx. max. number of concurrent requests * number of concurrent database fetches in report.

那么如何设置最大工作进程数(“Maximum number of worker processes"),有篇文章介绍了下: 按核设置最大工作线程数。 但是由于有些服务器上面还部署有其它应用,还是要根据具体应用场景设置,设置完成后监控性能计数器( performance counters )来判断设置值是否合理。

Some
searches brought back some information suggesting increasing the number
of worker threads but other than a description of what the warning
meant not much else.
There was one post which suggested one process
per socket, that would equate to 4 on our servers, but that didn't seem
much change especially as one of our servers was set to 1 and the other
to 5.
I suggested we should set this to at least 1 per core which
would give us 16 and then monitor carefully. My colleague had done some
research about queues and put up some performance counters to watch this
alongside process explorer to actually see how many processes fired up.

 

时间: 2024-08-31 19:20:25

Reporting Service 告警"w WARN: Thread pool pressure. Using current thread for a work item"的相关文章

MySQL Thread pool操作过程详解

Thread pool 操作过程: thread pool 包含一定数量的 thread groups,每个groups 管理一定量的client connections,当mysql建立 connection 时,thread pool会以循环的方式(round-robin fashion)将其分配到其中的一个 thread groups中. thread_pool_size 规定了thread groups 的数量,这样也就规定了同时可以执行多少个statement 可取值为 1-64,每个

Mariadb Thread Pool分析

对于MySQL5.5来说只有企业版本中含有 Thread Pool,但幸运的是 mariadb 5.1中就已存在该功能,mariadb 5.5 中进行了改进. 本篇暂且介绍FAQ:后期会放出其工作原理及使用情况. 商业版本中 5.5.16 添加了 thread  handling model (线程池)来应对多客户连接问题.代替一个session 一个线程的问题.在MariaDB 5.1-5.3 中已经实现该功能,在MariaDB 5.5中实现优化,动态的线程池等,这个和商业版本有少许区别,具体

Mariadb Thread Pool VS Oracle MySQL Enterprise

Oracle MySQL Enterprise 部分 Thread_pool_algorithm: 连接并发调度算法,默认值0    使用一种保守低级别并发的算法,经测试表现结果不错. 值为1的话,并发数量会增大,采用更激进的算法性能,在线程数量一定的时候性能得到5-10%的提升,随着更大的连接数,性能会随之下降. Thread_pool_high_priority_connection: 该参数影响 如何安排语句的执行顺序,默认值为0,statement会使用 low priority 和 h

在设置reporting service和share point遇到错误

错误提示: 安装程序在正在设置 reporting service 和 share point 排除路径 期间遇到错误.错误为: 安装时发生严重错误 不知道是不是跟安装盘有关系,我遇到过2次,看网上许多人也都遇到过,查了一下KB,一堆的EN文,还要改注册表,真是不知所云,最后我试了试以下的步骤,解决之: 1.找到安装光盘上的dotnetfx.exe文件(即NET2.0安装文件),双击安装它,然后选择"修复"安装 2.在重启主机后,重新删除并重装一次IIS 3.通过添加/删除程序选择重新

Reporting Service 服务启动时报错The service did not respond to the start or control request in a timely fashion

案例环境:   启动一台数据库服务器(Windows Server 2003)的Reporting Service(SQL Server 2008 R2)服务时,出现如下错误信息: System.InvalidOperationException: Cannot start service ReportServer on computer 'xxx'. ---> System.ComponentModel.Win32Exception: The service did not respond t

Reporting Service在Web Application中的应用

由于我们这个项目中使用微软的报表服务(Reporting Services)作为报表输出工具,本人也对它进行一点点研究,虽没有入木三分,但这点知识至少可以在大部分Reporting Service的场景中应用.   原先刚装上Reporting Service时还觉得有点神秘,毕竟在做这个项目前还没有真正接触这个微软用于代替水晶报表的报表工具,而且微软似乎还不满足于一个报表工具那么简单.   Reporting Services 是一种基于服务器的新型报表平台,部署在Microsoft SQL

【案例】常驻查询引发的thread pool 性能问题之一

一 问题现象    线上某业务A的数据库版本MySQL 从5.5 升级到5.6 版本之后多次出现RT抖动的问题,其现象主要为:    1 rt严重不稳定,部分query rt非常高.    2 orzdba间歇性阻塞. 二 原理知识     在MySQL Thread Pool根据参数thread_pool_size被分为若干个group,每个group维护client 发起的 connections,当MySQL建立 connection 时, MySQL 根据connection的threa

数据库服务器改名导致Reporting Service不可用的案例

案例环境:     操作系统版本    :    Windows Server 2012 R2 Standard     数据库版本      :   SQL Server 2012 Standard Edition SP2   案例介绍:     其实已经是第二次碰到这种情况,还是决定将这个案例记录一下.第一次是做数据库迁移时碰到,没有时间整理记录,第二次准备一个测试环境,从虚拟机一个服务 器克隆了一个测试服务器GETESTNT30, 服务器名称变了,但是SQL SERVER里面@@SERVE

初学者关于reporting service的配置问题

问题描述 初学者关于reporting service的配置问题 我做的java web程序,想用reporting service生成一些简单的报表,在官网上看了一些但是不大懂,根据步骤也无法配置成功,怎样把报表功能引入请教大神指点,我之前使用ssh2框架做的web开发