CPU utilization goes from 10% to 100% gradually over ~60mins of use
Posted on 2004-09-19
I have a CPU creep problem in my application and don't know how to troubleshoot it. What happens is I will start up the app and turn on perfmon looking specifically at the CPU utilization of the application process and thread count. The app will start off using about 10% CPU and 8-10 threads. It gradually increases its load on the CPU and thread consumption over the course of about 60 mins after which time it is using 100% CPU and 60 threads. I have to suspect that this is some how related to the multithreading but have no idea how to look at what part of the app is causing the CPU creep. This is my first serious multithreaded app and i'm really at a loss. I will award points for ideas about how to investigate the problem because it doesn't seem likely that anyone will be able to tell me what line of code is causing the problem... ;-) Thanks!