SNAS / openbmp

OpenBMP Server Collector
www.openbmp.org
Eclipse Public License 1.0
232 stars 76 forks source link

shipped RPKI validator has memory leak #88

Open Mondhund opened 4 years ago

Mondhund commented 4 years ago

With the shipped RPKI validator, I see regular crashes because it runs out of memory. I updated to the latest RPKI validator version 3, but this requires some code changes in the openbmp-container in /usr/local/openbmp/rpki_validator.py - namely instead of api="export.json", it's now api="api/export.json" and they dropped the 'AS' is asn, so instead of line['asn'][:2] it's now just line['asn']

agallo commented 4 years ago

RIPE just announced that version 3 of the Validator will stop development in 2021.

I had started to make changes to the running container to use our version 3 prod Validator (by editing /etc/cron.d/openbmp-rpki and replacing -s 127.0.0.1:8080 with -s <IP of prod server>:8080.

I'm thinking that is makes sense to not run a validator as part of this setup and instead rely on an external source of data.