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

  • Question

  • 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.

    Tuesday, July 8, 2014 10:51 AM

Answers

  • 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 5, 2014 1:07 PM
    Tuesday, July 22, 2014 4:23 PM

All replies

  • 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.


    MCP/MCSA/MCTS/MCITP

    Tuesday, July 8, 2014 3:20 PM
  • 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.

    Wednesday, July 9, 2014 10:54 AM
  • 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.


    Friday, July 11, 2014 4:12 AM
  • 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


    MCP/MCSA/MCTS/MCITP

    Monday, July 14, 2014 8:39 AM
  • 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.

    Tuesday, July 22, 2014 6:37 AM
  • Thanks I will try to apply above diagnose, and I will let you know.
    Saturday, August 2, 2014 7:07 AM
  • Saturday, August 2, 2014 7:12 AM