Server is getting hung with many small commands e.g. echo, ls showing 99% CPU utilization

Solution Verified - Updated -

Issue

  • Server is frequently getting hung with many small commands e.g. echo, ls showing 99% CPU utilization

    USER        PID   PPID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
    abc   6797   6736 99.8  0.0   9104   388 pts/474  R+   13:52   4:40 sh -c test -e obj/1.gif
    root       7103   7097 99.7  0.0   9100   380 ?        R    13:53   3:55 /bin/sh -c AUTO_JOB_PID=7103
    root       8013   9405 99.7  0.0  12532  1000 ?        Rs   13:53   3:10 in.telnetd: 192.168.0.2
    root       8159   8104 99.6  0.0   9100   380 ?        R    13:54   2:54 /bin/sh -c AUTO_JOB_PID=8
    xyz     8255   8247 99.9  0.0   9104   388 ?        R    13:54   2:35 sh -c echo -n  >TEMP/xyz.txt
    abc  10213  10203 97.8  0.0   9104   384 pts/794  R+   13:56   0:35 sh -c touch file123
    [...]
    

Environment

  • Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content