App Recycle on CPU limit

Discussion in 'ASP.NET / ASP.NET Core' started by bjako, Feb 4, 2007.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Hi All,

    I read on a previous post that DASP will recycle the app under various circumstances one being the 70% CPU utilisation threshold. Whilst this is understandable in a shared hosting environment I wonder if anyone could shed some light on how to reduce CPU utilisation for the task below as I am experiencing this now.

    The task is an ASPX page that imports a couple of XML files which are a list of deletes, updates and Inserts on our database. The list of records to write can sometimes be upto 50,000 and I am experiencing the App recycle.

    Is there any way to slow down the ASPX or throttle it in the codeso that CPU utilisation does not cause the app to recycle?

    Thanks alot.

    Ben.
     
  2. I believe you might solve this with the new Timer class,in the System.Threading namespace.

    Rob Howard has examples of using that to help in situations like yours on his site:
    http://www.rob-howard.net/
     
  3. You could issue a support ticket to DASP ,to find out exactly whats causing the App recycle or you run the application locally and see it urself ,whether its the memory or the CPU?

    Vikram

    DiscountASP.NET
    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