User Manager, problem with profile limitations.

I'm having a problem with UserManager.
It's the same on both the old and new routers, with the latest long-term software.
Everything worked fine for a few months, 4-5, then UserManager started slowing down to the point that any change to the database requires a 3-4 minute write time.
After running the Rebuild function on the database, it assigns the wrong internet speed to clients. It binds to one profile and connects to all of them. When I delete that profile, it connects to another, but not to the correct one assigned to the client.
After restarting the router, everything returns to normal. UserManager works quickly, but then it takes a few months, and the same thing happens again. How can I solve the problem without restarting the router?