
| email this FAQ to a colleague
Q: I'm under the impression that IIS 1.0, 2.0, 3.0 uses a thread pool to handle incoming requests and for low activity the same threads are just reused over and over again. However, if I create a bad ISAPI application that sits in an infinite loop will IIS create more and more threads? A: Yes IIS reuses threads for efficiency. When it runs out of threads it creates additonal threads upto a maximum threeshold (I believe it is 128). A nastly ISAPI application sitting in infinite loop can definitely starve the server of threads. Those applications should happily create their own threads and work on them. Be aware that performance will be poor anyway. - |