Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Application recycling logging
Message
From
17/10/2010 13:52:50
 
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01485842
Message ID:
01485856
Views:
35
>Looks like you can configure IIS to do it (haven't tried it myself):
>http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/87892589-4eda-4003-b4ac-3879eac4bf48.mspx?mfr=true
>
>Failing that here's an example of getting the information in the Application end event:
>http://weblogs.asp.net/scottgu/archive/2005/12/14/433194.aspx

Thanks, this works. I adjusted from the command prompt. I did a test on AppPoolRecycleOnDemand after I forced a manual recycle and this was logged. As for the automatic recycling, I set it to AppPoolRecycleTime. I think that's the one to use. Is this how you see it? AppPoolRecycleTime logs event on time-based recycles. So, I guess when the timer is reached, that one will be used.

As for the logging inside the application, I think I should create a table for the recycling. That will tell me, by the use of oApp.nID, which I will create to generate a unique ID, when a new startup or recycling was done and for how long. Then, I will be able to monitor it from the application. Then, I will be able to get rid of the Event Viewer logging. That one was only for a fast way of troubleshooting this.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform