asp tutorials, asp.net tutorials, sample code, and Microsoft news from 15Seconds
Data Access  |   Troubleshooting  |   Security  |   Performance  |   ADSI  |   Upload  |   Email  |   Control Building  |   Component Building  |   Forms  |   XML  |   Web Services  |   ASP.NET  |   .NET Features  |   .NET 2.0  |   App Development  |   App Architecture  |   IIS  |   Wireless
 
Pioneering Active Server
 Power Search










Active News
15 Seconds Weekly Newsletter
• Complete Coverage
• Site Updates
• Upcoming Features

More Free Newsletters
Reference
News
Articles
Code Samples
Components
Tools
FAQ
Feedback
Books
Links
DL Archives
Community
Messageboard
List Servers
Mailing List
WebHosts
Consultants
Tech Jobs
15 Seconds
Home
Site Map
Press
Legal
Privacy Policy
internet.commerce














internet.com
IT
Developer
Internet News
Small Business
Personal Technology
International

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

HardwareCentral
Compare products, prices, and stores at Hardware Central!

PreviousNext

 

email this FAQ to a colleague

Q: One of our servers has been slowed to a crawl over the past week. We've finally identified the problem: it's only running 12 threads in its thread pool, but the processors are not maxed out. Effectively half of the srever is sitting idle while clients wait to get serviced! I've set the ProcessorThreadMax to 30 (it's a dual-processor box), set the ThreadCreationThreshold to 5, and the RequestQueMax to 60, yet thenumber of threads in the pool remains pegged at 12. Any ideas? The processor utiliization is around 60% for each processor-- not nearly maxed out. There's no reason that I can think of why more threads are not being created. Any ideas?

A: Turns out the problem was that the ThreadCreationThreshold is not "how many pending requests cause the creation of a new thrread' but a part of the equatiion (Pending Requests) / (Thread Creation Threshold) = # of threads. So if you raise the thread creation threshold, you'll get FEWER threads. We set the thread creation threshold to 1, and now our server is blasting through anything that the internet can dish out. Where before we were pegged at 60 clents waiting, we were just able to retire 90 waiting clients in less than 10 seconds.

- Justin Grant

Books
Professional Active Server Pages
Gross, Homer, Enfield, Gross, Harrison, Francis, Jakab, Gill, Hartwell
Building a Windows NT4 Internet Server
Robert Oliver (Editor), Plazas. Christian, John Desborough, Gulbransen

Related Topics
IIS 4.0

Knowledge Base Articles
IIS Execution File Text Can Be Viewed in Client
Q164059 - 1997.06.23


Support the Active Server Industry



JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers