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 article Article
IIS insider
.. you can enable CPU monitoring in IIS 6 (as shown below ), CPU monitoring can be used to control the CPU usage of the Program pool.
.. real CPU usage control can be achieved through the Windows Services Resource Manager (wsrm) attached to Windows Server 2003 Enterprise Edition. This outstanding feature not only allows you to limit the CPU usage of any application to a predefined quantity, but also allows you to schedule such restrictions and specify these limits for specific users and groups.
the problem persists.
you have to write a script to restart IIS regularly. is there any better way?