<div dir="ltr">Thanks, Andrew.<br><br>I was waiting for someone with a bit more experience with ArchivesSpace to chime in on this. In my case, we have a number of old jruby directories which contain a set of jar files. What should be cleaning these up? Whatever it might be, it is missing doing that cleanup on my site. I'm curious how things are supposed to work.<br><br>As for cleanup, if the service is somehow not cleaning these up properly, then my usual methodology is to have a cleanup script (or manual intervention) come behind and delete everything which is a certain number of days old. I would guess anything older than 30 days in that directory is fair game for deletion. Do you see anything wrong with that?<div><br></div><div>Thanks,</div><div>Tom</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Dec 12, 2022 at 3:52 AM Andrew Morrison <<a href="mailto:andrew.morrison@bodleian.ox.ac.uk">andrew.morrison@bodleian.ox.ac.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<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>On 09/12/2022 00:27, Brown, Amanda
wrote:<br>
</div>
<blockquote type="cite">
<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" target="_blank">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/" target="_blank"><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" target="_blank"><img src="https://ccc.govt.nz/resources/themes/ccc-default/dist/images/Logos-Branding/EmailTemplates/CCC-logo-black.png" width="150"></a><font size="2" face="Times New Roman"><span style="font-size:11pt"> </span></font></span></font></div>
</span></font>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
Archivesspace_Users_Group mailing list
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" target="_blank">Archivesspace_Users_Group@lyralists.lyrasis.org</a>
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" target="_blank">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a>
</pre>
</blockquote>
</div>
_______________________________________________<br>
Archivesspace_Users_Group mailing list<br>
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" target="_blank">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br>
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" rel="noreferrer" target="_blank">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><b style="font-family:arial,helvetica,sans-serif;font-size:12.7273px;color:rgb(136,136,136)">Tom Hanstra</b><br></div><div style="color:rgb(136,136,136);font-size:12.8px"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-size:12.7273px"><div><div><i style="font-size:12.7273px;font-family:arial,helvetica,sans-serif">Sr. Systems Administrator</i></div><div><a href="mailto:hanstra@nd.edu" style="color:rgb(17,85,204);font-size:12.7273px;font-family:arial,helvetica,sans-serif" target="_blank">hanstra@nd.edu</a><br></div></div><div><span style="font-family:arial,helvetica,sans-serif"><br></span></div></div><div style="font-size:12.7273px"><img src="https://ci3.googleusercontent.com/mail-sig/AIorK4wQjvBdM9TFi5bR5RBsq_1dY3HTxh-Kg_4W690bwTCSKeVGyazMoj0wdmkNgJ0kfjeRnparhiw"><br></div></div></div></div></div></div></div></div></div></div></div>