Quantcast
Channel: magick Discussions Rss Feed
Viewing all articles
Browse latest Browse all 3693

New Post: How to limit number of CPU cores used by magick.net ?

$
0
0
Setting ResourceLimits.Thread to 2 will limit the number of threads for a single http request to 2 threads. But even setting this to 1 will not help you. IIS will still use multiple threads/cores to handle all the http requests. If you want to limit this to a single core you should set the processor affinity (http://stackoverflow.com/questions/2510593/how-can-i-set-processor-affinity-in-net). I don't know if you are allowed to do that in a shared hosting environment.

p.s. I am not back, but I have wifi and tablet that I can use to post this message :) I will be back next week.

Viewing all articles
Browse latest Browse all 3693

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>