In the 3.11 release, the archivation process was reworked quite heavily, hopefully solving this problem. When the “database is locked” error happened before, old flows remained in /var/lib/pakon.db, possibly for many days, which could lead to filling up the whole tmpfs. That hopefully shouldn’t happen anymore.
Also, as a safety measure, we added a hard limit of the /var/lib/pakon.db database. When the database grows too much, the oldest records are deleted. The limit is pretty high, so it should be triggered only when the database is getting really insanely big. It’s probably less than ideal, but we don’t see a better way what to do in this situation. It’s probably better to lose a part of logs than to crash the router.
There should be something similar like there is rollover for logs, e.g. move data of say the past 24 hours to a secondary db and wipe those secondary db say after a period of 8 or 10 or 14 days. I does not make sense (or does it?) to keep the data indefinitely unless sufficient storage space is available.
The forum is not the proper channel, which you should use to report bugs, also forum is not a bug tracker at all. This was already said on the forum many times. If you’d like to report a bug, we have in our documentation article for Error reporting. I’d kindly ask you to follow it and send us the necessary details. We’d like to have more details about it and diagnostics should help us. Thank you.