locked
Performance very slown in pages C# RRS feed

  • Question

  • User1131532292 posted

    I have an application running in production developed in ASP.NET 4.6, the application to be published or at any time it takes approximately 1 min to load each page, I have already tested it on other Production servers and with less resources and the application works perfectly.
    I performed a query on an API to check the return time, and to bring 1 record took 700 milliseconds ...
    Could anyone help?
    In some cases I need to reset IIS several times until it returns to normal.

    Monday, May 31, 2021 6:54 PM

Answers

  • User1131532292 posted
    I found out, and it was kaspersky for windows servers, it is checking all temporary folders and IIS worker process.
    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Tuesday, June 15, 2021 11:55 AM

All replies

  • User690216013 posted

    https://docs.microsoft.com/en-us/visualstudio/profiling/profiling-feature-tour?view=vs-2019#post_mortem Try to collect profiling data, and then the cause should be clear.

    Monday, May 31, 2021 7:32 PM
  • User1065476709 posted

    Hi AlanOliveira,

    The application pool needs time to build the libraries before it can begin processing them. This can be speed up by using some kind of script. It also depends on whether you're using a website or a web application project.

    You could also looking for IIS Auto-Start feature and setup it on your server may help speed up the process. By default Application pool gets shutdown in case of user inactivity default value of 1740 mins. You can also disable idle TimeOut by setting to 0 can help a lot.

    Best regards,

    Sam

    Monday, June 7, 2021 6:46 AM
  • User1131532292 posted
    I found out, and it was kaspersky for windows servers, it is checking all temporary folders and IIS worker process.
    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Tuesday, June 15, 2021 11:55 AM