Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / CLR / February 2008

Tip: Looking for answers? Try searching our database.

!threadpool SOS command output

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Günter Prossliner - 16 Jan 2008 10:13 GMT
Hello!

I have the following SOS output:

0:000> !threadpool
CPU utilization 100%
Worker Thread: Total: 2 Running: 0 Idle: 2 MaxLimit: 25 MinLimit: 2
Work Request in Queue: 0
--------------------------------------
Number of Timers: 3
--------------------------------------
Completion Port Thread:Total: 5 Free: 0 MaxFree: 4 CurrentLimit: 2 MaxLimit:
25 MinLimit: 2

I cannot find anything about the "Completion Port Thread" counters. The
MaxLimit has the value that is set within the application by the
System.ThreadPool class. But what meens "CurrentLimit" or "MaxLimit"? And
specially: What meens "Free: 0"? If it meens that there are no threads free
for IO Completions that would be also the observed behavior.

Any toughts?

GP
Vadym Stetsiak - 18 Jan 2008 09:18 GMT
Hello, Günter!

According to the SOS output you have:
- something is utilizing your CPU on 100%
- worker threads aren't doing anything
- there are three timers that use threadpool
- max number of completion port threads that can be creates is 25.
- there 5 completion port threads doing something

IMO you need more details like !threads command.

Also have a look at (
http://blogs.msdn.com/tess/archive/2006/02/23/asp-net-performance-case-study-web
-service-calls-taking-forever.aspx
)
.

HTH
--
With best regards, Vadym Stetsiak.
Blog: http://vadmyst.blogspot.com

You wrote  on Wed, 16 Jan 2008 11:13:22 +0100:

GP> Hello!

GP> I have the following SOS output:

GP> 0:000> !threadpool
GP> CPU utilization 100%
GP> Worker Thread: Total: 2 Running: 0 Idle: 2 MaxLimit: 25 MinLimit: 2
GP> Work Request in Queue: 0 --------------------------------------
GP> Number of Timers: 3 --------------------------------------
GP> Completion Port Thread:Total: 5 Free: 0 MaxFree: 4 CurrentLimit: 2
GP> MaxLimit:
GP> 25 MinLimit: 2

GP> I cannot find anything about the "Completion Port Thread" counters.
GP> The
GP> MaxLimit has the value that is set within the application by the
GP> System.ThreadPool class. But what meens "CurrentLimit" or
GP> "MaxLimit"? And  specially: What meens "Free: 0"? If it meens that
GP> there are no threads free  for IO Completions that would be also the
GP> observed behavior.

GP> Any toughts?

GP> GP
Richard Blewett - 25 Feb 2008 12:18 GMT
You might also want to have a look at the !runaway command to see which
thread(s) is utilizing the CPU so heavily

Signature

Regards

Richard Blewett
DevelopMentor
http://www.dotnetconsult.co.uk/weblog2

> Hello, Günter!
>
[quoted text clipped - 42 lines]
>
> GP> GP

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.