W3WP consuming lot of memory.

Siva Ambati 0 Reputation points
2024-02-27T11:36:48.8333333+00:00

Having a problem on web server W3WP consuming lot of memory. We host 8 applications on a single server. Initially we use to have all 8 app using same app pool. noticed high CPU utilization, upon the recommendation we have separated the app pools. Now each app has its own app pool. CPU is constant. however the memory utilization is going beyond 80% Tried applying the recycling for every 4 hrs, no change Specs: Windows Server 2016 64 bit, 8 GB RAM AMD EPYC 7571 2.20 Ghz here are couple of setting which i could see Total paging file size for all drivers min allowed - 16 MB Recommended - 1909 MB Current Allocated - 9391 MB

Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,484 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MotoX80 33,376 Reputation points
    2024-02-27T21:47:17.4066667+00:00

    You will need to work with your application developers to figure out what their code is doing.

    See this post.

    https://learn.microsoft.com/en-us/answers/questions/1468684/high-cpu-usage-about-w3wp-exe

    Look at the screen images for "On a running system. monitor currently executing requests". You will need to use the IIS management console to see if you have long running HTTP requests. Show that to your programmers and ask them to investigate the page.

    You should also examine your IIS logs and look for errors and also at the Time-Taken field for long running requests.

    If you can't find the root cause, then you next best bet is get a memory dump of the w3wp.exe process and analyze it with DebugDiag. You do not have to install DebugDiag on your web server, but it should be installed on a machine that has access to the internet so that the debug symbols can be downloaded from Microsoft.

    https://www.bing.com/search?pglt=41&q=how+to+use+debug+diag+to+troubleshoot+a+memory+leak

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.