High CPU utilization (%sys) due to the time spent in avtab_search_node() because of custom SELinux policy.

Solution Unverified - Updated -

Issue

  • High CPU utilization (%sys) observed in the system
12:00:02 AM     CPU     %user     %nice   %system   %iowait    %steal     %idle
12:10:01 AM     all     35.32      0.03     48.49      0.02      0.31     15.83
12:20:01 AM     all     34.86      0.03     48.66      0.03      0.35     16.07
12:30:02 AM     all     34.90      0.03     48.10      0.02      0.31     16.64
12:40:01 AM     all     34.94      0.03     48.08      0.03      0.33     16.60
12:50:01 AM     all     33.70      0.03     46.76      0.03      0.31     19.17
01:00:01 AM     all     34.65      0.03     47.73      0.03      0.32     17.24
01:10:01 AM     all     34.79      0.03     47.56      0.03      0.32     17.27
01:20:01 AM     all     34.99      0.03     47.96      0.03      0.34     16.65
01:30:02 AM     all     35.79      0.03     48.25      0.03      0.34     15.57
01:40:02 AM     all     34.06      0.03     48.08      0.02      0.32     17.48
01:50:02 AM     all     34.75      0.03     47.55      0.03      0.33     17.32
02:00:01 AM     all     34.52      0.03     47.51      0.03      0.32     17.60
02:10:01 AM     all     34.92      0.03     47.38      0.03      0.35     17.29
02:20:01 AM     all     34.71      0.03     46.94      0.02      0.32     17.98
02:30:01 AM     all     46.28      0.03     45.20      0.17      0.90      7.42
02:40:01 AM     all     38.95      0.03     47.90      0.02      0.34     12.76
02:50:01 AM     all     34.80      0.03     47.56      0.03      0.31     17.29
03:00:01 AM     all     34.79      0.03     47.20      0.03      0.31     17.64
03:10:01 AM     all     32.92      0.03     48.12      0.03      0.30     18.61
03:20:01 AM     all     34.76      0.09     47.05      0.08      0.34     17.68
03:30:01 AM     all     33.05      0.02     41.90      0.03      0.28     24.73
Average:        all     35.34      0.03     47.33      0.04      0.35     16.90

Environment

  • Red Hat Enterprise Linux 7.9
  • Custom SELinux policy

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