Using the ANTS Performance profiler&ants memory Profiler tool to analyze the IIS process with high CPU consumption

Source: Internet
Author: User
Tags server memory

First, preface

In recent times, there have been two problems with websites:

1. Memory usage increases slightly until the server memory fills up.

2. When you visit a page, the page responds too slowly and the CPU stays high.

An initial estimate of memory growth may be due to the fact that there are unsaved resources that are taking up memory, and that the CPU is high probably because of the time-consuming operations performed.

Here we use the Ants Performance Profiler and the Ants Memory Profiler to analyze the specific cause.

--------------------------------------------------------

Tools: ANTS Performance Profiler 8 installation package + Activation Tools + Tutorials

Official Document: Https://documentation.red-gate.com/dashboard.action

It is important to note that there will be two tools when the installation is complete, such as:

Second, the CPU analysis

We open the Memory analysis tool as follows:

Click the new Profiling session button:

Clicking the Start Profiling button results in the following:

The method of authorization is the most time-consuming and most frequently requested method, and for this phenomenon we can put the user's permissions in the session to reduce the number of connections to the database, thereby improving performance

Through analysis we can find the most time-consuming method, the most time-consuming request URL, the most time-consuming SQL statement, through which we can easily find the program's performance short board, thus targeted to optimize

Three, memory analysis

To start the Memory analysis tool:

Clicking the Start Profiling button results in the following:

By clicking on the class list, we can see which types of data occupy the highest memory:

Click on the circled area as follows:

Double hit the green bar, the result is as follows:

Enlarge the map to a green place the result is as follows:

Through the above method, we can find out the areas needing improvement, targeted optimization

Source: Http://www.cnblogs.com/eggTwo/p/6090245.html?utm_source=itdadao&utm_medium=referral

Using the ANTS Performance profiler&ants memory Profiler tool to analyze the IIS process with high CPU consumption

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.