Uploaded image for project: 'NetarchiveSuite'
  1. NetarchiveSuite
  2. NAS-2006

The remoteFile not cleaned up after upload to ChecksumFileServer is done

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • I50, 3.18.3, 3.19.0
    • None
    • Archive
    • None
    • SB/KB
    • Confident
    • Hide
      • Install standard netarchivesuite
      • go to harvester machine, and generate 4 times 500 files of size 288 using the test tool: trunk/tests/GenerateUniqueArcFiles.java
      • make 4 instances of the following script:
        export FILES=`ls /home/test/upload_dir_1/` for F in $FILES; do
          echo file $F;
           java -Ddk.netarkivet.settings.file=/home/test/SVC/conf/settings_HarvestControllerApplication_kblow002.xml -Dsettings.common.applicationInstanceId=UPLOAD_1 -cp /home/test/SVC/lib/dk.netarkivet.archive.jar dk.netarkivet.archive.tools.Upload /home/test/upload_dir_1/$F
        
        done
        
        

        Remember to change the InstanceId, and the paths to the settings, and upload directories

      • Run the 4 instances simultaneously
      • If no OOM occurs in the CheckSumServer, the problem must be considered fixed.
      Show
      Install standard netarchivesuite go to harvester machine, and generate 4 times 500 files of size 288 using the test tool: trunk/tests/GenerateUniqueArcFiles.java make 4 instances of the following script: export FILES=`ls /home/test/upload_dir_1/` for F in $FILES; do echo file $F; java -Ddk.netarkivet.settings.file=/home/test/SVC/conf/settings_HarvestControllerApplication_kblow002.xml -Dsettings.common.applicationInstanceId=UPLOAD_1 -cp /home/test/SVC/lib/dk.netarkivet.archive.jar dk.netarkivet.archive.tools.Upload /home/test/upload_dir_1/$F done Remember to change the InstanceId, and the paths to the settings, and upload directories Run the 4 instances simultaneously If no OOM occurs in the CheckSumServer, the problem must be considered fixed.

    Description

      This should happen in one of the finally clauses in the dk.netarkivet.archive.checksum.distribute.ChecksumFileServer.visit(UploadMessage msg) method.

      Attachments

        Activity

          People

            svc Søren Vejrup Carlsen (Inactive)
            svc Søren Vejrup Carlsen (Inactive)
            Mikis Seth Sørensen Mikis Seth Sørensen (Inactive)
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 7h
                7h