knubbze
Occasional Visitor
I'm running AsusWRT-Merlin on an RT-AC68P, and have installed Entware-ARM, using the integrated 'entware-setup.sh' script, and then setting up a swap file, as advised in this tutorial.
But but there appears to be a problem with the swap file getting mounted twice(?):
When I run the 'free' command shortly after boot, it reports the correct size of the swap file allocation (512MB, as specified in the tutorial):
But, if I wait a while longer, and type 'free' again, it now says the swap memory is double what it should be:
The web GUI also reports the swap size as 1024MB:
It then stays at 1048568 until a reboot. Is this an error, and if so, what is going wrong? I figured maybe /jffs/scripts/post-mount was being run twice at startup, perhaps?
But but there appears to be a problem with the swap file getting mounted twice(?):
When I run the 'free' command shortly after boot, it reports the correct size of the swap file allocation (512MB, as specified in the tutorial):
Code:
adm@router:/tmp/home/root# free
total used free shared buffers
Mem: 255740 48884 206856 0 876
-/+ buffers: 48008 207732
Swap: 524284 0 524284
But, if I wait a while longer, and type 'free' again, it now says the swap memory is double what it should be:
Code:
adm@router:/tmp/home/root# free
total used free shared buffers
Mem: 255740 50576 205164 0 1180
-/+ buffers: 49396 206344
Swap: 1048568 0 1048568
The web GUI also reports the swap size as 1024MB:
It then stays at 1048568 until a reboot. Is this an error, and if so, what is going wrong? I figured maybe /jffs/scripts/post-mount was being run twice at startup, perhaps?
Last edited: