Sunday, November 1, 2015

Configuring Windows Server 2008R2 to give preference to administrator remote sessions


We have had a few times recently when problems with an IIS web application have consumed server resources causing the server to become unresponsive. What has made this problem worse is that is that trying to remote into the server (e.g. to use task manager to kill any rogue IIS worker processes) has been near impossible because the server is not giving the remote session sufficient priority over the other processes. Is there a way to give make sure that Windows Server 2008 R2 gives precedence to remote sessions (or processes started by administrators) over server processes (e.g. IIS worker processes)?


It appears that WSRM might be related to my problem. However the documentation is hard to decipher as the use cases seem to center on giving one remote session priority over another or giving one IIS worker process priority over another. Giving remote sessions priority over worker processes does not seem to be covered, unless I am missing something.


Answer



The only thing I've been able to do before with this situation is have a program such as Prio http://www.prnwatch.com/prio/ to set the IIS worker to say 3 cores out of 4 so it can only max 100% on 3 of 4 cores of a multicored CPU. However if its maxing out memory its a different story!


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...