Uploaded image for project: 'Red Hat Advanced Cluster Security'
  1. Red Hat Advanced Cluster Security
  2. ROX-32798

Sensor uses a lot of memory, even after disabling deleted entities history

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • 4.9.2
    • Sensor
    • None
    • Incidents & Support
    • False
    • Hide

      None

      Show
      None
    • False
    • Rox Sprint 4.11A, Rox Sprint 4.11B, Rox Sprint 4.11C

      Sensor pod keeps getting OOMKilled despite memory limit has been increased up to 64Gb:

      $ oc get SecuredCluster -o yaml
      
      [...]
      spec:
        sensor:
          resources:
            limits:
              cpu: "4"
              memory: 64Gi
      

      and entity history retention disabled:

      $ oc get SecuredCluster -o yaml
      
      [...]
      spec:
        customize:
          envVars:
            - name: ROX_PAST_CLUSTER_ENTITIES_MEMORY_SIZE
              value: 0
      

      Furthermore, sensor logs have a very high number of these warnings:

      Warn: The same pod IP xxx belongs to 2 or more deployments
      

              prygiels@redhat.com Piotr Rygielski
              rhn-support-dcommiss Domenico Commisso
              ACS Sensor & Ecosystem
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: