Page MenuHomePhabricator

routinator: create garbage collection job
Closed, ResolvedPublic

Description

routinator creates a lot of files under the following directory /var/lib/routinator/repository/. it seems that occationaly some files in this directory get corrupted or otherwise obsoleted however they are never clean up from the filesystem. We should explore methods to identify corrupted or obsoleted ROA's and removing them

Event Timeline

jbond triaged this task as Low priority.May 10 2021, 4:41 PM
jbond created this task.
ayounsi renamed this task from routinator: creat gabage collection job to routinator: create gabage collection job.May 19 2021, 6:23 PM

@jbond would the upcoming changes in https://github.com/NLnetLabs/routinator/releases/tag/v0.9.0-rc1 solve that issue by using a database instead of the file-system?

@jbond would the upcoming changes in https://github.com/NLnetLabs/routinator/releases/tag/v0.9.0-rc1 solve that issue by using a database instead of the file-system?

Yes i think that looks promising

It's out https://github.com/NLnetLabs/routinator/releases/tag/0.9.0

I'll give it a few days in case there is a bugfix release then I'll look at upgrading it.

Loop me in on that Arzhel be interested to see the process.

Aklapper renamed this task from routinator: create gabage collection job to routinator: create garbage collection job.Sun, Jun 6, 11:36 AM

Mentioned in SAL (#wikimedia-operations) [2021-06-08T10:01:23Z] <XioNoX> upgrade Routinator 3000 to 0.9.0 on rpki2001 - T282469

Mentioned in SAL (#wikimedia-operations) [2021-06-09T13:54:50Z] <XioNoX> Add Routinator 3000 0.9.0 to the APT repo - T282469

Mentioned in SAL (#wikimedia-operations) [2021-06-09T13:56:26Z] <XioNoX> upgrade Routinator 3000 to 0.9.0 on rpki1001 - T282469

All done! I didn't use --fresh but we can if needed in the future, but in theory inodes shouldn't grow in a dangerous way anymore.