shoppinit
January 16th, 2010, 11:10 AM
Hi,
I hope this is the right place to post my problem. My VS data aquisition program is running on a quad core intel PC running XP pro SP3. Almost nothing else is running other than system processes. Occasionally - say 1 to 4 times a day - the PC will appear to freeze up. I say appear, because the system isn't frozen, but just extremely slow to respond. Last time I was able to start task manager (took 3 minutes to display the window) and 2 of my cores are at about 100% and the other 2 at about 60%.
Task manager is reporting ~80% CPU usage, but System Idle Process is showing ~75%. This clearly doesn't make any sense.
I initially thought that I had written a while(1) into my code somewhere, but when killed my processes from task manager the problem remained. I then killed as many system processes as I was allowed to without any luck... A reboot sets everything straight, but I would really like to get to the bottom of this problem.
I'm wondering if somehow I have some kind of "thread leak". i don't even know if that is possible. I've checked all the thread creations and destructions in my code and nothing seems remotely dangerous. My fear is that one of my 3rd party APIs is to blame.
I'm even starting to wonder if this problem isn't heat related, so I must be desperate!
Can anyone suggest some way of starting to pinpoint the problem? Any suggestions gratefully received.
Thanks.
I hope this is the right place to post my problem. My VS data aquisition program is running on a quad core intel PC running XP pro SP3. Almost nothing else is running other than system processes. Occasionally - say 1 to 4 times a day - the PC will appear to freeze up. I say appear, because the system isn't frozen, but just extremely slow to respond. Last time I was able to start task manager (took 3 minutes to display the window) and 2 of my cores are at about 100% and the other 2 at about 60%.
Task manager is reporting ~80% CPU usage, but System Idle Process is showing ~75%. This clearly doesn't make any sense.
I initially thought that I had written a while(1) into my code somewhere, but when killed my processes from task manager the problem remained. I then killed as many system processes as I was allowed to without any luck... A reboot sets everything straight, but I would really like to get to the bottom of this problem.
I'm wondering if somehow I have some kind of "thread leak". i don't even know if that is possible. I've checked all the thread creations and destructions in my code and nothing seems remotely dangerous. My fear is that one of my 3rd party APIs is to blame.
I'm even starting to wonder if this problem isn't heat related, so I must be desperate!
Can anyone suggest some way of starting to pinpoint the problem? Any suggestions gratefully received.
Thanks.