Solved

Finding cause of memory and CPU spike

Posted on 2010-11-26
5
711 Views
Last Modified: 2013-11-10
Hi

We have an application running on a Win 2003 server. Occasionally, if I am starting the app, I can see the memory and cpu utilization spiking in Perfmon.

Is there any way I can tell which process is causing this and what I need to do? I guess it may not be simple as needing more memory, there could be a bottleneck elswhere?
0
Comment
Question by:bruce_77
5 Comments
 
LVL 4

Expert Comment

by:delyan_valchev
ID: 34216215
Hi Bruce,
You can get much more detailed performance statistics by using ETW (Event Tracing for Windows) and xperf tool. There are lots of resources out there about troubleshooting performance issues with xperf. Here is a good start:
http://www.windowsitpro.com/article/performance/examining-xperf.aspx
You can also consider using the SysInternals' Process Monitor to see what exactly a specific process is doing.

Hope it helps!
0
 
LVL 2

Author Comment

by:bruce_77
ID: 34219048
Thanks, will check that out.

Out of interest - from just using Permon and Task Manager,  is it possible to find out which process is taking up memory?
0
 
LVL 19

Accepted Solution

by:
deroode earned 167 total points
ID: 34221453
Try Process explorer from Microsoft: it will tell you exactly how much memory and CPU each process uses.

http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx

Make sure that in the View - Select colums you select Working set and Peak working set, and CPU history.
0
 
LVL 4

Assisted Solution

by:delyan_valchev
delyan_valchev earned 167 total points
ID: 34222806
There is a fantastic two-part recorded session from PDC 10 of Mark Russinovich explaining the memory management in Windows here:
Part 1 - http://player.microsoftpdc.com/Session/1689962d-dea2-48bd-80d8-96e954fa5329
Part 2 - http://player.microsoftpdc.com/Session/1c97b279-d7e3-4a3e-9a76-0dac23dfddb5
He explains all the different memory related fields in both Task Manager and Process Explorers and will help you understand what to monitor and what exact memory is leaking.

Hope it helps!
0
 
LVL 34

Assisted Solution

by:Michael-Best
Michael-Best earned 166 total points
ID: 34225198
Process Monitor is an advanced monitoring tool for Windows that shows real-time file system.
Process Monitor 2.93
It combines the features of two legacy Sysinternals utilities, Filemon and Regmon.

http://fileforum.betanews.com/detail/Process-Monitor/1173372607/1
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Hello It is a very old trick to use a ram disk in order to boost PC performances, in the past, when in home environments the fastest common devices were floppy disks a part of the very small ram memory available was used to create a virtual hard …
Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now