Page 1 of 1

v3.0rc5 memory usage on rb532

Posted: Sun Sep 23, 2007 10:08 am
by kchris
hi,

we've installed v3.0rc5 on one of our rb532s (32MB RAM!). the traffic is better (packet loss,etc) but after two hours of operating, we couldn't login, we got only ping.. after several hours we saw the memory usage and it was on 100%. Has v3.0 mikrotikos memory requirement increased? and if this the case, how can we decrease it? this RB operates just as an AP, doesn't have any special firewall or queue rows in it... (this AP operates just as a transmitter, QoS is configured in our 'central' mikrotik)

Re: v3.0rc5 memory usage on rb532

Posted: Sun Sep 23, 2007 10:44 am
by kchris
it's working - there is 2.8Megs of RAM free... Why is it downloadable for RBs with 32MB RAM if its not enough for it??? :shock:

Re: v3.0rc5 memory usage on rb532

Posted: Sun Sep 23, 2007 10:47 am
by kchris
after a simple reboot there is 12-15MB RAM free.. is a memory leak in it?

Re: v3.0rc5 memory usage on rb532

Posted: Mon Sep 24, 2007 12:30 am
by rpingar
yes it is.
I am reporting this leak since first rc.
Produced several supout after the reboot and after a while to compare the memory usage.
But they still were not be able to reproduce it.

Hope if more people start to report then they will find a solution.

Regards
Ros

Re: v3.0rc5 memory usage on rb532

Posted: Mon Sep 24, 2007 3:13 am
by believewireless
We are seeing the same issues and have seen them for a long time. Just posted about this problem on another thread.

Re: v3.0rc5 memory usage on rb532

Posted: Mon Sep 24, 2007 9:30 pm
by jorj
Found the solution ! :D
/ system scheduler 
add name="Fix_memory_problem" on-event="/system reboot" start-date=jan/01/1970 \
    start-time=00:00:00 interval=8h comment="" disabled=no 
Just kidding, but you could really use that as a workaround......... :(
Happened in 3.0 up to rc5, to me also, on rb133 and rb112 too. Had no 532. But i also had 100% cpu too....... so hard to tell what it was. Now....... 2.9.46 is with me....

Re: v3.0rc5 memory usage on rb532

Posted: Tue Sep 25, 2007 3:51 pm
by janisk
that would be nice if all of you contacted support with latest ROS version available (in time of writing RC5) supout.rif files.

if it is possible to connect to those boards we would appreciate if we could access these boards (for precise ip addresses/usernames/passwords/access times we will contact you, just state that if we need we can ask you for permission to connect there)

describe configuration, describe how fast the memory is full.

if it is possible create supout.rif file when memory is almost full.

Re: v3.0rc5 memory usage on rb532

Posted: Tue Sep 25, 2007 4:29 pm
by rpingar
i give my disponibility to access my boxes.

But contact me private.

Regards

Re: v3.0rc5 memory usage on rb532

Posted: Thu Sep 27, 2007 7:25 am
by micasadelmar
Disabling SNMP and graphing solved the memory leak problems for me.

Brian

Re: v3.0rc5 memory usage on rb532

Posted: Wed Oct 03, 2007 6:03 pm
by jorj
I just put rc6 on a rb133 and it seems fine. At least i got rid of 100% cpu.
I will have by the end of the week a rb133c and a rb112 available and i'll put them for a few days to see what happens.
rb133 works since this afternoon, and doesn't show strange behaviour.
Rock solid till now.

Re: v3.0rc5 memory usage on rb532

Posted: Wed Oct 03, 2007 6:12 pm
by warwick09
I just put rc6 on a rb133 and it seems fine. At least i got rid of 100% cpu.
....

What packages do you have installed ... ?

Regards

Re: v3.0rc5 memory usage on rb532

Posted: Wed Oct 03, 2007 8:54 pm
by jorj
I just put rc6 on a rb133 and it seems fine. At least i got rid of 100% cpu.
....

What packages do you have installed ... ?

Regards
These:
[admin@#######] > /sys pack pri
Flags: X - disabled 
 #   NAME                      VERSION                  SCHEDULED              
 0   routerboard               3.0rc6                                          
 1   system                    3.0rc6                                          
 2   wireless                  3.0rc6                                          
 3   ppp                       3.0rc6                                          
 4 X ipv6                      3.0rc6                                          
 5   routeros-rb500            3.0rc6                                          
 6   advanced-tools            3.0rc6                                          
 7   hotspot                   3.0rc6                                          
 8   security                  3.0rc6                                          
 9   dhcp                      3.0rc6                                          
10   routing                   3.0rc6                                          
[admin@#######] > 

The board is nat-ing a single public ip to 2 private subnets (1 wireless, 1 wired. Uplink wired.). 20-30 simultaneous wireless clients connected all the time.
The firewall is the one created with the web login to the router.
[Wich by the way, since 2.9.2xxxxxx don't remember wich, needs to corect comment to the rule no. 1 to say Allow established connections instead of Allow esatblished connections ]
CPU around 20-27% all the time. Wireless clients connect with wep 104/128 bit.

(Now that you asked, i see that i have to disable ppp, hotspot, routing and dhcp since they are not used.)

Re: v3.0rc5 memory usage on rb532

Posted: Wed Oct 03, 2007 9:02 pm
by warwick09
Wow, thats a first for the 1xx series... finally a working version of v3.

Still a bit skeptical about the stability of it tho ... ill hold off for a few weeks until I get tempted to push it to the cpe's.

In the end it'l be real nice to have everything running on one accord, both cpe's,ap's and master routers.

Regards

Re: v3.0rc5 memory usage on rb532

Posted: Thu Oct 04, 2007 3:45 pm
by jorj
Had to return.
Since yesterday, just talked, and it got..... weird.
The system is routing and everything, winbox does not stay connected more than 3-4 minutes.
And before that, the cpu usage goes crazy. 2 - 5 - 2 - 25 - 7 - 100 - 100 -100 - 30 - 5 - 45 - 100 and so on.
I'll chech to see if else is wrong, but till then I'll just move that board to my home, and put a pc in there.

Re: v3.0rc5 memory usage on rb532

Posted: Fri Oct 05, 2007 3:06 pm
by BrianHiggins
The system is routing and everything, winbox does not stay connected more than 3-4 minutes.
And before that, the cpu usage goes crazy. 2 - 5 - 2 - 25 - 7 - 100 - 100 -100 - 30 - 5 - 45 - 100 and so on.
seeing the same thing on some 532's running rc6... also dropping packets on the ethernet link. rc5 definititly has a memory leak, we have 3 test APs on rc5 and one one rc6, in the last 12 hours I've had to reboot two of the 3 rc5 APs... I'm not sure if I want to load rc6 yet on them with the disconnect and packet loss issues we're seeing...

Re: v3.0rc5 memory usage on rb532

Posted: Sun Oct 07, 2007 4:31 pm
by jorj
Well, actually, rc6 seemed better than rc5. In rc5, could not see proc lower than 100%. In rc6 ....... it acts at it's own will. I am righ now assambeling a link with a 133 and 133c, and i'll try both bridge and route, in the same room. So, i'll just have to see what's the point of this. And yes, i will net install them before anybody tells me to do so and it will fix my problem. The traffic should be no more than 1 mbit, as i see it. Hope i'll be back in a few hours to tell you.
( to domain admins: if this should be moved in some topic about rc6 in rb1xx series, please do so. )