高CPU和高定时器数量多

时间:2012-02-10 20:03:45

标签: .net iis-7.5 windbg

我在服务器上看到高CPU。我拿了一个碰撞堆然后把风吹起来。

我正在关注但不确定该怎么做:

From !runaway
Top 5 thread related to CPU`enter code here`
  Thread       Time
  33:1758      0 days 0:08:58.109
  24:128c      0 days 0:05:09.531
  25:15b0      0 days 0:04:53.281
  23:a94       0 days 0:04:50.343
  26:bf8       0 days 0:04:48.984

来自!threadpool

0:000> !threadpool
CPU utilization 100%
Worker Thread: Total: 18 Running: 17 Idle: 1 MaxLimit: 400 MinLimit: 4
Work Request in Queue: 4
AsyncTimerCallbackCompletion TimerInfo@159b81b8
AsyncTimerCallbackCompletion TimerInfo@185e48a8
Unknown Function: 6a2aa293  Context: 3a1bc2e0
--------------------------------------
Number of Timers: 30
--------------------------------------
Completion Port Thread:Total: 1 Free: 1 MaxFree: 8 CurrentLimit: 0 MaxLimit: 400 MinLimit: 4
0:000> !threads
ThreadCount: 56
UnstartedThread: 0
BackgroundThread: 56
PendingThread: 0
DeadThread: 0
Hosted Runtime: no

有人可以帮我吗?

1 个答案:

答案 0 :(得分:0)

单个转储无用。你需要捕获几个挂起转储,每个挂起一分钟,然后使用!runaway找到罪魁祸首。之后!CLRStack和kb可以向您显示有关该主题的更多信息。