https://forum.storj.io/search?q=bandwidth%20database%20is%20locked
could be
or
They are known problems and the solution is just let it run, it resolve itself after a while (or by restart).
However, it could affect the memory usage - records supposed to be written to the database are collected in memory instead. If there is not enough memory (in case of docker container the limit has been reached), then container will be killed with OOM.
So, I should reformulate my sentence to “either problems with write to the database or slow disk subsystem”