Hi nusenu,
Op 8 okt. 2018, om 10:54 heeft nusenu <nusenu-lists@riseup.net> het volgende geschreven:
Hi,
the wiki page [1] states:
The repository objects are stored in a file based database, rather than in memory - we recommend at least 10GB of available disk space (under /var/lib/rpki-validator-3/db for the RPM).
the rpki-validator.h2.mv.db file is already >22GB in size, I assume there is no way to reduce the disk usage requirements via a configuration change?
How big will the db file become?
There is a config setting regulating how often the validator will remove the "garbage", i.e. unused objects that it still stores but they are not really used but kept just in case (no connectivity to download updated records, broken manifests, CRLs, etc.). The setting is called "rpki.validator.rpki.object.cleanup.grace.duration" and by default it is set to "P7D", i.e. a period of 7 days, which is pretty conservative. You can set it to much smaller periods, 1-2 day or 12 hours and still have reasonable behaviour. There is another parameter “rpki.validator.validation.run.cleanup.grace.duration" with the similar meaning, but it's less crucial when it comes to storage space. Also Validator version 3 is lighter than 2 in a sense that it consumes less memory, but it can only do it by storing more data on the disk. I hope this helps. Kind regards, Nathalie Trenaman RIPE NCC