Skip to content

High RAM usage on TP-Link Archer C7 v4 #169

Open
@rbino

Description

@rbino

I flashed this firmware since my TP-Link Archer C7 v4 couldn't keep up with the 1Gbps internet using stock OpenWRT (it capped at ~300Mbps).

The firmware worked fine and I was able to hit wire speed, but after some time the network started behaving in a strange way. After some debugging I determined that the cause of the problem was that RAM was quickly exhausted, leading dnsmasq to crash with messages like these:

daemon.crit dnsmasq[4489]: could not get memory
daemon.crit dnsmasq[4489]: FAILED to start up

I tried flashing the stock firmware and compare the memory usage. This is the stock firmware with its factory configuration:

2021-07-26-213630_1900x1236_scrot

This is the openwrt-sfe-flowofflead-ath79 firmware with its factory configuration about a minute after flashing:

2021-07-26-214050_2092x1205_scrot

In the second case the system starts with ~55% free memory and quickly drops to around 40%.

Is this normal behaviour? And if so, what can I do to free up some memory so that I can use the firmware without DHCP failing after some time? Is there a way to debug which applications are using up the memory?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions