Information source: hacking base
Advertising 1, Summary: In order to be able to make IIS operation stabilize, it mainly introduces a point for optimizing the performance of the dedicated Windows 2000 web server performance. Second, disable unnecessary services: Disabate the Windows 2000 service that is unwanted for a dedicated web server. Method is: Click Start, point to Programs, Administrative Tools, and then click Computer Management. Under "Computer Management (Local), expand Services and Applications, and then click Services. The status column currently running is displayed. The following services are unwanted on the dedicated web server: alarm scrapbook computer browser DHCP client DHCP server fax service file Copy infrared monitor Internet connection shared message make netmeeting remote desktop sharing network DDE network DDE DSDM NWLINK NETBIOS NWLINK IPX / SPX Backstage Print Program TCP / IP NetBIOS Support Service Telephone Telnet Uninterruptible Power Supply Looking down below those services with dependence on services to be stopped. The method is to double-click the required service. For example, double-click the messenger. Click the dependency tab. In the "Service Name Relying on these Services" list (where the service name is the name of the selected service), write down the service dependent on the service. In the "These Service Dependent Service Name" list, those services that do not start without the service. Click OK. Disable the required services. The method is: Right-click on the service you want to disable and click Properties on the shortcut menu that appears. In the Launch Type list, click Disable. If you want to stop using it now, click Stop. If there is a stopped other service dialog, other services that depend on the service will also be stopped. Remember the affected service, then click Yes. Click OK. Disable is displayed in the startup type column of the service. Repeated step 4 and disable other unnecessary services. Remarks: After all services are disabled, you should test whether the web server computer is operating normally. This reduces the impact of disabling the services that may be needed. Note: If the IIS server is a Windows 2000 domain member, the TCP / IP support service is required to properly apply the Group Policy to your computer. Third, maximizing network application data throughput runs the Internet Internet Information Service (IIS) 5.0 process can be paged by work memory. The method is: Right-click on the desktop to click on the neighbor and click Properties in the shortcut menu that appears. Right-click the local connection icon you want and then click Properties in the shortcut menu that appears. In "This connection uses the following selected component" list, click "Microsoft Network and Printer Sharing" (but do not clear the check box), and then click Properties. Click "Maximum Network Application Data Throughput" and click OK twice. 4. Optimize the performance IIS 5.0 process of the background service (inetinfo.exe) runs as a background service. To improve the performance of the background service, follow these steps: Click Start, point to Settings, and then click Control Panel. Double-click the system in the Control Panel. Click the Advanced tab and click Performance Options. Under Application Response, click Background Service, and then click OK twice. Exit the Control Panel. 5. Minimize IIS 5.0 logging prohibits logging for unwanted Web sites, virtual directories, or files and folders. Method is: Click Start, point to Programs, Administrative Tools, and then click Internet Service Manager.
Expand "Server Name", where the server name is the name of the web server. Find the items you want, and then right-click this item. On the shortcut menu that appears, click Properties. For example, right-click the default Web site and click Properties on the shortcut menu that appears. Do one of the following: If you select a Web site, click the Main Directory tab. - Or - If you select a virtual directory, click the Virtual Directory tab. - Or - Click the Directory tab if you select an actual directory. Click the Log Access check box, clear it, and then click OK. To prohibit the logging of the entire Web site, click the Web Site tab, click Enable Log Release check box, clear it, and then click OK. Exit the Internet Information Services management unit. 6. Enable bandwidth restrictions to limit network bandwidth available to each Web site. The method is: Start "Internet Service Manager". Expand "Server Name", where the server name is the name of the web server. Right-click on the desired Web site (for example, the default Web site), and then click Properties on the shortcut menu that appears. Click the Performance tab, and then click the Enable Bandwidth Restrictions check box to select it. In the "Maximum Network Usage" box, type the desired value, then click OK. Exit the Internet Information Services management unit. 7. Limit the processor uses the restrictions of the web site to the processor's occupation. The method is: Start "Internet Service Manager". Expand "Server Name", where the server name is the name of the web server. Right-click on the desired Web site (for example, the default Web site), and then click Properties on the shortcut menu that appears. Click the Performance tab, and then click the Enable Process Limit check box to select it. Type the desired value in the "Maximum Using the CPU" box. Click the Mandatory Restrictions check box, select it, and then click OK. Note: If the mandatory restriction option is not enabled, the "maximum use of CPU" is not enforced. When the Web site exceeds its allowed CPU usage limit, the event is written in the "Event Log". Exit the Internet Information Services management unit. 8. Limiting a web site connection to limit the number of connections available for each Web site. The method is: Start "Internet Service Manager". Expand "Server Name", where the server name is the name of the web server. Right-click on the desired Web site (for example, the default Web site), and then click Properties on the shortcut menu that appears. Under the connection, click Limit. In the Connection box, type the number of connections to be allowed. Remarks: Connect each client of the connection uses four connections. For example, limit the number of connections to 200 approximately 50 users to access the Web site. Click OK, then exit the Internet Information Services management unit. Nine, use "Keep HTTP Connection" By default, "keep HTTP connection" can be used. To verify that "Keep HTTP Connection" is enabled, follow these steps: Start "Internet Service Manager". Expand "Server Name", where the server name is the name of the web server. Right-click on the desired Web site (for example, the default Web site), and then click Properties on the shortcut menu that appears.