How to increase thread-pool threads on IIS 7.0

Posted by Xaqron on Stack Overflow See other posts from Stack Overflow or by Xaqron
Published on 2010-12-31T16:23:16Z Indexed on 2011/01/01 0:53 UTC
Read the original article Hit count: 121

Filed under:
|
|

Environment: Windows Server 2008 Enterprise, IIS 7.0, ASP.NET 2.0 (CLR), .NET 4.0

I have an ASP.NET application with no page and no session(HttpHandler). It a streaming server. I use two threads for processing each request so if there are 100 connected clients, then 200 threads are used. This is a dedicated server and there's no more application on the server.

The problem is after 200 clients are connected (under stress testing) application refuses new clients, but if I increase the worker threads of application pool (create a web garden) then I can have 200 new happy clients per w3wp process.

I feel .NET thread pool limit reaches at that point and need to increase it.

Thanks

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about iis7