Website slows down in a .NET Framework environment

更新时间:
复制 MD 格式

A website built in a .NET Framework environment on a Cloud Web Hosting instance that runs the Windows operating system may slow down over time. This topic describes the possible causes and a solution.

Symptoms

A website built in a .NET Framework environment on a Cloud Web Hosting instance that runs the Windows operating system slows down after running for some time. The website's speed returns to normal after a manual restart.

Possible cause

The website program does not promptly release the Central Processing Unit (CPU) and memory resources that it uses. You must periodically restart the website to release the resources. You can also switch the ASP.NET version to reclaim application pool resources without a manual restart.

Solution

  1. Log on to the Cloud Web Hosting management page.
  2. Find the Windows-based Cloud Web Hosting instance that you want to manage, and click Manage in the Operation column.
  3. In the navigation pane on the left, choose Advanced Environment Settings > .NET Version Settings.
  4. On the .NET Version Settings page, switch the .NET Framework version.
    1. Switch the .NET Framework version to any other version and click Save Settings.
    2. Wait for 10 to 15 minutes. Then, revert the .NET Framework version to the original version and click Save Settings again.
  5. Verify that the website access speed has returned to normal.
    • The access speed is restored to normal, and the troubleshooting is complete.
    • If the access speed is still slow, submit a ticket.