Community discussions

MikroTik App
 
iustin
just joined
Topic Author
Posts: 22
Joined: Mon Mar 06, 2023 12:11 am

Memory leak for cap AC 7.14 running wifi-qcom-ac?

Wed Mar 27, 2024 7:57 pm

I've seen this now a couple of times, both with 7.14 and 7.14.1:
Screenshot 2024-03-27 at 18.52.51.png
Basically reboot the cap AC, and watch its memory slowly but inexorably go down. Once it's above ~87% usage, the cap AC becomes unresponsive (time out waiting for process 85/24/etc), and I have to hard power cycle.

The interesting thing is that I have two of these, connected to same capsMAN, and only one does this for a while, then the problem moves to the other, etc.

Did anyone else see this? Is it a known issue? (Should I just move to cap AX with its 1GB of RAM?)
You do not have the required permissions to view the files attached to this post.
 
infabo
Forum Guru
Forum Guru
Posts: 1335
Joined: Thu Nov 12, 2020 12:07 pm

Re: Memory leak for cap AC 7.14 running wifi-qcom-ac?

Wed Mar 27, 2024 8:00 pm

7.13.5, cap ac, wifi-qcom-ac, uptime 1week. free memory: 32.6mb
 
iustin
just joined
Topic Author
Posts: 22
Joined: Mon Mar 06, 2023 12:11 am

Re: Memory leak for cap AC 7.14 running wifi-qcom-ac?

Wed Mar 27, 2024 11:00 pm

7.13.5, cap ac, wifi-qcom-ac, uptime 1week. free memory: 32.6mb
The actual free memory is less concerning than the fact that it continuously decreases between reboots. This is the same graph but over 6 months: you can clearly see that until 7.13 and the new wifi-qcom-ac drivers it was stable, since then it's not really stable - and seems to have gotten worse recently:
Screenshot 2024-03-27 at 22.00.35.png
I don't know if it's capsman, the number of connected devices, or something else. But it doesn't seem stable at all.
You do not have the required permissions to view the files attached to this post.
 
infabo
Forum Guru
Forum Guru
Posts: 1335
Joined: Thu Nov 12, 2020 12:07 pm

Re: Memory leak for cap AC 7.14 running wifi-qcom-ac?

Wed Mar 27, 2024 11:11 pm

What happened on 12/27?
 
iustin
just joined
Topic Author
Posts: 22
Joined: Mon Mar 06, 2023 12:11 am

Re: Memory leak for cap AC 7.14 running wifi-qcom-ac?

Wed Mar 27, 2024 11:23 pm

What happened on 12/27?
That's when I upgraded to 7.13, but still using old drivers, if I remember correctly. My upgrade timeline:

- migrated host from hAP ac to cAP ac: 2023.11.22
- 7.12 → 7.13: 2023.12.24
- 7.13 → 7.13.4: 2024.02.08
- 7.13.4 → 7.14.1: 2024.03.24

So it was stable on 7.8 and 7.12, up until 7.13. Since 7.13, it's more or less leaking memory. Either 7.13 itself, or the wifi-qcom-ac drivers.
 
infabo
Forum Guru
Forum Guru
Posts: 1335
Joined: Thu Nov 12, 2020 12:07 pm

Re: Memory leak for cap AC 7.14 running wifi-qcom-ac?

Thu Mar 28, 2024 8:24 am

So basically you say, leaking memory since 7.13 and qcom drivers? What's odd, you already had only like 60mb free memory on 7.12 with capac.
 
iustin
just joined
Topic Author
Posts: 22
Joined: Mon Mar 06, 2023 12:11 am

Re: Memory leak for cap AC 7.14 running wifi-qcom-ac?

Thu Mar 28, 2024 12:43 pm

Only 60MB free (out of 128MB) is not bad (for me). I'd be happy if I could stay there.

I've now disabled connection tracking entirely, and there was a reduction in memory usage, but the leak is still present. I'll probably file a support ticket, since it doesn't seem to be a widely known issue.
 
pajapatak
just joined
Posts: 17
Joined: Thu Oct 19, 2023 11:21 am

Re: Memory leak for cap AC 7.14 running wifi-qcom-ac?

Thu Mar 28, 2024 7:22 pm

I can confirm this behavior, with one hap ac3 and wifi-qcom-ac drivers. Two other hap ac3, with legacy drivers don't show this behavior.
 
iustin
just joined
Topic Author
Posts: 22
Joined: Mon Mar 06, 2023 12:11 am

Re: Memory leak for cap AC 7.14 running wifi-qcom-ac?

Thu Mar 28, 2024 7:25 pm

I can confirm this behavior, with one hap ac3 and wifi-qcom-ac drivers. Two other hap ac3, with legacy drivers don't show this behavior.
Oh, thanks, this is a good datapoint!

Who is online

Users browsing this forum: Google [Bot], GoogleOther [Bot] and 33 guests