Espacio insuficiente. insufficient space

24 views
Skip to first unread message

Ernesto Mota Concha

unread,
Sep 5, 2025, 7:06:51 PMSep 5
to DSpace Community
Tengo un repositorio instalado en un centro de investigación, básicamente en la biblioteca, se han estado subiendo registros de proyectos pero cada cierto tiempo se satura mi espacio, y hay que estar borrando los logs que crecen mucho, que tendría que hacer para que ya no ocurra ese problema?

I have a repository installed in a research center, basically in the library. Project logs have been uploaded, but every so often my space becomes saturated, and I have to keep deleting the logs that grow too large. What should I do to prevent this problem from occurring?

Abel Gómez

unread,
Sep 6, 2025, 8:18:37 AMSep 6
to dspace-c...@googlegroups.com

Hi Ernesto,

yo may want to automatically compress the log files when they are rolled.

Now there are two files: for the DSpace server itself, and for CLI applications.

The lines to be changed are these (see an example here):

https://github.com/sistedes/dspace.server/blob/eee2d77549e3ede9ef76ed71d189c31097b503a4/dspace/config/log4j2.xml#L26

https://github.com/sistedes/dspace.server/blob/eee2d77549e3ede9ef76ed71d189c31097b503a4/dspace/config/log4j2-cli.xml#L26

Compressing the log files by default has been discussed several times in this mailing list, but I haven't found the time to send a Pull Request to the upsdtream repository.

Cheers,

Abel



El 06/09/2025 a las 0:47, Ernesto Mota Concha escribió:
Tengo un repositorio instalado en un centro de investigación, básicamente en la biblioteca, se han estado subiendo registros de proyectos pero cada cierto tiempo se satura mi espacio, y hay que estar borrando los logs que crecen mucho, que tendría que hacer para que ya no ocurra ese problema?

I have a repository installed in a research center, basically in the library. Project logs have been uploaded, but every so often my space becomes saturated, and I have to keep deleting the logs that grow too large. What should I do to prevent this problem from occurring?
--
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 Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-communi...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/dspace-community/ef03fe38-4de8-4174-9c6c-531da43eb100n%40googlegroups.com.
-- 
Abel Gómez Llana, PhD

ab...@gomez.llana.me
https://abel.gomez.llana.me

Andrew K

unread,
Sep 6, 2025, 8:19:12 AMSep 6
to Ernesto Mota Concha, DSpace Community
Hi!

This simple trick alleviates the problem significantly

--
Best regards,
Andrew

сб, 6 вер. 2025 р. о 02:06 Ernesto Mota Concha <ernesto.m...@gmail.com> пише:
Tengo un repositorio instalado en un centro de investigación, básicamente en la biblioteca, se han estado subiendo registros de proyectos pero cada cierto tiempo se satura mi espacio, y hay que estar borrando los logs que crecen mucho, que tendría que hacer para que ya no ocurra ese problema?

I have a repository installed in a research center, basically in the library. Project logs have been uploaded, but every so often my space becomes saturated, and I have to keep deleting the logs that grow too large. What should I do to prevent this problem from occurring?

--
Reply all
Reply to author
Forward
0 new messages