Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-103778

cockpit-bridge path watch (inotify) memory leak

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • rhel-9.7
    • rhel-9.6
    • cockpit
    • None
    • No
    • Moderate
    • ZStream
    • 1
    • rhel-cockpit
    • 3
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • 25Q3 - July/16
    • Regression Exception
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      This may be related to RHEL-103753 but unsure at this point.

      When login in as root in cockpit then going to "File Browser", /root directory, starting to strace cockpit-bridge leads to consuming GBs of memory in a few seconds.
      See screenshots.

      Reproducer

      It's very easy to reproduce using "File browser", as root.

      1. Login in cockpit as root and go to File Browser (shows /root)
      2. From a shell outside of cockpit or through "Terminal", start stracing cockpit-bridge
        # strace -fttTvyy -s 256 -o cockpit-bridge.strace -p $(pgrep cockpit-bridge)

      Result

      100% CPU consumption (50% for cockpit-bridge and 50% for strace) and huge amount of memory being consumed, growing rapidly.

              rhn-engineering-mpitt Martin Pitt
              rhn-support-rmetrich Renaud Métrich
              RH Bugzilla Integration RH Bugzilla Integration
              Jan Scotka Jan Scotka
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated: