Community discussions

MikroTik App
 
C_FERRERAS
just joined
Topic Author
Posts: 9
Joined: Fri Feb 17, 2006 1:22 pm

Usermanager 100% Cpu

Wed Jun 17, 2009 8:04 pm

system resource print
uptime: 3h44m46s
version: "2.9.51"
free-memory: 442600kB
total-memory: 516732kB
cpu: "Intel(R)"
cpu-frequency: 1799MHz
cpu-load: 99
free-hdd-space: 152748748kB
total-hdd-space: 153818816kB
write-sect-since-reboot: 1088632
write-sect-total: 2332301152

the problem is that trying to manage via web or terminal userman cpu gets to 100% for over 5 minutes
Know how to remove all the sessions and logs?

thanks
 
miles
Member Candidate
Member Candidate
Posts: 105
Joined: Sat Sep 16, 2006 2:49 pm
Location: Kosovo

Re: Usermanager 100% Cpu

Wed Jun 17, 2009 8:19 pm

Hi C_FERRERAS
Do you have just User Manager or you are using any other services on that particular router or PC.
Give us more info about your hardware specification.
Also the Software it's old version.

Take care
Selim
 
C_FERRERAS
just joined
Topic Author
Posts: 9
Joined: Fri Feb 17, 2006 1:22 pm

Re: Usermanager 100% Cpu

Thu Jun 18, 2009 12:31 am

server uses this hotspot + UserManager.
The server is a Supermicro with 1800Mhz and 512 MB ram, 130 Gb hd and routeros level 6.
Versions 3.X restart the machine, and I can not export the database with tool / userman / database / load
using a script to remove the log and the session is locked at 100% cpu.
You can do a database rebuild???

thanks, regards
 
Muqatil
Trainer
Trainer
Posts: 573
Joined: Mon Mar 03, 2008 1:03 pm
Location: London - UK
Contact:

Re: Usermanager 100% Cpu

Thu Jun 18, 2009 10:27 am

ROS 3.13 looks stable for HotSpot purpose, i had the same reboot issue with higher versions.
You should give it a try :D
 
C_FERRERAS
just joined
Topic Author
Posts: 9
Joined: Fri Feb 17, 2006 1:22 pm

Re: Usermanager 100% Cpu

Thu Jun 18, 2009 11:52 am

try the 3.13 in all sessions will take to save.

thanks, regards
 
miles
Member Candidate
Member Candidate
Posts: 105
Joined: Sat Sep 16, 2006 2:49 pm
Location: Kosovo

Re: Usermanager 100% Cpu

Thu Jun 18, 2009 9:11 pm

C_FERRERAS

If you use the HotSpot + User Manager in the same PC will suggest you if you can to separate them , because I had same problem when I was using both services on the same PC after I have separate them working just fine.
Now I'm pushing 40 Mbit on single hotspot server with no problem .. and User Manager sit alone just checking for credit's.
My problem was happen when I was going to add credit the the customers via http://x.x.x.x/userman just for no reason and I was getting radius no response CPU was going 100% and I most have to do reboot and CPU get normalized .
If you can open the winbox and trying to add credit to the clients or try to view report of user account and check the cpu via wibox does CPU goes high ..
For my servers I use 3.23 and one of them is using 3.25
I hope this help you a little bit .

Take care
Selim..
 
C_FERRERAS
just joined
Topic Author
Posts: 9
Joined: Fri Feb 17, 2006 1:22 pm

Re: Usermanager 100% Cpu

Mon Jun 22, 2009 5:35 pm

Thanks, I will migrate to 3.25

regards
 
miles
Member Candidate
Member Candidate
Posts: 105
Joined: Sat Sep 16, 2006 2:49 pm
Location: Kosovo

Re: Usermanager 100% Cpu

Mon Jun 22, 2009 6:01 pm

Hi C_FERRERAS
The upgrade will not help you ..
If you see your very first post your server took almost all memory ..
system resource print
uptime: 3h44m46s
version: "2.9.51"
free-memory: 442600kB
total-memory: 516732kB
cpu: "Intel(R)"
cpu-frequency: 1799MHz
cpu-load: 99
free-hdd-space: 152748748kB
total-hdd-space: 153818816kB
write-sect-since-reboot: 1088632
write-sect-total: 2332301152
if you take a look your server you will see the memory will go up and up .
I was using my server with 2 GB ram and CPU Intel Core 2 Due with 8 MB cache and was doing the same after I separate the User Manager the hotspot use like 150 MB ram and on that server the traffic goes like Mbit/s
I will look forward and try to help you.

take care
Selim