[SAC] [OSGeo] #2877: tracsvn down out of disk space
OSGeo
trac_osgeo at osgeo.org
Fri Jan 13 13:38:23 PST 2023
#2877: tracsvn down out of disk space
---------------------------+---------------------------------------
Reporter: robe | Owner: sac@…
Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2023-I
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+---------------------------------------
Comment (by strk):
It's running the "delete old archives" where old can be defined in app.ini
(by default 24h which is what we use). Schedule can also be defined, by
default is at midnight, which we're using. Keep an eye on that directory
and please verify that the oldest one was created not more than 24h before
"now".
Possible improvement: schedule more frequently than every midnight (once
each hour?), make "old" happen sooner (every 8 hours?).
The "delete all archives" is only needed if we think someone could create
a lot more archives in a short period of time. This IS technically
possible and I don't see any way to prevent this unless by using some
limiting factor at the nginx level. Would be worth an issue upstream for
Gitea to allow NEVER saving those files, or providing other tasks to
determine when to clean based on SIZE of archive directory rather than AGE
of those archives
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2877#comment:3>
OSGeo <https://osgeo.org/>
OSGeo committee and general foundation issue tracker.
More information about the Sac
mailing list