I. Summary:
order to be able to make good IIS stable, it introduces the 2000 Web server that method for optimizing the performance of a dedicated Windows. PS: Let's get started.
Second, disable unnecessary services:
disable the Web server does not require a dedicated Windows 2000 Service. To do this, click Start, point to Programs, point to Administrative Tools, and then click Computer Management. Under Computer Management (Local), expand Services and Applications, and then click Services. The status is displayed in the Status column of the currently running service. The following services are not required on a dedicated Web server:
alarm
scrapbook
Computer Browser
DHCP client
DHCP server
fax service
file Copy
Infrared Monitor
Internet Connection Sharing
Messenger
NetMeeting Remote Desktop Sharing
Network DDE
Network DDE DSDM
NWLink NetBIOS
NWLink IPX/SPX
Print spooler
TCP /IP NetBIOS support services
phone
Telnet
uninterruptible power supply
under
mind and you want to stop those service dependencies. The method is:
Double click on the desired service. For example, double-click on the messenger.
Click the Dependencies tab.
In the "Service Name Relies on These Services" list (where the service name is the name of the selected service), make a note of those services that the service depends on.
In the "These service dependent service names" list, note those services that cannot be started without the service.
Click OK.
Disable the required service. Here's how:
Right-click the service you want to disable, and then click Properties on the shortcut menu that appears.
In the Startup Type list, click Disable.
If you want to stop the service immediately, click Stop. If the Stop Other Services dialog box is displayed, other services that depend on the service will also be stopped. Make a note of the affected service and click Yes.
Click OK. Disabled is displayed in the Startup Type column of the service.
Repeat step 4 to disable other unnecessary services.
Note: After disabling each service, you should test that the web server computer is functioning properly. This minimizes the impact of disabling services that may be needed.
NOTE: If the IIS server is a Windows 2000 domain member, it is necessary TCP /IP support services, in order to correctly apply Group Policy to the computer.
Third, maximize data throughput for network applications
run Internet Internet Information Services (IIS) 5.0 process pageable code in working memory. Here's how:
Right-click My Network Places on the desktop, and then click Properties in the shortcut menu that appears.
Right-click on the desired local connection icon and click Properties in the shortcut menu that appears.
In the "This connection uses the following selected components" list, click "File and Printer Sharing for Microsoft Networks" (but do not clear its check box), and then click Properties.
Click Maximize Network Application Data Throughput and click OK twice.
Fourth, to optimize the performance of background services
IIS 5.0 process (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.
In the Control Panel, double-click System.
Click the Advanced tab and then click Performance Options.
Under Application Response, click Background Services, and then click OK twice.
Exit the Control Panel.
V. minimize IIS 5.0 logging
ban on unwanted Web sites, virtual directories, or files and folders for logging. Here's how:
Click Start, point to Programs, point to Administrative Tools, and then click Internet Services Manager.
Expand "*servername", where servername is the name of the web server.
Find the item you want and right click on it. On the shortcut menu that appears, click Properties. For example, right-click the default Web site, and then click Properties on the shortcut menu that appears.
Do one of the following:
If you select a Web site, click the Home Directory tab.
- or -
If you select a virtual directory, click the Virtual Directory tab.
- or -
If you select the actual directory, click the Directory tab.
Click the Log Access check box to clear it, then click OK.
To disable logging for the whole Web site, click the Web Site tab, click Enable Logging check box to clear it, and then click OK.
Exit the Internet Information Services snap-in.
Sixth, enable bandwidth throttling limit each
Web site available network bandwidth. Here's how:
Start the Internet Service Manager.
Expand "*Server Name" where servername 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 Limit check box to select it.
In the Maximum network usage box, type the value you want, and then click OK.
Exit the Internet Information Services snap-in.
seven or limiting the use of processor
restrictions footprint of the processor Web site. Here's how:
Start the Internet Service Manager.
Expand "*Server Name" where servername 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 Limits check box to select it.
In the Maximum CPU usage box, type the value you want.
Click the Mandatory Limit check box to select it, then click OK.
NOTE: If mandatory restrictions option is not enabled, it will not enforce the restrictions "to maximize the use of CPU" of. When a Web site exceeds its allowed CPU usage limit, an event is written in the Event Log.
Exit the Internet Information Services snap-in.
Eight, limiting Web site connected
limit the number of connections available to individual Web sites. Here's how:
Start the Internet Service Manager.
Expand "*Server Name" where servername 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 Connect, click Yes.
In the Connection box, type the number of connections you want to allow.
NOTE: Each client connection about the same time of four connection. For example, limiting the number of connections to 200 allows approximately 50 users to access the Web site.
Click OK and then exit the Internet Information Services snap-in.
IX Using the "HTTP connection"
by default, be able to use the "keep an HTTP connection." To verify that "Keep HTTP Connection" is enabled, follow these steps:
Start the Internet Service Manager.
Expand "*Server Name" where servername 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 Connect, verify that the "Always keep HTTP connections enabled" checkbox is selected, then click OK.
Exit the Internet Information Services snap-in.