Uploaded image for project: 'CernVM'
  1. CernVM
  2. CVM-846

Garbage Collection leaks empty temporary files

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: CernVM-FS 2.1.20
    • Fix Version/s: CernVM-FS 2.2.0
    • Component/s: CVMFS
    • Labels:
      None
    • Platforms:
      x86_64-slc6-gcc48-opt

      Description

      Each garbage collection run seams to leak a single (empty) file in /var/spool/cvmfs/<repo>/tmp. At first glance it appears to be happen when traversing the resident catalog root chain. When hitting the first non-existent catalog the download destination file seems to be created but not properly cleaned afterwards.

      Need to extend the GC integration tests to reproduce that and fix.

        Attachments

          Activity

          Hide
          dwd Dave Dykstra added a comment -

          Note that this should not cause any problems on existing stratum 1s because they all clean out old files in /srv/cvmfs/*/data/txn, and /var/spool/cvmfs/<repo>/tmp is a symlink to /srv/cvmfs/<repo>/data/txn.

          Show
          dwd Dave Dykstra added a comment - Note that this should not cause any problems on existing stratum 1s because they all clean out old files in /srv/cvmfs/*/data/txn, and /var/spool/cvmfs/<repo>/tmp is a symlink to /srv/cvmfs/<repo>/data/txn.
          Hide
          rmeusel Rene Meusel (Inactive) added a comment -

          Seems that this tmp file leak only shows up with a GC dry run.

          Show
          rmeusel Rene Meusel (Inactive) added a comment - Seems that this tmp file leak only shows up with a GC dry run.
          Hide
          rmeusel Rene Meusel (Inactive) added a comment -

          Fixed in 921.

          Show
          rmeusel Rene Meusel (Inactive) added a comment - Fixed in 921 .

            People

            • Assignee:
              rmeusel Rene Meusel (Inactive)
              Reporter:
              rmeusel Rene Meusel (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: