Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-11721

"search-postgres" grows very large on RHACM clusters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • ACM 2.9.3, ACM 2.11.2
    • Search
    • 5
    • False
    • None
    • False
    • Search Sprint 2024-22, Search Sprint 2024-23
    • Important
    • No

      Description of problem:

      We have observed at least two occurrences of an issue where the "search-postgres" database is growing very large:

      Customer is reporting that in one case, the database for 13 managed clusters grew to more than 50GiB in size. However the database is only roughly 400MB:

      >>> POSTGRESQL Database size:
      
        datname  | pg_size_pretty 
      -----------+----------------
       search    | 403 MB
       postgres  | 7753 kB
       template1 | 7753 kB
       template0 | 7753 kB
      (4 rows)

      The root cause is unclear at the moment.

      Version-Release number of selected component (if applicable):

      Red Hat Advanced Cluster Management for Kubernetes 2.9

      How reproducible:

      Always on customer side

      Steps to Reproduce:

      1. Unknown how to reproduce the issue, we are seeing two occurrences at customers

      Actual results:

      For a small amount of clusters (<15), the database grows to around 50GB - 90GB.

      Expected results:

      For example, 20GiB might be sufficient for about 200 managed clusters.

      Additional info:

              rh-ee-smcavey Spencer McAvey
              rhn-support-skrenger Simon Krenger
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated: