After the website is slow and apache is restarted

Source: Internet
Author: User
Tags apache log
After the website slows down and restarts apache, the website slows down and restarts apache. after the restart, the website slows down again for a period of time. the cpu and memory of the server are both normal and rarely used, and the ping response is fast, generally, it takes more than 10 ms, but it is slow to open the website. The most recent problem has occurred. could you please check this problem? well, if you don't want to answer this question, it will be normal to check if the website is slow and restart apache?
The website slows down and restarts apache normally. after the restart, it slows down again for a period of time. the cpu and memory of the server are both normal and rarely used. the ping response is also fast, generally over 10 ms, however, the website is slow to open. The most recent issue has occurred. could you please check the apache log if you don't want to answer the question, it is estimated that the problem occurs in that situation. if so, what will happen in the log .....

------ Solution --------------------
In fact, I have also met you. after a while, I just want to know why.
------ Solution --------------------
The key lies in Rarely used
Because it is rarely used, the memory required by apache is squeezed onto the hard disk, and even the required dynamic link library is detached from the memory.
When it is used, it is loaded from the hard disk, or even dynamic link library. Of course it will be slow.
------ Solution --------------------
Normal After apache is restarted
The root cause is apache.

Try again.


------ Solution --------------------
Boss, this explanation seems inappropriate. if it is the reason you mentioned, it should be able to recover to normal after several visits using a browser. I am afraid the landlord will not raise this question.
Discussion
The key is that few are used.
Because it is rarely used, the memory required by apache is squeezed onto the hard disk, and even the required dynamic link library is detached from the memory.
When it is used, it is loaded from the hard disk, or even dynamic link library. Of course it will be slow.

------ Solution --------------------
Try optimizing the parameters ..
------ Solution --------------------
Maybe server problems,
------ Solution --------------------
Try clearing cache
------ Solution --------------------
How is the number of apache connections? Enough Bandwidth
------ Solution --------------------
First, check whether the problem is apache. Will the resolution of the url become slower? can it be better to restart the machine?
------ Solution --------------------
After the restart, everything works normally, indicating that there is no problem with apache or anything, and it slows down in a short time. This problem occurs. you are troubleshooting it slowly ,,,
This problem means it hurts...
------ Solution --------------------
Win or linux?
------ Solution --------------------
It really hurts...
------ Solution --------------------
Discussion
The website slows down and restarts apache normally. after the restart, it slows down again for a period of time. the cpu and memory of the server are both normal and rarely used. the ping response is also fast, generally over 10 ms, however, the website is slow to open. The most recent issue has occurred. could you please check the apache log if you don't want to answer the question, it is estimated that the problem occurs in that situation. if so, what will happen in the log .....

------ Solution --------------------
Is it related to the program? If the program is not well written, it will make apache very tired... Even if the traffic volume is small
------ Solution --------------------
Http://www.blogjava.net/itvincent/archive/2009/12/11/305522.html
------ Solution --------------------
Computer reasons ......

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.