rhel7: System hangs by CPU spinlocks when SELinux is permissive
Issue
The customer experiences system hangs when they set SELinux to permissive.
When they set SELinux to permissive, the issue occurs every time, and the uptimes are various. While the issue occurs, the host (VMware) tool shows that CPUs load is high.
We set SELinux to permissive and configure hung_task_panic.
# echo '1' > /proc/sys/kernel/hung_task_panic
Then we collected the output vmcore.
Environment
- Red Hat Enterprise Linux 7.2
- kernels between 3.10.0-327.10.1.el7 and 3.10.0-327.62.4.el7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.