Our ASP.NET app uses a component that is licensed by the number of processor cores. Unfortunately, our customer wants to deploy the app onto a multi-function server (IIS, SQL Server, file server, etc.) that exceeds the number of processor cores for which the customer is licensed: they are allowed four cores but have two processors with four cores each. Can I configure IIS 6 on a Windows Server 2003 machine to use only one processor?
Asked
Active
Viewed 2,236 times
4 Answers
2
You can set processor affinity (and thus limit to 1 processor) per application pool, which would effectively limit the app that runs in that pool to use one processor. This will limit the w3wp process to only use one processor, which is hopefully all you need to comply with this licence. The other IIS services (admin service etc) will still use both CPU's
You can find the details on how to do so here.

Sam Cogan
- 38,736
- 6
- 78
- 114
-
doh, you beat me to it – JamesRyan Feb 04 '10 at 11:15
1
Firstly you should put the app in it's own application pool, you can then set affinity for each app pool in the metabase. Allowing you to limit that one web app without limiting anything else.

JamesRyan
- 8,166
- 2
- 25
- 36