Why does the system seem unresponsive when running a process at real-time priority?

Solution Verified - Updated -

Issue

  • Running the following command, causes the system to become unresponsive
# taskset -c 1 chrt -f 40 ./test_prog

Note: The following is a sample "test_prog" program

int
main(int argc,char * argv[])
{
  while(1) {}
  return(0);
}
  • Server was hung, RCA required.
  • We have "freeze" on the server and have a vmcore, need help to identify the root cause of this crash.

Environment

  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise MRG

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