<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    <p>The tmp folder is used to store files which should be deleted
      automatically after the process that created them finishes, but
      that doesn't always happen. On the system I run, it has grown to
      0.4G in four years, mostly files created during indexing. Some
      files are also written there during startup.</p>
    <p>So you should be able to stop the ArchivesSpace service, delete
      everything inside the tmp folder, then restart, although I've
      never done so myself. But first it would be worth investigating
      when the bulk of the 9.4G was created. If it has built up over
      time, the majority before the last restart, it is less of a
      concern than if most of it is new.</p>
    <p>Andrew.</p>
    <p><br>
    </p>
    <p></p>
    <div class="moz-cite-prefix">On 09/12/2022 00:27, Brown, Amanda
      wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:SYZP282MB3132C970AF63D7CCCC5C104DC91C9@SYZP282MB3132.AUSP282.PROD.OUTLOOK.COM">
      
      <meta name="Generator" content="Microsoft Exchange Server">
      <!-- converted from rtf -->
      <style>.EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; }</style>
      <font size="2" face="Calibri"><span style="font-size:11pt;">
          <div>Kia ora koutou,</div>
          <div> </div>
          <div> </div>
          <div>Our ArchivesSpace UAT has run out of space, and the
            information from our developer is : </div>
          <div> </div>
          <div style="padding-left:36pt;">The space is mainly being
            taken up by temporary files created by the archivesspace app
            itself, eg:</div>
          <div style="padding-left:36pt;"> </div>
          <div style="padding-left:36pt;">antbrown@ccc-dhr-uat-as1:/opt/archivesspace3/data$
            sudo -u archivesspace du -hs tmp</div>
          <div style="padding-left:36pt;">9.4G    tmp</div>
          <div style="padding-left:36pt;"> </div>
          <div style="padding-left:36pt;">Some of these files are used
            for running the app and it's not obvious from
            <a href="https://archivesspace.github.io/tech-docs/readme_implement.html" moz-do-not-send="true" class="moz-txt-link-freetext">https://archivesspace.github.io/tech-docs/readme_implement.html</a>
            which are safe to delete.</div>
          <div style="padding-left:36pt;">If you were able to post to
            the mailing list asking which files are safe to delete in
            the data/tmp directory, we could write a script to make sure
            it's cleaned daily for example. </div>
          <div style="padding-left:36pt;"> </div>
          <div>Any suggestions which files are safe to delete in the
            data/tmp directory?</div>
          <div> </div>
          <div><font face="Calibri Baltic">Ngā mihi</font></div>
          <div>Amanda</div>
          <div> </div>
          <div>Digital Content Librarian | Digital Content Team | </div>
          <div><font face="Calibri Baltic">Christchurch City Libraries |
              Ngā Kete Wānanga-o-Ōtautahi | </font></div>
          <div><a href="https://canterburystories.nz/" moz-do-not-send="true"><font color="#0563C1"><u>https://canterburystories.nz/</u></font></a>
          </div>
          <div> </div>
          <div><font size="2" face="Source Sans Pro"><span style="font-size:9pt;">This electronic email and any
                files transmitted with it are intended solely for the
                use of the individual or entity to whom they are
                addressed.<br>
                The views expressed in this message are those of the
                individual sender and may not necessarily reflect the
                views of the Christchurch City Council.<br>
                If you are not the correct recipient of this email
                please advise the sender and delete the email.</span></font></div>
          <div style="margin-top:14pt;"><font size="3" face="Times New
              Roman"><span style="font-size:12pt;"><br>
                <a href="https://ccc.govt.nz" moz-do-not-send="true"><img src="https://ccc.govt.nz/resources/themes/ccc-default/dist/images/Logos-Branding/EmailTemplates/CCC-logo-black.png" moz-do-not-send="true" width="150"></a><font size="2" face="Times New Roman"><span style="font-size:11pt;"> </span></font></span></font></div>
        </span></font>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Archivesspace_Users_Group mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org">Archivesspace_Users_Group@lyralists.lyrasis.org</a>
<a class="moz-txt-link-freetext" href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a>
</pre>
    </blockquote>
  </body>
</html>