如果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.

参考资料:

http://sqlblogcasts.com/blogs/grumpyolddba/archive/2010/05/03/w-warn-thread-pool-pressure-using-current-thread-for-a-work-item.aspx

http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/659f2e2c-a58b-4770-833b-df96cabe569e.mspx?mfr=true

Reporting Service 告警w WARN: Thread pool pressure. Using current thread for a work item相关推荐

  1. 带你学会区分Scheduled Thread Pool Executor 与Timer

    摘要:本文简单介绍下Scheduled Thread Pool Executor类与Timer类的区别,Scheduled Thread Pool Executor类相比于Timer类来说,究竟有哪些 ...

  2. Dubbo线程池问题思考Thread pool is EXHAUSTED!

    问题 前几天,我们的生产上突然出现了这样一个问题,调下面的查询方法报错,线程池满的问题,如下图: 问题思路 简单思考:我们都知道线程池的参数都包含什么含义!核心线程数,可建线程数,存储任务队列,拒绝策 ...

  3. 整合SharePoint MOSS 和SQL Server 2005 reporting service(一)

    MOSS是一个平台,如果仅仅将其作为一个网站来看的话,似乎忽视了它原先一些强大的功能.例如,可以将MOSS和SQL Server的reporting service整合起来,做些BI,数据显示,数据挖 ...

  4. mysql5.6 thread pool_mysql5.6 thread pool

    从percona 的压测来看,确实很牛笔啊.提升很大. http://www.mysqlperformanceblog.com/2014/01/29/percona-server-thread-poo ...

  5. SharePoint的Reporting Service Viewer Web Part

    今天本来打算做一个专门用于Reporting Service报表浏览的SharePoint web part,记得在Reporting Service 2000下有一个viewer的Sample,就想 ...

  6. Reporting service个人使用经验

    (此文章是从自己写的Word文档里复制过来的,图没有了,文字也有些乱,凑合看吧) 部署环境 Windows server 2012 R2 软件环境 安装完整的sqlsever2012,IIS服务 需要 ...

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

    一 现象     某业务单机4个实例中的一个实例出现连接数远高于其他三个实例(正常是4K,问题实例是8K+),但是这4个实例的配置完全相同.业务开发反馈为部分连接失败.     执行show proc ...

  8. 白话Elasticsearch67-不随意调节jvm和thread pool的原因jvm和服务器内存分配的最佳实践

    文章目录 概述 不随意调节jvm和thread pool的原因 jvm gc threadpool jvm和服务器内存分配的最佳实践 jvm heap分配 将机器上少于一半的内存分配给es 为什么不要 ...

  9. Reporting Service 钻取

    今天研究了 Reporting Service的钻取功能.我觉得分为两种,一是链接到另外一张报表,一种是直接在本报表中显示子项目. 第一种主要靠设置单元格的Navigation属性里的HaperLIn ...

最新文章

  1. 计算机二级无法完成初始化,2012年计算机等级考试二级C语言常见问题:声明和初始化...
  2. [c#]解决方案:需要“jquery”ScriptResourceMapping。请添加一个名为 jquery (区分大小写)的 ScriptResourceMapping。
  3. 下载恶意pcap包的网站
  4. Selenium - 简介
  5. DTO(领域数据传输对象)是做什么的
  6. 官方野生蝇群流口水分数
  7. java编译程序的基本命令是什么,【填空题】Java中编译java 程序的命令是 1 ,执行java程序的命令是 java 。...
  8. 一起来玩树莓派--解决This must be accepted explicitly before updates for this repository can be applied问题
  9. itext替换pdf中的中文
  10. python周期执行-用Python执行周期性动作
  11. python(3)-内置函数2
  12. StyleWriter英文润色软件使用说明(含破解安装包)
  13. php管理后台,后台管理主页面 admin.php
  14. TeamTalk 配置模块详解
  15. 帮忙framebuffer扫盲
  16. iphone开蓝牙wifi上网慢_iPhone连接wifi信号满格网速却慢?如何提速
  17. STM32f429开发中USB读写文件涉及到的库移植
  18. ios开发中各种版本、设备的区分的代码
  19. MATLAB处理矩阵的一些命令
  20. bzero和sigevent

热门文章

  1. AliOS Things lorawanapp应用介绍
  2. Spring学习总结(4)——Spring AOP教程
  3. 大话 SPA router
  4. 高级算法专家储开颜:无端不视频 阿里视频云三大端上技术能力
  5. 【玩转双11】今年有点不一样,51CTO学院告诉你如何省钱!
  6. 第六章:面向对象(下)
  7. Jfinal 2.1版本,JFinalConfig里自动配置路由的代码实现,直接晒代码
  8. perl 发送邮件脚本
  9. “变态级”系统管理员笔试题,你能拿下吗?
  10. 49.SCVMM管理下的Hyper-V到Azure的异地(Azure)容灾