2015-12-21 0:20 GMT+08:00 Felix Fietkau <n...@openwrt.org>: > On 2015-12-20 17:00, Arjen de Korte wrote: >> Citeren Felix Fietkau <n...@openwrt.org>: >> >>> On 2015-12-20 11:52, Arjen de Korte wrote: >>>> Since commit 47771 it seems my WNDR4300 router suffers from a memory >>>> leak. Before then, the amount of free memory was always around 75%, >>>> but since then it steadily decreases until it runs out of memory and >>>> reboots. The process then starts all over again. After a couple of >>>> days of 'git bisect'ing, I found this to be the commit that introduced >>>> this phenomenon. See attached kmemleak.txt file for more information. >>>> I don't know how to go on from here to aid in debugging what is going >>>> on. Is there something else I can provide to help finding how to solve >>>> this? >>> Please copy http://nbd.name/990-remove_full_ap_client_state.patch to >>> package/kernel/mac80211/patches and try again. >> >> Still no joy, see attached kmemleak output. In about four hours time, >> free memory decreased by about 10% (of 128 MB). Is there anything else >> I can do to aid in finding the cause? This is with r47953 by the way, >> with the above mentioned patch included (I checked in the build_dir, >> the patch applied successfully. > Please show me your /etc/config/wireless. I will continue to go through > the differences between those two compat-wireless trees and make some > patches for you to test. r47954 with patch http://nbd.name/990-remove_full_ap_client_state.patch. For 9 hours, run as sta mode, no obvious memory leak. config wifi-device 'radio0' option type 'mac80211' option hwmode '11g' option path 'platform/ar933x_wmac' option country 'JP' option channel '1' option htmode 'HT40'
config wifi-iface 'sta' option device 'radio0' option mode 'sta' option network 'wwan' option ssid 'xxxxxxxxxx' option key 'xxxxxxxxxx' option encryption 'psk2' option wpa_group_rekey '8000' The 'ap mode' is in testing. > > - Felix > _______________________________________________ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel