What's new

Memory leak in Asuswrt-Merlin

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

You will not be able to do reconnect 40 times a minute since the connection time seems to be around 5 seconds = 20 times - but I see no use for that currently. Why? Well my connection is not always that good, so I have frequent disconnect/connections from time to time - so in a way I do test that real world scenario :)

Will need fingers to trigger 40 times per minute I guess or need to run a script on the mobile client. lol. Was thinking that will accelerate the leak if it happens so..

As one gauge, for every "notify_rc" in syslog.log, it triggers the leak once in /sbin/preinit in 380.58 FW or a stock equivalent.

BTW, while keeping an eye for you guys, I spotted a new leak in /sbin/watchdog. More details here: http://www.snbforums.com/threads/sbin-watchdog-yet-another-memory-leak.32458/
 
@kvic can comfirm that leak
toast@Cerberus:/tmp/home/root# cat /proc/$(pidof watchdog)/status|grep VmRSS
VmRSS: 2432 kB
toast@Cerberus:/tmp/home/root# cat /proc/$(pidof watchdog)/status|grep VmRSS
VmRSS: 2436 kB

avg ~15 min 4kb on RT-AC56U
 
Will need fingers to trigger 40 times per minute I guess or need to run a script on the mobile client. lol. Was thinking that will accelerate the leak if it happens so..

Well I use Tasker for connecting over OpenVPN when WiFi drops out, so I guess it would be rather easy to adapt that to something more performance hungry?
 
ram uses on my 66u has been holding steady at 180mb free of 233mb I never seen it drop below that, then again have it set to reboot once a week.
 
Well I use Tasker for connecting over OpenVPN when WiFi drops out, so I guess it would be rather easy to adapt that to something more performance hungry?

Android? Haven't used it much...maybe manual toggle as a quick test if too much effort for automation.

On server side, can use 'management interface' CLI in OpenVPN to disconnect a client. Easy to automate with a shell script.
 
Another OpenVPN release, another memory leak fix included:

https://community.openvpn.net/openvpn/wiki/ChangesInOpenvpn23

Maybe they run out of bugs to fix :) Picked up one reported back in 2009..

Seems good to include on ChangeLog but little effect on actual use. To quote the guy's own words:

This function is only used by argv_printf_arglist(), and in a very specific
case, so it might be that this leak can not even occur. But coverity is
clearly right that this is a bug, so let's just fix it.

https://community.openvpn.net/openvpn/changeset/f8da74920998a8fa1125ec73c5e3397707b43017
 

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top