Mikrotik UserManager Attribute Mikrotik-Recv-Limit Not disconnect User

My friends, I want to limit the download with attributes Mikrotik-Recv-Limit of the user in the user manager, but it remains active as long as the session is active and cannot be disconnected by itself. Does anyone know what the problem is?

Configure the router to monitor the Mikrotik-Recv-Limit and disconnect users when the limit is reached. You can use the following commands:
/ip hotspot user
add name=“user1” limit-bytes-in=10485760

Replace limit-bytes-in with the desired limit in bytes (e.g., 10MB = 10485760 bytes).
planet clicker

Usermanager linked to what? Hotspot? Usually in the radius assignment that reports to usermanager there is the parameter “Interim update” that indicates every time the usermanager user packages are updated. If this is not configured you have the traffic volume consumed only at the end of the session. So the user will never be disconnected from the attribute you have set. For example if you use hotspot you can find it in the menu

/ip hotspot profile radius-interim-update=30s