Optimize Web server performance in Win2000

Source: Internet
Author: User

Content of this article:

I. Summary ii. disable unnecessary services
3. Maximize network application data throughput 4. optimize backend service performance)
5. Minimize IIS 5.0 logging 6. Implement bandwidth Adjustment
7. Restrict processor access 8. Restrict Web site connection
9. Use "Keep HTTP Connection"

I. Summary:

In order to make IIS run stably, I mainly introduce some methods used to optimize the performance of the dedicated Windows 2000 Web server. PS: Start.

Ii. disable unnecessary services:

Disable Windows 2000 services that are not required by dedicated Web servers. Click Start, point to programs and management tools, and click computer management. Under computer management (local), expand services and applications, and then click Services. The Status column of the currently running service shows that it has been started. The following services are not required on dedicated Web servers:

Alarm
Clipboard
Computer Browser
DHCP Client
DHCP server
Fax Service
File Replication
Infrared Monitor
Internet Connection Sharing
Messenger
NetMeeting Remote Desktop Sharing
Network DDE
Network DDE DSDM
NWLink NetBIOS
NWLink IPX/SPXR
Background print program
TCP/IP NetBIOS Support Service
Phone number
Uninterruptible Power Supply

Write down the services that are dependent on the services to be stopped. The method is:

Double-click the required service. For example, double-click the messenger.
Click the dependency tab.
In the "service name depends on these services" list (where the service name is the name of the selected service), write down the services that the service depends on.
In the "these services depend on service names" list, write down the services that cannot be started without the service.
Click OK.
Disable the required services. The method is:
Right-click the service you want to disable, and click Properties on the shortcut menu that appears.
In the launch type list, click Disable.
To stop the service immediately, click STOP. If the "Stop Other Services" dialog box is displayed, other services dependent on this service will also be stopped. Write down the affected services and click yes.
Click OK. The service is disabled in the Startup type column.
Repeat Step 1 to disable other unnecessary services.

Note: after each service is disabled, check whether the Web server computer is running properly. This minimizes the impact of disabling services that may be required.

Note: If the IIS server is a Windows 2000 Domain Member, the TCP/IP Support Service is required to correctly apply the Group Policy to the computer.

Iii. Maximize network application data throughput

You can run the Internet Information Service (IIS) 5.0 process paging code in the working memory. The method is:
Right-click the network neighbor on the desktop, and click Properties in the shortcut menu that appears.
Right-click the desired local connection icon and click Properties in the shortcut menu that appears.
In the "use the following selected components for this connection" list, click "file and printer sharing for Microsoft Network" (but do not clear its check box), and then click Properties.
Click maximize network application data throughput, and then click OK twice.

IIS 5.0 process (Inetinfo.exe) runs as a background service. To improve the performance of background services, follow these steps:
Click Start, point to settings, and then click Control Panel.
In control panel, double-click the system.
Click the Advanced tab, and then click performance options.
Under "application response", click "background service", and then click OK twice.
Exit Control Panel ".

5. How to minimize IIS 5.0 logging?

Do not record unnecessary Web sites, virtual directories, files, or folders. The method is:
Click Start, point to programs and management tools, and then click Internet Service Manager.
Expand "* server name", where the server name is the name of the Web server.
Find the required item and right-click it. 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.
Perform one of the following operations:
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, clear it, and click OK.

To Disable Logging for the entire Web site, click the Web site tab, click the Enable Logging check box, clear it, and click OK.
Exit the Internet Information Service Management Unit.

6. Enable bandwidth limit

Limit the available network bandwidth of each Web site. The method is:
Start Internet Service Manager ". @ # LFE
Expand "* server name", where the server name is the name of the Web server.
Right-click the desired Web site (for example, the default Web site), and 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 desired value and click OK.
Exit the Internet Information Service Management Unit.

VII. restrict the use of processors

Restrict the CPU usage of websites. The method is:
Start Internet Service Manager ".
Expand "* server name", where the server name is the name of the Web server.
Right-click the desired Web site (for example, the default Web site), and click Properties on the shortcut menu that appears.
Click the performance tab, and then click the enable process restriction check box to select it.
In the "Maximum CPU usage" box, type the value you want.
Click the mandatory limits check box, select it, and click OK.

Note: If the mandatory restriction option is not enabled, the "Maximum CPU usage" restriction is not enforced. When the Web site exceeds its allowed CPU usage limit, the event is written into the "event log.
Exit the Internet Information Service Management Unit.

VIII. Restrict Web site connection

Limit the number of available connections 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 the desired Web site (for example, the default Web site), and click Properties on the shortcut menu that appears.
Under connection, click Limited.
In the connection box, type the number of connections to be allowed.

Note: Each Client Connected uses approximately four connections at the same time. For example, limit the number of connections to 200 to allow about 50 users to access the Web site.
Click OK to exit the Internet Information Service Management Unit.

9. Use "Keep HTTP Connection"

By default, you can use "Keep HTTP Connection ". To verify whether "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 the desired Web site (for example, the default Web site), and click Properties on the shortcut menu that appears.
In the connection, confirm "already

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.