Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have created an application which creates thread in infinite loop. And set maxWorkerThreads to 20 in processmodel in machine.config.

When i checked Thread count in perfmon there was around 7000 threads created in worker process.

Or how can we restrict thread creation in with IIS6/7.

share|improve this question

If the app isn't using the ThreadPool, that setting won't apply. Also, I believe the app can set that value itself if it chooses -- machine.config won't override explicit programmatic parameters.

Is this an app you have source for, or a third-party app you can't get under the hood of?

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.