decoderman / amtm

amtm - the Asuswrt-Merlin Terminal Menu
https://diversion.ch/amtm.html
GNU General Public License v3.0
175 stars 12 forks source link

Added 5GB and 10GB swap options #14

Closed RavenSystem closed 2 years ago

RavenSystem commented 2 years ago

Added 5GB and 10GB swap size options. Useful when router performs any task with memory work peaks (Eg: Unbound rebuilding database with many zones).

decoderman commented 2 years ago

I keep swap size options synchronized with Skynet. Therefore it affects Skynet, amtm and Diversion. Give me some time to consider your pull request. BTW you missed to adjust the selection numbers [1-2 e=Exit].

RavenSystem commented 2 years ago

Many thanks.

I am currently using a swap of 10GB, created by AMTM using this script. AMTM shows 10GB of swap, and deleting it works fine too:

Captura de pantalla 2021-12-19 a las 18 39 35

And RMerlin fixed webUI memory stats to allow use of a greater swap: https://github.com/RMerl/asuswrt-merlin.ng/commit/aac3e2a841abff4b23c0e7ed436f321cc4b7d967