tencent cloud

Feedback

Slow Website Access

Last updated: 2024-01-06 17:32:18

    Problem Description

    Website access is slow.

    Problem Analysis

    A complete HTTP request includes resolving the domain name, establishing the TCP connection, initiating the request, CVM receiving and processing the request, returning the result, the browser parsing the HTML code, requesting other resources, and rendering the page. These processes involve the local client, network nodes between the client and the server, and the server. A problem with any of them may cause network access latency.

    Solutions

    Check the local client

    1. Access the network testing website to test the access speed to different domain names from the local client.
    2. Based on the test result, check whether the local network has an exception. For example, the test result is as shown below:
    
    The test result shows the access latency for each domain name and whether the network is normal.
    If the network has an exception, contact your ISP to locate and solve the problem.
    If the network is normal, please check the network linkage.
    1. Ping the server's public IP from the local client to check if there is packet loss or high latency.
    If any of the problems occurs, use MTR for troubleshooting. For more information, please see CVM Network Latency and Packet Loss.
    If the ping test shows no packet loss or high latency, please execute step 2.
    2. to check whether the problem is caused by DNS resolution. You can also access the page directly with the public network IP to check whether DNS has caused access latency.
    If DNS has an exception, check the DNS resolution.
    If DNS is normal, please check the server.

    Check the server

    1. Log in to the CVM Console.
    2. Click the ID/name of the instance you want to check to enter its details page.
    3. Select the Monitoring tab on the details page to view the instance resource usage, as shown below:
    
    
    If the bandwidth usage is too high, please refer to Login Failure Due to High Bandwidth Occupation for troubleshooting.
    If the instance resource usage is normal, please check other problems.

    Check other problems

    Based on instance resource usage, check whether the increase in resource consumption is caused by server load.
    If yes, we recommend that you optimize the business processes, change instance configuration, or purchase new servers to reduce the pressure on existing servers.
    If no, we recommend that you check log files to locate the problem and carry out targeted optimization.
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support