<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi nusenu,<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">Op 8 okt. 2018, om 10:54 heeft nusenu <<a href="mailto:nusenu-lists@riseup.net" class="">nusenu-lists@riseup.net</a>> het volgende geschreven:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hi,<br class=""><br class="">the wiki page [1] states:<br class=""><blockquote type="cite" class="">The repository objects are stored in a file based database, rather<br class="">than in memory - we recommend at least 10GB of available disk space<br class="">(under /var/lib/rpki-validator-3/db for the RPM).<br class=""></blockquote><br class="">the rpki-validator.h2.mv.db file is already >22GB in size, I assume there<br class="">is no way to reduce the disk usage requirements via a configuration change?<br class=""><br class="">How big will the db file become? <br class=""></div></div></blockquote></div><br class=""><div class=""><div class="">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.</div><div class=""><span style="background-color: rgb(255, 255, 255);" class=""><font color="#333333" face="Helvetica Neue, Helvetica, Arial, sans-serif" class=""><span style="caret-color: rgb(51, 51, 51);" class="">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.</span></font></span></div></div><div class=""><span style="caret-color: rgb(51, 51, 51); color: rgb(51, 51, 51); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; background-color: rgb(255, 255, 255);" class=""><div class="">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.</div><div class=""><br class=""></div><div class="">I hope this helps.</div><div class=""><br class=""></div><div class="">Kind regards,</div><div class=""><br class=""></div><div class="">Nathalie Trenaman</div><div class="">RIPE NCC</div></span></div></body></html>