Community discussions

MikroTik App
 
Kamran333
just joined
Topic Author
Posts: 1
Joined: Mon Sep 25, 2023 1:40 pm

removing sessions

Mon Sep 25, 2023 2:11 pm

Hi everyone
There are 126000 sessions in Userman.how can i delete them easily?
i have tried some command and script but dont work it.userman V6.48.6
 
User avatar
kiler129
Member
Member
Posts: 354
Joined: Tue Mar 31, 2015 4:32 pm
Location: IL, USA
Contact:

Re: removing sessions

Mon Oct 09, 2023 5:39 pm

It depends how complex you want it to be. If you don't care about historical data, you can simply purge inactive sessions:
/user-manager/session/remove [find active=no]

That should be probably a setting in UM to not keep inactive sessions.

Who is online

Users browsing this forum: No registered users and 4 guests