Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Windows CPU notification for misbehaving ColdFusion application

Tags:

I have a web application, written in ColdFusion, which periodically starts using 100% of the server's CPU and crashes the ColdFusion service.

Since I have been unable to reproduce the problem myself, I'd like to find a utility which will notify me by email when the CPU usage begins to climb, so I can hop on the server, look at FusionReactor to see what's going on, and identify the misbehaving code.

I have Googled and have been unable to find a suitable utility, so I thought I'd ask whether other programmers have found a tool which can do this kind of monitoring. Given the specifics of my needs, I'd prefer not to write my own monitoring tool.

If you have other suggestions for approaching the overall problem, I'd love to hear those also.

Responses to answers:

Using Windows perfmon to trigger a command line sounds promising. Can anyone point me to a tutorial on how to do that?

We don't have a monitoring system that is set up to receive SNMP traps.

We're running ColdFusion 8 Standard Edition, which doesn't include the ColdFusion performance monitoring tools-- only Enterprise includes those.

Peter Boughton's answer will probably enable me to solve the problem, but it doesn't help me address the problem proactively as CPU starts to spike, so I'm still looking for a notification solution.