Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We have an Amazon EC2 instance which is firing off a High CPU alert once a day. It happens at exactly the same time every single day.

In looking at the cpu utilization history I see one spike that occurs at either 6:09, 6:14, 6:19 or 6:24 each day - only 1, but over the past 2 weeks that spike has rotated through those moments.

A second spike occurs at 8:59; this second one causes the alarm and is ALWAYS at 8:59.

How can I figure out what's going on?

The server is a web server running a .net application. There are no services installed other than what comes with Windows. There are no jobs firing from other parts of the system that hit this machine.

share|improve this question
    
Is it the free tier micro instance? in this case the CPU is share between more VMs and you can get CPU performance issues. –  POLLOX May 20 at 9:19

2 Answers 2

up vote 2 down vote accepted
+100

Use perfmon (Windows Performance Monitor) to log All Instances of the counter Process\% Processor Time. Set it to log during the time frames you are experiencing alerts, and then review the data to determine the process spiking during those timeframes.

Possible dupe of: http://stackoverflow.com/questions/69332/tracking-cpu-and-memory-usage-per-process

share|improve this answer
    
Another important parameters in the CPU performance are: Processor\% Interrupt Time System\Processor Queue Length –  POLLOX May 20 at 9:17
    
I'm accepting this as it will likely lead to an explanation for someone else. However, I wanted to verify the server this alarm corresponded to. After going through all of our instances (4) none of them are associated with this alarm. An older instance that we had terminated used to be tied to it so I'm guessing it's just bad data. –  Chris Lively May 20 at 13:57

Try Sysyinternal Process Monitor to inspect real time activity.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.