The CPU usage of IIS 6 processes is 50%. After a period of time, the website will collapse. How can this problem be solved?
Hardware configuration: Xeon dual-core 3.4 GB + 2 GB memory
Software Configuration: win2003 Enterprise Server + IIS 6
Symptoms: frequent occurrence of "is 6 process CPU usage 50%, after a period of time, the website collapsed"
Solution:
1. The reason for memory is exclusive.
How to handle outofmemoryexception?
Outofmemoryexception in ASP. NET
Introduction to the 4 gb ram optimization function and physical address extension Switch
2 CPU control is invalid,
Read this articleArticle
IIS insider
.. You can enable CPU monitoring in IIS 6 (as shown below ).ProgramThe CPU usage of the pool is limited.
..
Real CPU usage control can be achieved through the Windows Server 2003 Enterprise Edition
Services Resource Manager (wsrm. This outstanding feature not only allows you to change any application to the CPU
You can also set the limits and specify these limits for specific users and groups.
However, the problem still cannot be solved.
I had to write scripts to restart IIS on a regular basis,Is there any better way?