High processor on IIS sites

I have a web server with 10 mvc sites that I created. All sites "link" to the same code in the folder. Thus, all 10 sites operate on the same code. This is done in different languages ​​on the site.

My problem is that 1 site is working to use 40-60% of the processor in a few minutes. Then it falls, and other sites grow in the CPU. Typically, sites use 300 MB in the w3wp process, but sometimes it rises to 8-900 MB!

It stores 20 GB of memory, 18.9. There is also a SQL server that takes up 13 GB.

A site is an MVC 3 site. Uses SQL data caching.

Each site has its own pool.

I know his very vague question. But can anyone see any obvious problems with this setting?

Why does the processor periodically rise?

On sites about 100-150 users.

Any ideas or thoughts would be greatly appreciated.

+4
source share
1 answer

CPU usage is the result of a web application, so application developers know better where the problem is. If application developers are not “proprietary”, you, as an administrator, will have to find a problem in the configuration (less likely) or in the application (most likely, in my opinion).

Since Microsoft’s IIS NEED , such as IIS Tracer , debugging high CPU usage with DebugDiag and Friends requires a lot of knowledge and effort.

Here is one good article on how to fix high CPU usage issues.

Do you use caching for your web applications?

OutputCache duration="180" varybyparam="*" 

Sorry if this is not useful, but I am an administrator, and when the IIS server has a high level of CPU usage in a 95% problem, these are problems with bad SQL queries or poor programming, which we fix after analyzing the source code ,

+3
source

Source: https://habr.com/ru/post/1443032/


All Articles