You are not logged in.

#26 2018-09-19 09:01:07

coolsidd
Member
Registered: 2018-09-13
Posts: 9

Re: Huge memory leak on linux kernel 4.18

Voila!! After switching to 4.17.11 the output kmemleak is almost empty with only a few initial modprobe entries. Can confirm that no memory leak seems to be occurring after about 1 hour of runtime. I have opened a issue here https://github.com/lwfinger/rtlwifi_new/issues/401
Lets hope that it gets fixed in the upcoming updates.
Meanwhile reverting/ bisecting the kernel seems to be the only solution.
@saga Are you also using the same driver?

Offline

#27 2018-09-19 13:15:00

Xum
Member
Registered: 2017-07-08
Posts: 11

Re: Huge memory leak on linux kernel 4.18

I also have the same issue and also have the rtl8723be. Well done finding this!

Offline

#28 2018-09-29 05:41:52

saga
Member
Registered: 2016-10-25
Posts: 11

Re: Huge memory leak on linux kernel 4.18

So what's the update on this bug?

Offline

#29 2018-10-05 16:58:07

chicomag
Member
Registered: 2018-03-14
Posts: 2

Re: Huge memory leak on linux kernel 4.18

I'm having this isso too, and it's still present on Linux 4.18.12. It's happening since the update to the 4.18.x versions, and it doesn't happen with 4.14 LTS.

Offline

#30 2018-10-07 02:11:46

chicomag
Member
Registered: 2018-03-14
Posts: 2

Re: Huge memory leak on linux kernel 4.18

It's exactly the same for me, when I unload the rtl8723be module the problem doesn't happen, when I load it again and wait some time it happens again.

Offline

#31 2018-10-07 06:55:02

seth
Member
Registered: 2012-09-03
Posts: 8,476

Re: Huge memory leak on linux kernel 4.18

Please stop empty posting. ("metoo")

The upstream bug suggests that the leak might occur in some other (related) module, eg. mac80211
The crosstest they're asking for would be to run your network on a different device (sidestepping the module) and see whether the kernel still leaks.
So if you can use an interface that does not rely on rtl8723be , do so and check the memory development. Report back to the upstream bug.

Offline

#32 2018-10-13 14:35:31

swiftgeek
Member
Registered: 2011-04-19
Posts: 31

Re: Huge memory leak on linux kernel 4.18

Adding `lspci` for reference, I need to find time to compile kernel with support for kmemleak. 3.7GiB leak after 9 days (4.18.10)

00:00.0 Host bridge [0600]: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub [8086:2a40] (rev 07)
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a42] (rev 07)
00:02.1 Display controller [0380]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a43] (rev 07)
00:19.0 Ethernet controller [0200]: Intel Corporation 82567LM Gigabit Network Connection [8086:10f5] (rev 03)
00:1a.0 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 [8086:2937] (rev 03)
00:1a.1 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 [8086:2938] (rev 03)
00:1a.2 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 [8086:2939] (rev 03)
00:1a.7 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 [8086:293c] (rev 03)
00:1b.0 Audio device [0403]: Intel Corporation 82801I (ICH9 Family) HD Audio Controller [8086:293e] (rev 03)
00:1c.0 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 [8086:2940] (rev 03)
00:1c.1 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 [8086:2942] (rev 03)
00:1c.2 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 [8086:2944] (rev 03)
00:1c.3 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 [8086:2946] (rev 03)
00:1d.0 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 [8086:2934] (rev 03)
00:1d.1 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 [8086:2935] (rev 03)
00:1d.2 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 [8086:2936] (rev 03)
00:1d.7 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 [8086:293a] (rev 03)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev 93)
00:1f.0 ISA bridge [0601]: Intel Corporation ICH9M-E LPC Interface Controller [8086:2917] (rev 03)
00:1f.2 SATA controller [0106]: Intel Corporation 82801IBM/IEM (ICH9M/ICH9M-E) 4 port SATA Controller [AHCI mode] [8086:2929] (rev 03)
00:1f.3 SMBus [0c05]: Intel Corporation 82801I (ICH9 Family) SMBus Controller [8086:2930] (rev 03)
02:00.0 Network controller [0280]: Qualcomm Atheros AR93xx Wireless Network Adapter [168c:0030] (rev 01)

Offline

Board footer

Powered by FluxBB