Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-60311

cbcollect is leaving behind 'kv_trace.json & systemd_journal.gz' files under /tmp dir

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 7.6.0
    • 7.6.0
    • ns_server
    • 7.6.0-1980
      Debian GNU/Linux 11 (bullseye)
    • Untriaged
    • Linux x86_64
    • 0
    • Yes

    Description

      Steps:

      • Initialize a single node cluster
      • Load sample-bucket
      • Start cbcollect from the command line using,

        $ /opt/couchbase/bin/cbcollect_info /tmp/test.zip

      Observation:

      After cbcollect is completed successfully, seeing a random tmp dir "/tmp/tmpziovxbeq" with ~ 11MB of size on each collect

      # ls -l /tmp/tmpziovxbeq/
      total 10180
      -rw-r--r-- 1 root root 8252626 Jan  9 05:45 kv_trace.json
      -rw-r--r-- 1 root root 2170555 Jan  9 05:44 systemd_journal.gz

      Due to this most of the VMs are hitting the disk full issue in consecutive runs with cbcollect

      Expected behavior:

      This "tmp{[0-9a-z])" dir should be removed from /tmp after cbcollect command is complete

      Attaching cbcollect.zip and tmp dir contents for reference

      Attachments

        1. cbcollect_7.6.0-2017.txt
          183 kB
        2. test.zip
          9.07 MB
        3. tmpziovxbeq.zip
          2.62 MB
        For Gerrit Dashboard: MB-60311
        # Subject Branch Project Status CR V

        Activity

          People

            ashwin.govindarajulu Ashwin Govindarajulu
            ashwin.govindarajulu Ashwin Govindarajulu
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty