Why is my website stuck? is it a system problem or a hardware problem?

Source: Internet
Author: User
Tags vps server
Why is my website stuck? is it a system problem or a hardware problem? I am using a VPS server, memory 1 GB ECC, dual-core CPU, 70 GB hard drive, 3 M exclusive bandwidth, 4-wire, WIN2003 system
Because the website is still in beta testing, the number of concurrent online users does not exceed 10
Now the website is stuck for a while and sometimes gets stuck for a few minutes. you need to log on to the webpage again. I asked the server provider that the hardware configuration is too low, the CPU usage suddenly becomes very high when the card is used, and the server needs to be upgraded. I suspect it is a system problem. Is this a system problem or a hardware problem?


Reply to discussion (solution)

PHP code. The program is tested locally.

What do you want to see ?? ? Source.
Affection? Server? ? .

In Linux, let's look at the configuration... but this is not the case for a few people.

Request the URL .~~~~~~~~

It may be that vps is sold out.
If openvz is used, it can be sold out.
Xen kvm does not work
See which virtual technology it belongs.
Let's look at the execution time on the vps.

Please take a look at this... Http://www.bo56.com/%E5%96%84%E7%94%A8php-fpm%E7%9A%84%E6%85%A2%E6%89%A7%E8%A1%8C%E6%97%A5%E5%BF%97slow-log%EF%BC%8C%E5%88%86%E6%9E%90php%E6%80%A7%E8%83%BD%E9%97% AE %E9%A2%98/

If you have any queries, you can check the SQL statements on the current page. This may be the cause of bandwidth.

First check the browser to see which element is stuck and then hit the corresponding element in the background to check the performance bottleneck.

After changing the LINUX system, it will be fine. thank you!

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.