Community discussions

MikroTik App
 
Gerlach76
Member Candidate
Member Candidate
Topic Author
Posts: 111
Joined: Fri Nov 03, 2006 3:24 pm

How can I delete 90000 session in UM 4

Thu Aug 05, 2010 10:39 am

need help to delete 90000 sesssion in UM 4, i cannot rebuild Database because it is to fat..:(
 
User avatar
asus
Member
Member
Posts: 403
Joined: Fri Mar 27, 2009 9:42 am
Location: Mumbai, India

Re: How can I delete 90000 session in UM 4

Fri Aug 06, 2010 12:38 am

they r ashamed coz they don't have solution so don't keep asking same question again n again
 
makkan
Frequent Visitor
Frequent Visitor
Posts: 82
Joined: Mon Jul 26, 2010 12:38 am

Re: How can I delete 90000 session in UM 4

Thu Sep 23, 2010 12:45 am

Make a script?

Make a while-loop that use "get" to retrieve the id and then use it to remove the post. Shouldn't be any problem.
 
dainen
newbie
Posts: 38
Joined: Tue Jul 05, 2005 12:33 pm
Location: Byron Bay, Australia
Contact:

Re: How can I delete 90000 session in UM 4

Thu Sep 23, 2010 3:22 am

 
Gerlach76
Member Candidate
Member Candidate
Topic Author
Posts: 111
Joined: Fri Nov 03, 2006 3:24 pm

Re: How can I delete 90000 session in UM 4

Thu Sep 30, 2010 2:41 pm

it is not working my database is now 234mb big...what can i DO??
 
dormador
Member Candidate
Member Candidate
Posts: 107
Joined: Sat Mar 28, 2009 12:57 pm

Re: How can I delete 90000 session in UM 4

Mon Oct 04, 2010 7:55 pm

use this script
:foreach i in=[/tool user-manager session find] do { /tool user-manager session remove $i; }
or this script
/tool user-manager session remove [find]
all of it works with me

Who is online

Users browsing this forum: No registered users and 14 guests