none
Performance issue in System.Web.WebPages.WebPageHttpModule.OnApplicationPostResolveRequestCache RRS feed

  • Question

  • Hi,

    I was running a profiler to find out why the web api response time is slow, I see this method is one of the method at the top 1000 slowest calls, Some time it even takes 7.98 seconds, System.Web.WebPages.WebPageHttpModule.OnApplicationPostResolveRequestCache, We do get few million requests(REST api calls) per day.

    Thanks

    Friday, June 14, 2019 8:05 PM

All replies

  • What is the CPU load at the time that method is taking 7.98 seconds?  I suspect it is very high.  Do you have the site running on more than one server (load balanced)?
    Saturday, June 15, 2019 5:03 PM
  • Yes, CPU is about 70%, we have load balanced servers.

    I did get the dump to see, if I could find anything. noticed about an 1MB of data in this cache System.Web.Configuration.MapPathCacheInfo. Could this be a problem?

    Tuesday, June 18, 2019 11:51 PM
  • 70% is not too bad.   I do not think 1MB of data in cache is an issue.  What does the slow method do?  Could their be SQL blocking going on?
    Wednesday, June 19, 2019 12:01 AM
  • This method is  in .net library, No SQL involved.
    Wednesday, June 19, 2019 3:16 PM