New tricks for IIS6.0 website management

Source: Internet
Author: User

Although the launch of IIS6.0 has been around for some time, I believe many netizens are familiar with using it to manage various types of websites. However, IIS6.0 is as deep as a Windows operating system, you can still find many new application skills. Maybe you are not familiar with some new website management skills provided below.

1. Prevent websites from consuming too many memory resources

When you use IIS6.0 to manage a website, you will often encounter a situation where the memory usage of the system usually reaches about 90% after the website runs for a period of time. In this case, when you continue to visit the website, it will obviously feel that the website page is too slow to open.

To effectively avoid this phenomenon, We Can skillfully set the application pool in IIS6.0 so that it can regularly recycle idle processes, at the same time, it effectively limits the maximum amount of memory available for the website to ensure that the server can always run stably. The procedure is as follows:

Click Start, set, and control panel commands. In the control panel window that appears, double-click the Management Tools icon, double-click "Internet Information Service Manager" to open the console window of IIS6.0;

Expand the "application pool" option under the Local Computer, right-click "DefaultAppPool" under the option, and then right-click the "attribute" command in the menu, on the property settings page that appears, click "recycle" To Go To The tag page.

Select the "recycle Worker Process (minutes)" option on the page, and enter the appropriate value in the text box on the right of the option, to specify how long it will not be active;

Next, select the recycle Worker Process (number of requests) option, and enter an appropriate value in the text box on the right of the option to specify multiple minority requests to recycle the worker process. The recycling process also consumes a certain amount of system resources.

To avoid peak website access times, you can select the recycle Worker Process option and click Add to add a proper recycle time, for example, we can set the recycle time to around midnight one o'clock;

Next, in the "memory Recycle" setting, we can select the "maximum memory used" option and enter the appropriate value in the text box on the right of the option, to limit the maximum amount of system memory that a website can use.

After completing the preceding settings, expand the "website" project in the IIS6.0 Console window, right-click the name of the target website, and then run the "properties" command in the right-click menu, click the "main directory" tab in the pop-up website Properties window, and check whether the application pool on the tab page is set to "DefaultAppPool". If not, adjust it.

If there are other websites in IIS6.0, set the application pool of other websites to "DefaultAppPool" in the same way, and click "OK, in this way, the website can be prevented from consuming too many memory resources.

Related Article

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.