|
Q. What is the Windows System Resource Manager (WSRM)? A. Available only for Windows Server 2003, Datacenter Edition, and Windows Server 2003, Enterprise Edition, WSRM is a component that's used to throttle CPU and memory usage on the servers on which it's installed. WSRM can be useful when you want to run multiple applications on a server while ensuring that no application consumes more than its fair share of resources, which could impede other applications' performance. WSRM lets you place caps on a process or user level to make sure that all processes have the required resources. WSRM uses "soft" caps, which means that although each process is limited to a specific percentage of CPU utilization and amount of memory, a process can exceed the limit if no other process is competing for the resource. Let's say I've defined caps for three applications:
If applications 2 and 3 each used 10 percent of the CPU and application 1 required more than its 30 percent allocation, WSRM would give application 1 the additional amount that it required, up to 80 percent of the total CPU. However, if one of the other applications later required more CPU, WSRM would grant the other application the amount of CPU it requested, up to its limit. WSRM is supplied on the Windows 2003 Datacenter and Windows 2003 Enterprise CD-ROMs. You can also download WSRM at http://www.microsoft.com/windowsserver2003/downloads/wsrm.mspx. Q. How do I specify a new process for Windows System Resource Manager (WSRM) to manage? A. Before you can tell WSRM to impose CPU and memory restrictions on a process, you must define the process in WSRM by specifying matching criteria. Here's how to do this:
You've now defined your application as a process to which WSRM can assign resources. Q. How do I create a resource-allocation policy? A. You use a resource-allocation policy in Windows System Resource Manager (WSRM) to assign soft CPU and memory caps to processes you've identified through process-matching criteria, as I explain in the FAQs "What's Windows System Resource Manager (WSRM?)" and "How do I specify a new process for Windows System Resource Manager (WSRM) to manage?". To allocate resources to processes you've defined, you must create a resource-allocation policy by performing these steps:
You now have a resource-allocation policy that sets the soft caps for processes that are defined on the system. Q. How can I activate a resource-allocation policy? A. To activate a resource-allocation policy that you've defined in Windows System Resource Manager (WSRM), in the Microsoft Management Console (MMC) Windows Server Resource Manager snap-in, right-click the resource-allocation policy and select Set as Managing Policy from the context menu. The resource-allocation policy entry in the treeview pane will now have "[Manage]" next to it. To make the resource-allocation policy active, you need to ensure that WSRM is managing the system. To do so, in the Windows Server Resource Manager snap-in's treeview pane, right-click Windows System Resource Manager and select Properties. The WSRM Managing State should be set to Running; if the state shows another setting, right-click the Windows System Resource Manager entry and select Start Managing from the context menu. Q. Why can't clients view a Web site that I'm hosting on a Windows XP Service Pack 2 system? A. XP SP2 includes the new Windows Firewall, which blocks inbound requests to port 80 (HTTP) and is enabled by default. To let clients access an XP SP2 Web host, perform these steps on the XP SP2 host:
If the XP SP2 Web host also serves HTTP Secure (HTTPS) Web pages, repeat these steps and enter HTTPS for the name and 443 for the port. |