About the problem that APACHE will occupy 100% of the CPU after running for a period of time, leading to crashes-php Tutorial

Source: Internet
Author: User
After running APACHE for a period of time, it will occupy 100% of the CPU, causing a crash. I haven't posted a post for a long time. environment: WIN2003 + apache2.0.59 + mysql5 + php4.4: two crashes in the last three days. I have checked that APACHE processes account for 100% of the CPU. check that there are 5 or 6 APACHE processes. after running for a period of time (10 hours), you will find that an APACHE running for a period of time will occupy 100% of the CPU, leading to a crash.
I haven't posted a post for a long time.

Environment: WIN2003 + apache2.0.59 + mysql5 + php4.4.4

Situation: two crashes in the last three days. I have checked that APACHE processes account for 100% of the CPU. check that there are 5 or 6 APACHE processes. after running for a period of time (10 hours), an APACHE process usually occupies 50% of the CPU, the system becomes very slow when APACHE accounts for 50% again.

Excluded: The machine is installed with the Norton anti-virus software. IIS is installed, but no website is started.

The current analysis includes the following aspects:

1. can I exclude the Norton conflict with APACHE?

2. is there a virus that will generate the APACHE. EXE process in the near future?

3. is there a certain problem with this APACHE version?

4. shouldn't CPU usage be due to APACHE memory leakage BUG?


------ Solution --------------------
1. select "network neighbor"> "local connection"> "properties"> "internet Protocol" (TCP/IP)> "properties"> "advanced"> "wins tag"> remove the check box before enabling the LMhosts query.
2. select "control panel"> "windows Firewall"> "Advanced tab"> "local connection settings"> "service", and select "secure Web server (HTTPS)
------ Solution --------------------
You don't need to install any viruses unless you are a virtual host.
Check if there are any program errors. check apache logs.
------ Solution --------------------
There is an error in the apache Module. check httpd. conf and remove unnecessary ones.
------ Solution --------------------
Error application Apache.exe, version 2.0.59.200, error module php4ts. dll, version 4.4.4.4, error address 0x000ed919.
You 'd better check php. ini. Remove unnecessary dll loads.
------ Solution --------------------

1. select "network neighbor"> "local connection"> "properties"> "internet Protocol" (TCP/IP)> "properties"> "advanced"> "wins tag"> remove the check box before enabling the LMhosts query.
2. select "control panel"> "windows Firewall"> "Advanced tab"> "local connection settings"> "service", and select "secure Web server (HTTPS)



I don't know whether this method is useful or not?

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.