App Pool Memory Use

Discussion in 'Control Panel API' started by financialme, Nov 17, 2006.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. The UsageSummary app & Control Panel APIare very interesting.


    It appears that with the API, a dASP can automatically perform "Application Pool Recycle and Site Stop/Start", although this doesnot appear to be a part of the ready-made Usage Summary app.


    But, what are the guidelines or circumstances under which "Recycle" or "Stop/Start" should be initiatied, besides a hung application or locked files?


    For example, I know that dASP provides separate Application Pool for each customer and that 100 Meg is a memory limit.


    Isn'tit important for the client to know how closethe client's app/web memory requirements are in relation to this threshold and shouldn't this be a vital part of < scheduled > usage monitoring (ie. contained as part of the Customer API) due to its importance?


    If, for example, memory use was approaching the 100K, wouldn't it be valuable for a dASP client to programmaticallytrigger "Application Pool Recycle" and send an eMail alert to the client (administrator)?


    TIA
     
  2. Takeshi Eto

    Takeshi Eto DiscountASP.NET Staff

    For example -the Stop/Start Site function: If you have a dynamic site thatmakeupdates to your SQL server often, you may want to Stop your site when you are performing maintenance on your SQL database. Or if you are launching a new website or maintain a comlex website, you may want to stop your site so that users are not navigating through an incomplete site.

    Eric
    DiscountASP.NET
    http://www.DiscountASP.NET
     
  3. Bruce

    Bruce DiscountASP.NET Staff

    Hmmm.. Interesting Idea!

    This is currently quite difficult to do this because we need to tap into the perf counter to pull the memory usage (I think!) but it is possible. The big concern is what is the cost (CPU,etc.) of pulling this information.

    Thanks for the suggestion.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  4. It's something that's difficult to do. Your site may run at 10% usage most of the time and spike up to 100% at random times and be recycled. If we poll the usage, it's possible to lead to confusing and incorrect numbers.


    Joel Thoms
    DiscountASP.NET
    http://www.DiscountASP.NET
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page