Verifying real-time scheduling

Verify that real-time scheduling is operating without problems.

On Red Hat® Enterprise Linux® 8 (RHEL 8) the insights-client service is installed by default. It might prevent processes from using real-time scheduling. Other services or configuration issues might also prevent IBM® Safer Payments from using real-time thread priorities.

Verify whether your system has issues setting real-time thread priorities. If so, take steps to correct it.
  1. After basic configuration is finished, go to Administration > System > Configuration > System > Prioritisation Settings.
  2. If you cannot change priority values to values higher than normal, go to step 4.
  3. After the configuration is finished, go to the logs. Check for the following log message. If it exists or appears later, go to step 4.
    E  0288  Cannot set
              thread priority of [priority_level] because of: Operation not permitted (to enable IBM
              Safer Payments to perform priority based thread scheduling, you must add the line ' -
              rtprio 20' to the file '/etc/security/limits.conf'
  4. The issue affects your system.

    Check whether the insights-client affects your system. For more information, see Insights-client may prevent process to acquire real-time scheduling.

    If the problem persists, check whether other services or configuration issues might be preventing IBM Safer Payments from using real-time thread priorities.

    For more information, see How to configure a RHEL 7 or RHEL 8 system to be able to run programs requiring Real-Time Scheduling . It describes other configuration options, including how to put the IBM Safer Payments service in its own slice and cgroup.