关于APACHE运行一段时间后会占100%CPU导致死机有关问题
关于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)
不知道这个方法有用没用?

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

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

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics











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.

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.

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)

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)

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.

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"] }.

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 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.
