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

1

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.

erdomke

Posted 2014-05-14T13:28:40.637

Reputation: 113

Don't believe that is possible on the server level, you would instead limit your web application resource limits to ensure for example its CPU limit doesn't exceed 75% or 500 MB of RAM. – Brock Hensley – 2014-05-14T13:52:38.493

Answers

0

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!

CharlesH

Posted 2014-05-14T13:28:40.637

Reputation: 1 943

http://www.bill2-software.com/processmanager/index.shtml another one if Prio is not quite powerful enough. – CharlesH – 2014-05-14T14:19:05.643