与 SQL 服务器合作 2008 R2. 在开发环境时间到时间我可以看到 CPU 被加载了几分钟( 大约55%- 80%, 而正常值为1- 2% )。 是的, 我开发环境中的正常负荷几乎是零! em> 。 在这种 CPU 压力时间自动测试中, 有时会发生超时错误 。
Just experienced timeout in activity monitor. looks like this:
Tipicaly during these pressure moments its looks like this:
问题在于我无法理解为什么会发生! 有持续执行的自动测试, 但它们并没有造成繁重的工作量。 在性能测试系统运行期间, 工作效果良好, 如果速度放慢, 总是有很好的解释的 。
我试图通过
- Running trace, but during those CPU spikes there is "nothing special" going on. No expensive queries.
- Using SQL Activity Monitor- everything seems normal, except CPU (just like 1-2 waiting tasks, low I/O, ~5 requests/sec). Recent expensive queries are not that expensive.
- Querying data. Using famous sp_WhoIsActive and sys.dm_exec_requests. As far i understand- nothing unusual again..
关于我的服务器
- There is small number of databases and i do know them good.
- Using Service Broker.
- Trace is running most of the time.
我确实怀疑是某种背景过程在制造问题。 但我真的不明白。 你能给一些提示/想法 如何解决这个问题吗?