Yota
Very Senior Member
Background:
Many members using RT-AC68U/RT-AC1900P/RT-AC66U_B1 may have noticed high nvram usage since 386.9 firmware.
For example, on 386.7_2, my nvram usage was around 55,000 bytes, but upgrading to 386.9 hit 60,000 bytes, and 386.10 remained around 60,000 bytes.
And some members with multiple OpenVPN clients and long static DHCP lists may see more nvram usage.
RT-AC68U only has a total of 65,536 bytes nvram space (can be seen in the
Third-party developers cannot resize the nvram space because it is closed source, only Asus or Broadcom can resize it.
So in order to avoid possible problems with the system as nvram continues to grow, there is now a mitigation:
According to @RMerlin, moving from the original 5 OpenVPN clients to 2 would leave around 2,700 bytes of free nvram:
Since other nvram settings are not controlled by RMerlin, it looks like we can currently only reduce nvram usage by removing redundant OpenVPN.
Background on this thread:
This thread is a topic forked from the 386.10 firmware release thread to avoid further off-topic discussions under that firmware release thread.
At present, members led by @Yota advocate to think more before removing OpenVPN to take care of those who may use 5 clients.
Members led by @Tech9 and @RMerlin advocate removing 3 OpenVPNs in future releases as a mitigation measure.
Read the previous discussion here:
Some advices:
For those who want to reduce nvram usage with some cleanup commands can see here.
After updating the router a factory reset and reconfigure everything (don't import the backup config) is recommended to remove those invalid nvram settings.
Some useful links provided by member @bennor:
Related Discussion:
Any discussion on this please do so below:
Many members using RT-AC68U/RT-AC1900P/RT-AC66U_B1 may have noticed high nvram usage since 386.9 firmware.
For example, on 386.7_2, my nvram usage was around 55,000 bytes, but upgrading to 386.9 hit 60,000 bytes, and 386.10 remained around 60,000 bytes.
And some members with multiple OpenVPN clients and long static DHCP lists may see more nvram usage.
RT-AC68U only has a total of 65,536 bytes nvram space (can be seen in the
Tools - System info
page of the Merlin firmware), which is half less than other routers.nvram
is used to store system settings. When the space is filled, new settings cannot be written, causing system exceptions and crashes, and those truncated settings may also cause the router to fail to start.Third-party developers cannot resize the nvram space because it is closed source, only Asus or Broadcom can resize it.
So in order to avoid possible problems with the system as nvram continues to grow, there is now a mitigation:
According to @RMerlin, moving from the original 5 OpenVPN clients to 2 would leave around 2,700 bytes of free nvram:
Removing OpenVPN clients 3, 4 and 5 would recover 2700 bytes of nvram,
Since other nvram settings are not controlled by RMerlin, it looks like we can currently only reduce nvram usage by removing redundant OpenVPN.
Background on this thread:
This thread is a topic forked from the 386.10 firmware release thread to avoid further off-topic discussions under that firmware release thread.
At present, members led by @Yota advocate to think more before removing OpenVPN to take care of those who may use 5 clients.
Members led by @Tech9 and @RMerlin advocate removing 3 OpenVPNs in future releases as a mitigation measure.
Read the previous discussion here:
https://snbforums.com/threads/asuswrt-merlin-386-10-is-now-available-for-ac-models.83966/post-827614
https://snbforums.com/threads/asuswrt-merlin-386-10-is-now-available-for-ac-models.83966/post-827622
https://snbforums.com/threads/asuswrt-merlin-386-10-is-now-available-for-ac-models.83966/post-827701
https://snbforums.com/threads/asuswrt-merlin-386-10-is-now-available-for-ac-models.83966/post-827781
https://snbforums.com/threads/asuswrt-merlin-386-10-is-now-available-for-ac-models.83966/post-827796
https://snbforums.com/threads/asuswrt-merlin-386-10-is-now-available-for-ac-models.83966/post-827811
https://snbforums.com/threads/asuswrt-merlin-386-10-is-now-available-for-ac-models.83966/post-827812
https://snbforums.com/threads/asuswrt-merlin-386-10-is-now-available-for-ac-models.83966/post-827814
https://snbforums.com/threads/asuswrt-merlin-386-10-is-now-available-for-ac-models.83966/post-827857
https://snbforums.com/threads/asuswrt-merlin-386-10-is-now-available-for-ac-models.83966/post-827979
https://snbforums.com/threads/asuswrt-merlin-386-10-is-now-available-for-ac-models.83966/post-827981
https://snbforums.com/threads/asuswrt-merlin-386-10-is-now-available-for-ac-models.83966/post-827983
https://snbforums.com/threads/asuswrt-merlin-386-10-is-now-available-for-ac-models.83966/post-827989
https://snbforums.com/threads/asuswrt-merlin-386-10-is-now-available-for-ac-models.83966/post-827622
https://snbforums.com/threads/asuswrt-merlin-386-10-is-now-available-for-ac-models.83966/post-827701
https://snbforums.com/threads/asuswrt-merlin-386-10-is-now-available-for-ac-models.83966/post-827781
https://snbforums.com/threads/asuswrt-merlin-386-10-is-now-available-for-ac-models.83966/post-827796
https://snbforums.com/threads/asuswrt-merlin-386-10-is-now-available-for-ac-models.83966/post-827811
https://snbforums.com/threads/asuswrt-merlin-386-10-is-now-available-for-ac-models.83966/post-827812
https://snbforums.com/threads/asuswrt-merlin-386-10-is-now-available-for-ac-models.83966/post-827814
https://snbforums.com/threads/asuswrt-merlin-386-10-is-now-available-for-ac-models.83966/post-827857
https://snbforums.com/threads/asuswrt-merlin-386-10-is-now-available-for-ac-models.83966/post-827979
https://snbforums.com/threads/asuswrt-merlin-386-10-is-now-available-for-ac-models.83966/post-827981
https://snbforums.com/threads/asuswrt-merlin-386-10-is-now-available-for-ac-models.83966/post-827983
https://snbforums.com/threads/asuswrt-merlin-386-10-is-now-available-for-ac-models.83966/post-827989
Some advices:
For those who want to reduce nvram usage with some cleanup commands can see here.
After updating the router a factory reset and reconfigure everything (don't import the backup config) is recommended to remove those invalid nvram settings.
[FAQ] NVRAM and Factory Default Reset
A lot of questions related to nvram keep popping up on the forums, usually always the same coming back again and again. This post is an attempt to at least clear up a lot of recurring questions. What is nvram? NVRAM stands for Non-Volatile Random Access Memory. It's a small portion of the...
snbforums.com
Some useful links provided by member @bennor:
Asus RT-AC68U 386.2_6 low on free nvram
I upgraded my RT-AC68U from 384.19 to 386.2_6 but i'm getting the following warning. Your router is running low on free NVRAM, which might affect its stability. Review long parameter lists (like DHCP reservations), or consider doing a factory default reset and reconfiguring. Any idea how I can...
snbforums.com
[SOLVED] High nvram usage
I was playing with my RT-AC56U running RMerlin 384.5 and I noticed by accident that the nvram usage is a bit high: NVRAM usage: 65545 / 65536 bytes It seems I am 9 bytes over the limit and yet the router *appears* to be running fine. I do use long wifi passwords, have 30+ static dhcp bindings...
snbforums.com
rt-ac68u nvram running low how to reset and steps after reset to configure
asus rt-ac68u just updated to latest firmware 386.9 getting message low nvram. after doing the reset what are the steps to reinstall latest firmware and reconfigure settings. please give details. thank you , gio
snbforums.com
RT-AC68U NVRAM Low Warning
Hi, I have an Asus RT-AC68U and I'm getting an NVRAM low warning. I found this thread and it looks like there are a couple of helpful things here. https://www.snbforums.com/threads/solved-high-nvram-usage.56848/ I just don't know where to start as far as running the script on the router...
snbforums.com
Approved ways to free up NVRAM space...
I've got a RT-AC68U that is using a lot of nvram. I noticed recently that when I set the https_cert_file, my port forwarding table disappeared. I have seen data disappear before on older routers with smaller nvram setups when I wrote past the size limit, but thought I'd never run into this...
snbforums.com
Any discussion on this please do so below:
Last edited: