locked
Web Application after 5 minutes first request is so slowly RRS feed

  • Question

  • User-899907674 posted

    Hello,

        I take a publish asp.net Mvc 5 and install it on IIs8, When I connect to that site after 5 minutes first request is so slowly!

        I Think Application Pool  Recycle, but I Search And Set All Settings For Application Pool like to:

        StartMode: Running, Ide-TimeOut, Interval, Preload and etc, but Nothing help me, Please say How Can I Solve It.

    Thanks

    Saturday, October 8, 2016 11:03 AM

Answers

  • User-460007017 posted

    Hi  hassanef,

    The problem could be caused by JIT compile. The application pool needs time to build the libraries before it can begin processing them. You could try to use a warmup script to speed up the initialization.

    Hope this link could help you:

    http://www.codeproject.com/Articles/795265/IIS-Asp-net-warm-up-Auto-Start-Application

    Besides, you could enable the failed request tracing to figure out which module lead to the slow performance.

    This link provides the method to enable failed request tracing:

    https://www.iis.net/learn/troubleshoot/using-failed-request-tracing/troubleshooting-failed-requests-using-tracing-in-iis

    Best Regards,

    Yuk Ding

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Monday, October 10, 2016 8:37 AM

All replies

  • User-460007017 posted

    Hi  hassanef,

    The problem could be caused by JIT compile. The application pool needs time to build the libraries before it can begin processing them. You could try to use a warmup script to speed up the initialization.

    Hope this link could help you:

    http://www.codeproject.com/Articles/795265/IIS-Asp-net-warm-up-Auto-Start-Application

    Besides, you could enable the failed request tracing to figure out which module lead to the slow performance.

    This link provides the method to enable failed request tracing:

    https://www.iis.net/learn/troubleshoot/using-failed-request-tracing/troubleshooting-failed-requests-using-tracing-in-iis

    Best Regards,

    Yuk Ding

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Monday, October 10, 2016 8:37 AM
  • User1435490828 posted

    Same problem happened for me dear Hassanef but I was discussing with my friends and one of my friends said me about asp.net Mvc 5 from My asp(dot)net. When I install IIs8 on it. It works very fast. I am so happy.

    Tuesday, October 25, 2016 1:18 PM