PASTAplus / dex

Explore and subset CSV tables using associated EML metadata
Apache License 2.0
3 stars 0 forks source link

The dex-cache requires some means of garbage collection #76

Closed servilla closed 3 months ago

servilla commented 3 months ago

The production dex server returned a 500 internal server error on 2024-05-26 due to an out-of-disk memory error. For this reason, dex will require some type of garbage collection to run either regularly or on detection of low disk space to clean out the dex-cache directory.

servilla commented 3 months ago

Garbage collection should also include the /tmp/dex-tmp-cache, which is also space-consuming.

jwbrunt commented 3 months ago

Deployed and tested servilla script /home/pasta/dex/gc.sh from dex-d on dex. Operating from cron at top of the hour. Monitoring /home/pasta/dex/gc.log for proper performance.