We help IT Professionals succeed at work.

cpu is very high in OPT Devices

Good Day

we are working on OPT device for Petroleum   Stations and we are facing a problem that the CPU is very high in sometimes not always while we leave it open for two or three days

we have heartbeat thread enabled all the time

any suggestion?
Comment
Watch Question

Distinguished Expert 2019

Commented:
you need to expand upon this as we are not mind readers here. you are designing a device that does something.. and only by tracing the cpu usage using a debugger or for instance Telerik trace tools can you determine where the problem is.. you may have created a race condition in your software or one of a myriad of other problems.
Kamal KhaleefaInformation Security Specialist

Author

Commented:
Thanks for your reply

sorry for not clearing my question.

let me ask it in another way
How i can troubleshoot high CPU usage of a program.

i have developed one windows application and deploy it to one machine.

and that machine shows high cpu usage of our windows application

Thanks
Iain MacMillanIT Regional Manager - UK
Commented:
you could use an app like Process Explorer, which is a bit like Task Manager on steroids.  Will break down everything that is running on your windows system and tell you all the resources being used.  This should tell you if its just your app using high CPU, or your app causing the high CPU via another function such as IIS, .Net etc

Also does your app have any dependant requirements, like versions of MS C++ or .Net, OS updates etc.

https://technet.microsoft.com/en-gb/sysinternals/bb896653.aspx
Distinguished Expert 2019
Commented:
procmon/task manager doesn't go deep enough.. you need a debugging tool i.e. windows debug / visual studio debugger / telerik trace tools and it gets long and involved.. you can however have procmon generate a dump file when your program reaches a certain condition.. it is then up to you to analyse the dump.
Kamal KhaleefaInformation Security Specialist

Author

Commented:
thanks alot