foreman_openscap_client takes a lot of memory and freezes the system or OOM kills the process on Red Hat Satellite 6.

Solution Verified - Updated -

Issue

  • foreman_openscap_client takes a lot of memory and freezes the system or OOM kills the process and the results.xml file failed to upload to the Red Hat Satellite with below error:

    # /usr/bin/foreman_scap_client ds x
    DEBUG: running: oscap xccdf eval  --local-files /root --profile xccdf_org.ssgproject.content_profile_cis_customized --tailoring-file /var/lib/openscap/tailoring/tailoring-xccdf.xml --results-arf /tmp/d20250115-3455464-3w3wy4/results.xml /var/lib/openscap/content/ssg-rhel9-ds.xml
    WARNING: Data stream component 'scap_org.open-scap_cref_security-data-oval-v2-RHEL9-rhel-9.oval.xml.bz2' points out to the remote 'https://access.redhat.com/security/data/oval/v2/RHEL9/rhel-9.oval.xml.bz2'. The option --local-files '/root' has been provided, but the file '/root/security-data-oval-v2-RHEL9-rhel-9.oval.xml.bz2' can't be used locally: No such file or directory.
    WARNING: Skipping ./security-data-oval-v2-RHEL9-rhel-9.oval.xml.bz2 file which is referenced from XCCDF content
    DEBUG: running: /usr/bin/env bzip2 /tmp/d20250115-3455464-3w3wy4/results.xml
    Uploading results to https://satellite.example.com:9090/compliance/arf/9
    Could not parse document
    Upload failed: 500 "Internal Server Error"
    

Environment

  • Red Hat Satellite 6
  • Red Hat Enterprise Linux Server 7
  • Red Hat Enterprise Linux Server 8
  • Red Hat Enterprise Linux Server 9

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