Web site access slow way to troubleshoot

Source: Internet
Author: User
Tags aliyun
1. When the site is slow to visit, first look at the local network is normal.

Methods: First use the network speed measurement of local network rate: The network rate is lower than 50kb/s, visit the site naturally slow. 2. When the local network rate is normal, check to see if the site visited is normal.

Methods: Test the access performance of the site: in the site detection, enter the IP or domain name, select a single file or full page for testing,

Analysis report: DNS server: Displays the visitor's export DNS, the role is through the export DNS to obtain the visitor's network, for example: xx.xx.xx.xx (Beijing netcom) website resolution IP: The IP address of the Web page, the role of the IP address, you can use ping command to check the connectivity of the IP, Diagnose the site is normal, such as ping Web pages when the packet loss is more serious, the access rate will be lower

Total time: Site response time, can understand the performance of the site bottlenecks or using Google or IE browser F12 developer tools to view the size of the site and the opening speed of the site is not proportional. 3. When the site appears inaccessible, use the Troubleshooting command to locate the point of failure.

Command analysis: Ping: Detecting connectivity of IP or domain names dig/nslookup: View DNS Solution

Analysis of the situation traceroute: Displays the status of the routed connection from the visitor to the site, and if a node is not connected, simply fix the fault point to restore the network quickly.

4. Through the Chrome Browser developer tool to troubleshoot the site to open slow

Web site is slow to open, through the Aliyun ECS Console "Instance monitoring information" to view the performance of the site's server, if the site's server performance is not a bottleneck, you can use the Chrome browser developer tools to troubleshoot which resources caused the site to open slow. Method:

Network can see the time of the scripts and resources loaded by the Web page, and also see some resources that cannot be loaded successfully; Here is a website delay: 1, open the Chrome browser, press the F12 on the keyboard, open the developer tool.

2, select "Network"-"press the CTRL+F5 on the keyboard (after pressing the CTRL key, then press F5 key), force refresh, view the load of Web page resources."

Visible from the picture above, loading banana.swf This resource takes 2.73s, the most time-consuming, and the corresponding link address of the resource can also be copied.

The copied addresses are as follows: http://xxxxxx.com/flash/banana.swf

This situation can be fed back to the website development engineer or operational engineer to see the problem.

Most of the cases are caused by excessive image resources and can be handled by themselves.


Aliyun Document

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.