Problem: - 100% CPU is consuming because of an exe program

Problem: -   100% CPU is consuming because of an exe program

.

Environment: -

Operating System           : - Windows Server 2008 R2 Datacenter

 Service Pack 1

Processor                        : - Intel(R) Xenon(R) CPU E5-2670 v2 @ 2.50 GHz 2.50 GHz

Installed memory (RAM): - 3.75 GB

System type                   : - 64 bit Operating System

.

Exe Description: - Exe belongs to OCR Engine. We are using Tesseract OCR engine for developing application. It is working for almost thousand machines properly. Exe is capable to OCR images (Using tiff).  We are using 32 bit Tesseract exe.

http://code.google.com/p/tesseract-ocr/downloads/detail?name=tesseract-ocr-setup-3.02.02.exe&

.

Problem Description: - We have developed a component which can extract different kind of document ext and for tiff images, we have used Tesseract exe.  

While processing through an application program we process a tiff file through Tesseract exe and it is taking more time to complete process as compare to any other machine and many times  or continuously; I have seen that CPU is reaching up to 100% and user is not able to do anything. Machine becomes in hang mode.

.

Already Attempt: -

I) I tried to extract same series of document from another same kind of machine and I found that another machine is working absolutely fine.

II) I tried to debug program on problem machine; I found that it is taking more time to process a tiff file as compare to any other machine. Then I found that more than one exe is in Task Manager Program and each one is having 87 to 90 percent use of CPU.

III) - It think, because exe is taking more  time to process and on that time CPU becomes 100 % and when it goes to extract again for  another tiff document system hang,  because earlier exe is still in process.

.

Because program is running successfully in many machines and problem is coming from a single machine, so we are not able to find out exact root cause. Maybe it relates to Windows Program/Windows Patch/ Anything Else.

.

As this issue is coming on client side and it has become critical to find the solution. So kindly let us know possible solution for the problem.

.

For any kind of input which can assist us to resolve the issue. I will be really thankful.

July 8th, 2014 1:51pm

Hi,

troubleshooting application performance can be very hard.

i would recommend starting by gathering some information on the system. With perfmon verify if you are running into resource depletion (high cpu usage, low on memory, disk queu high.) try to find culprit processes using process explorer (or taks manager).

Please note that a cpu hitting 100% is normal behaviour. it indicates it is being used. if it keeps on 100%, this ususally tells us the cpu is the bottleneck. If the issue does not appear in a similar configuration, it also might be the computer needs to do more work due to underlying stuff like antivirus scanning, disk IO slow, outdated drivers,...

CPU's have very different raw performance depending on type and generation. Check the hardware installed, check it matches with  other test systems. Check what other processes arer running too.

Free Windows Admin Tool Kit Click here and download it now
July 8th, 2014 6:20pm

It is only tesseract.exe which is taking 100% CPU during process but it is not releasing after completing the process and same time another tesseract.exe is launching.

And this process is continuing.

After sometimes it happens that some tesseract.exe files are removing from process. But system hang on that time and user is not able to do anything.

July 9th, 2014 1:54pm

It is only tesseract.exe which is taking 100% CPU during process but it is not releasing after completing the process and same time another tesseract.exe is launching.

And this process is continuing.

After sometimes it happens that some tesseract.exe files are removing from process. But system hang on that time and user is not able to do anything.


Free Windows Admin Tool Kit Click here and download it now
July 11th, 2014 7:12am

Hi,

tesseract is an OCR solution,right? OCR can be pretty CPU intensive.

If you suspsect the application is misbehaving, I would also recommend you to contact the application developer/vendor for support.

kind regards,

Senne

July 14th, 2014 11:39am

Thanks, yes tesseract is an OCR solution. It is working fine in many machine, and having problem on particular machine. What are steps; I should take for resolving the issue.

Free Windows Admin Tool Kit Click here and download it now
July 22nd, 2014 9:37am

Well if you prefer, there are two easy steps:

Step1. Reformat the failing machine; install/reimage Windows

Step 2. Reinstall application software.

If this won't help: replace the failing machine. Optionally - try to diagnose it, using RAM test (provided with Windows) and disks test (provided by the disks manufacturer).

Good luck...

-- pa

  • Marked as answer by S.P Singh Tuesday, August 05, 2014 1:07 PM
July 22nd, 2014 7:23pm

Well if you prefer, there are two easy steps:

Step1. Reformat the failing machine; install/reimage Windows

Step 2. Reinstall application software.

If this won't help: replace the failing machine. Optionally - try to diagnose it, using RAM test (provided with Windows) and disks test (provided by the disks manufacturer).

Good luck...

-- pa

  • Marked as answer by S.P Singh Tuesday, August 05, 2014 1:07 PM
Free Windows Admin Tool Kit Click here and download it now
July 22nd, 2014 7:23pm

Well if you prefer, there are two easy steps:

Step1. Reformat the failing machine; install/reimage Windows

Step 2. Reinstall application software.

If this won't help: replace the failing machine. Optionally - try to diagnose it, using RAM test (provided with Windows) and disks test (provided by the disks manufacturer).

Good luck...

-- pa

  • Marked as answer by S.P Singh Tuesday, August 05, 2014 1:07 PM
July 22nd, 2014 7:23pm

Thanks I will try to apply above diagnose, and I will let you know.
Free Windows Admin Tool Kit Click here and download it now
August 2nd, 2014 10:07am

I am following 

http://windows.microsoft.com/en-us/windows7/diagnosing-memory-problems-on-your-computer link for RAM diagnose (mdsched.exe)


August 2nd, 2014 10:12am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics