Asp. NET host Resources Control Some experience _ practical skills

Source: Internet
Author: User

You can control the ASP.net host's footprint on server memory by setting the following settings. And can set ASP.net host process scheduled reconstruction (similar to the IIS6 in the AppPool in the timing of the restart), so that the server can avoid long running the ASPNET occupy a large amount of free memory, conducive to improve the efficiency of the operation of the ASPNET.
Asp. NET Host configuration file location is
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\CONFIG\machine.config
Open the file with a text editor, and find the content to change by comment
ProcessModel
Enable= "true"
timeout= "01:00:00" timeout, specify how long to rebuild the ASPNET process, recommended for hours, format "hours: minutes: SEC"
Idletimeout= "00:20:00" to shut down the process for a long time without action, recommended dozens of minutes
...
Memorylimit= "--aspnet" consumes up to a maximum of server memory, default 40%
...
Asp. NET host related settings experience to introduce you here, I hope to help you.

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.