Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-27466

Bulk Action Framework's temporary directories not deleted

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 10.10
    • Fix Version/s: None
    • Component/s: Bulk
    • Tags:
    • Backlog priority:
      500

      Description

      Everytime the Nuxeo Platform gets started, it creates 2 directories with name exposeBlob*, 2 directories with name makeBlob*, 2 directories with name sortBlob* and 2 directories with name zipBlob* are created in the Nuxeo Platform's tmp directory:

      $ ll
      total 144
      drwxrwxr-x 1 nuxeo root   4096 May 31 12:49 .
      drwxrwxr-x 1 nuxeo root   4096 May 31 12:57 ..
      -rw-r--r-- 1 nuxeo nuxeo 47064 May 31 11:54 activate-metrics.txt
      drwx------ 2 nuxeo nuxeo  4096 May 31 11:55 exposeBlob2582534207999290333
      drwx------ 2 nuxeo nuxeo  4096 May 31 11:55 exposeBlob9031632255430929411
      drwx------ 2 nuxeo nuxeo  4096 May 31 12:49 makeBlob741975131139335014
      drwx------ 2 nuxeo nuxeo  4096 May 31 11:55 makeBlob8861167515831828175
      drwxr-xr-x 2 nuxeo nuxeo  4096 May 31 11:54 schemas
      drwx------ 2 nuxeo nuxeo  4096 May 31 12:49 sortBlob1550507367185648557
      drwx------ 2 nuxeo nuxeo  4096 May 31 11:55 sortBlob2746256046775592717
      -rw-r--r-- 1 nuxeo nuxeo 47065 May 31 11:55 start-metrics.txt
      drwx------ 2 nuxeo nuxeo  4096 May 31 11:55 zipBlob1762659406355661780
      drwx------ 2 nuxeo nuxeo  4096 May 31 11:55 zipBlob4572607502994119695
      

      When the Nuxeo Platform is stopped, the directories do not get deleted, and new ones get created when the Nuxeo Platform is restarted:

      total 272
      drwxrwxr-x 1 nuxeo root   4096 May 31 12:58 .
      drwxrwxr-x 1 nuxeo root   4096 May 31 12:58 ..
      -rw-r--r-- 1 nuxeo nuxeo 47064 May 31 12:58 activate-metrics.txt
      -rw-r--r-- 1 nuxeo nuxeo 47064 May 31 12:58 deactivate-metrics.txt
      drwx------ 2 nuxeo nuxeo  4096 May 31 12:58 exposeBlob2217098525351899528
      drwx------ 2 nuxeo nuxeo  4096 May 31 11:55 exposeBlob2582534207999290333
      drwx------ 2 nuxeo nuxeo  4096 May 31 12:58 exposeBlob6074918893325976735
      drwx------ 2 nuxeo nuxeo  4096 May 31 11:55 exposeBlob9031632255430929411
      drwx------ 2 nuxeo nuxeo  4096 May 31 12:58 makeBlob2290270349203296592
      drwx------ 2 nuxeo nuxeo  4096 May 31 12:58 makeBlob5361128960040604533
      drwx------ 2 nuxeo nuxeo  4096 May 31 12:49 makeBlob741975131139335014
      drwx------ 2 nuxeo nuxeo  4096 May 31 11:55 makeBlob8861167515831828175
      drwxr-xr-x 2 nuxeo nuxeo  4096 May 31 12:58 schemas
      drwx------ 2 nuxeo nuxeo  4096 May 31 12:49 sortBlob1550507367185648557
      drwx------ 2 nuxeo nuxeo  4096 May 31 11:55 sortBlob2746256046775592717
      drwx------ 2 nuxeo nuxeo  4096 May 31 12:58 sortBlob4584611998845598695
      drwx------ 2 nuxeo nuxeo  4096 May 31 12:58 sortBlob6842340139233585746
      -rw-r--r-- 1 nuxeo nuxeo 47065 May 31 12:58 start-metrics.txt
      -rw-r--r-- 1 nuxeo nuxeo 47064 May 31 12:58 stop-metrics.txt
      drwx------ 2 nuxeo nuxeo  4096 May 31 11:55 zipBlob1762659406355661780
      drwx------ 2 nuxeo nuxeo  4096 May 31 11:55 zipBlob4572607502994119695
      drwx------ 2 nuxeo nuxeo  4096 May 31 12:58 zipBlob6027153717303100096
      drwx------ 2 nuxeo nuxeo  4096 May 31 12:58 zipBlob6534280850393917658
      

      This can lead to hundreds of unused directories.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                vdutat Vincent Dutat
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: