Home Backend Development PHP Tutorial 关于APACHE运行一段时间后会占100%CPU导致死机有关问题

关于APACHE运行一段时间后会占100%CPU导致死机有关问题

Jun 13, 2016 pm 01:40 PM
apache cpu gt internet windows

关于APACHE运行一段时间后会占100%CPU导致死机问题.
很久没有发帖了.

环境:WIN2003+apache2.0.59+mysql5+php4.4.4

情况:最近一段时间3天2头的死机,我现在查了很有可能是APACHE进程占100%CPU问题.查看进程发现有5,6个APACHE进程,运行一段时间后(10小时),会发现一个APACHE进程常占CPU50%,当再出现一个APACHE常占50%的时候系统就变得很慢了.

排除:由于开始认为可能会和黑冰冲突,所以卸载了黑冰.机器本身装了诺顿杀毒软件.IIS装了但是没有启动任何网站.

目前分析有几个方面:

1.是不是能排除诺顿冲突APACHE问题?

2.近期有会生成APACHE.EXE进程的病毒?

3.APACHE的这个版本是不是肯定有这个问题?

4.占CPU应该不属于APACHE内存泄漏BUG吧?


------解决方案--------------------
1.网上邻居-> 本地连接-> 属性-> internet协议(TCP/IP)-> 属性-> 高级-> wins标签-> 去掉启用LMhosts查询前的勾.
2.控制面版-> windows防火墙-> 高级标签-> 本地连接设置-> 服务的标签里勾选安全Web服务器(HTTPS)
------解决方案--------------------
不用装什么病毒吧,除非你是做虚拟主机
看看有没有程序错误,看下apache日志
------解决方案--------------------
apache 模块有错误,检查一下 httpd.conf 把不用的去掉吧
------解决方案--------------------
错误应用程序 Apache.exe,版本 2.0.59.200,错误模块 php4ts.dll,版本 4.4.4.4,错误地址 0x000ed919。
最好把php.ini也检查一下。把非必需的dll装载去掉看看。
------解决方案--------------------

1.网上邻居-> 本地连接-> 属性-> internet协议(TCP/IP)-> 属性-> 高级-> wins标签-> 去掉启用LMhosts查询前的勾.
2.控制面版-> windows防火墙-> 高级标签-> 本地连接设置-> 服务的标签里勾选安全Web服务器(HTTPS)



不知道这个方法有用没用?

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Roblox: Bubble Gum Simulator Infinity - How To Get And Use Royal Keys
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Nordhold: Fusion System, Explained
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Hot Topics

Java Tutorial
1664
14
PHP Tutorial
1269
29
C# Tutorial
1248
24
How to run sublime after writing the code How to run sublime after writing the code Apr 16, 2025 am 08:51 AM

There are six ways to run code in Sublime: through hotkeys, menus, build systems, command lines, set default build systems, and custom build commands, and run individual files/projects by right-clicking on projects/files. The build system availability depends on the installation of Sublime Text.

How to solve complex BelongsToThrough relationship problem in Laravel? Use Composer! How to solve complex BelongsToThrough relationship problem in Laravel? Use Composer! Apr 17, 2025 pm 09:54 PM

In Laravel development, dealing with complex model relationships has always been a challenge, especially when it comes to multi-level BelongsToThrough relationships. Recently, I encountered this problem in a project dealing with a multi-level model relationship, where traditional HasManyThrough relationships fail to meet the needs, resulting in data queries becoming complex and inefficient. After some exploration, I found the library staudenmeir/belongs-to-through, which easily installed and solved my troubles through Composer.

laravel installation code laravel installation code Apr 18, 2025 pm 12:30 PM

To install Laravel, follow these steps in sequence: Install Composer (for macOS/Linux and Windows) Install Laravel Installer Create a new project Start Service Access Application (URL: http://127.0.0.1:8000) Set up the database connection (if required)

git software installation git software installation Apr 17, 2025 am 11:57 AM

Installing Git software includes the following steps: Download the installation package and run the installation package to verify the installation configuration Git installation Git Bash (Windows only)

Can vscode be used on mac Can vscode be used on mac Apr 15, 2025 pm 07:45 PM

VS Code performs well on macOS and can improve development efficiency. The installation and configuration steps include: installing VS Code and configuring. Install language-specific extensions (such as ESLint for JavaScript). Install the extensions carefully to avoid excessive startup slowing down. Learn basic features such as Git integration, terminal and debugger. Set the appropriate theme and code fonts. Note potential issues: extended compatibility, file permissions, etc.

vscode sets the header file path vscode sets the header file path Apr 15, 2025 pm 09:24 PM

To set the header file path in Visual Studio Code, open the User Settings panel, add the path in the Include Path field, and click the Save button. Example: { "includePath": ["/path/to/header1", "/path/to/header2"] }.

What is git software for? How to use git software? What is git software for? How to use git software? Apr 17, 2025 pm 12:09 PM

Git is a distributed version control system designed to track code changes and allow collaborative development. It enables developers to document project evolution, manage code merges, and maintain project history in an efficient and secure way. Through Git's distributed architecture, each developer has a complete copy of the project and performs common version control operations without communicating with a central server.

git software installation tutorial git software installation tutorial Apr 17, 2025 pm 12:06 PM

Git Software Installation Guide: Visit the official Git website to download the installer for Windows, MacOS, or Linux. Run the installer and follow the prompts. Configure Git: Set username, email, and select a text editor. For Windows users, configure the Git Bash environment.

See all articles