locked
SharePoint w3p.exe IIS Process Details RRS feed

  • Question

  • w3p.exe at some point starts to consume all the available memory

    Is it possible to debug what solutions, subprocess is the cause?

    Tuesday, September 10, 2013 2:12 PM

Answers

  • Hi,

    The IIS Debug Diagnostics Tool can help track down CPU and memory issues from a worker process. Microsoft has a nice kb article that goes over the basics as well: http://support.microsoft.com/kb/919791

    1. Install the IIS Debug Diagnostics locally on the system.

    2. Open the Debug Diagnostics Tool under Start > Programs > IIS Diagnostics > Debug Diagnostics Tool > Debug Diagnostics Tool.

    3. Click Tools > Options And Settings > Performance Log tab. Select the Enable Performance Counter Data Logging option. Click OK.

    4. Use task manager to find the PID of the worker process.

    5. Select the Processes tab and find the process in the list.

    6. Right-click on the process and select Create Full Userdump. This will take a few minutes and a box will pop-up giving you the path to the dump file.

    7. Select the Advanced Analysis tab and click the Add Data Files button. Browse to the dump file that was jump created and click OK.

    8. Select Crash/Hang Analyzers from the Available Analysis Scripts box for CPU Performance and crash analysis. Click Start Analysis.

    After a few minutes, a report should be generated containing stack trace information as well as information about any requests executing for longer than 90 seconds. Note that the memory dump with use a few hundred megabytes of space, so be sure to install the tool on a drive with sufficient debugging space. Also, if the box is under heavy load, you can create the user dump on the system, copy the file to your workstation, and perform the analysis locally.

    Best Regards

    Dennis Guo
    TechNet Community Support

    Wednesday, September 11, 2013 6:55 AM