DSpace server out of space

50 views
Skip to first unread message

Jeff Mitchell

unread,
Feb 11, 2025, 3:05:57 PM2/11/25
to DSpace Technical Support
We found out that we're running out of space on our server but what I found is that the /srv/dspace/log directory has logs in there for over 4 years.

Can I delete them or are they important to keep?

Thanks,

george veranis

unread,
Feb 11, 2025, 3:08:46 PM2/11/25
to Jeff Mitchell, DSpace Technical Support
Yes you can 

George Veranis
Dataly Tech
Tel: +30 6936 35 14 03
SkypeId: gveranis

Disclaimer:
The information contained in this e-mail is intended only for the use of the individuals or entities to which it is addressed and may contain information that is privileged and confidential, the disclosure of which is prohibited by law. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this e-mail in error, please notify us immediately on webm...@dataly.gr  or send an email to in...@dataly.gr and delete this e-mail from your system. Company with distinctive title Dataly Tech Single Member P.C., cannot accept any responsibility for the accuracy or completeness of this message and does not accept any liability for any errors or omissions in the context of this message as it has been transmitted over a public network. Internet communications cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, or contain viruses. Attachments to this e-mail are checked for viruses; however, we do not accept any liability for any damage sustained by viruses and therefore you are kindly requested to check for viruses upon receipt.


--
All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/dspace-tech/4bf09902-a33f-42a0-ac6d-928ffc77804cn%40googlegroups.com.

Abel Gómez

unread,
Feb 11, 2025, 3:11:59 PM2/11/25
to DSpace Technical Support
Hi Jeff,

you may find this thread useful:


In short:

Only the latest log is used by DSpace at a given time (note: versions of DSpace released last week also use a different log for CLI commands).

You can also change the configuration so that DSpace compresses and rotates the log files automatically to avoid this problem in the future.

Abel

mw...@iu.edu

unread,
Feb 12, 2025, 8:26:02 AM2/12/25
to dspac...@googlegroups.com
On Tue, Feb 11, 2025 at 08:05:56PM +0000, Jeff Mitchell wrote:
> You don't often get email from je...@jeffmitchell.info. Learn why this is important<https://aka.ms/LearnAboutSenderIdentification>
> We found out that we're running out of space on our server but what I found is that the /srv/dspace/log directory has logs in there for over 4 years.
>
> Can I delete them or are they important to keep?

Yes, you can delete them. Yes, they can be important to keep.

I just finished recovering six months of usage statistics from our
dspace.log files, after a configuration change caused DSpace to stop
recording usage in Solr. So I'm glad that I saved those logs.

DSpace won't care if you delete old logs. If you do keep them for
some reason, you don't have to keep them on the same volume, or online
at all. You only have to keep them as long as they have some value to
you.

Like other business records, you should think about how you would use
them, then create a well-reasoned retention policy and a regular
procedure for destroying them when the policy requires it.

--
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
library.indianapolis.iu.edu
signature.asc
Reply all
Reply to author
Forward
0 new messages