Login | Register   
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: ASPNET
Expertise: Intermediate
Feb 2, 2002

ASP.NET process recycling

Application recycling is a great feature that lets you configure an application so that ASP.NET automatically shuts it down and restarts it after a given period or a given number of client requests, or when it consumes more memory than the specified threshold. This feature is a lifesaver if the application progressively degrades its performance because of memory leaks - something that might happen if the application uses unmanaged resources. You control application recycling through one or more settings in the tag in web.config. For example, this setting recycles the ASP.NET application every hour:

<configuration>
  <system.web>
    <processModel timeout="60" />
  </system.web>
</configuration>
Francesco Balena
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap