简体   繁体   中英

Set priority for application pools in IIS

I have a website (ASP.NET MVC3) that runs on IIS 7. From this website, long running, calculation intensive jobs can be started on a WCF service that runs on the same machine, but on a different application pool.

I would like to ensure that the WCF service has a lower priority than the website, so the website stays nice an responsive. Does anyone know how to accomplish this? For example, is it possible to restrict the number of cores that are used by an application pool?

In my WCF service I already run the calculations inside a Thread with priority set to "Lowest", but this doesn't seem to make a difference.

Thanks in advance!

Perhaps this can help. I think that you will find limit attribute helpful. Also, with smpAffinitized you can set affinity mask.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM