Hi,
I have several CRS326-24G-2S+ switches running RouterOS (now 6.43.4). They have 16MB internal storage and on all of them, that’s almost full.
When I installed SSL certificates on one, it ran out of memory completely: free-hdd-space: 0
On others, memory is getting close to exhaustion:
/system resource print
uptime: 48w2d5h12m42s
version: 6.40.5 (stable)
build-time: Oct/31/2017 13:05:15
factory-software: 6.38.2
free-memory: 470.9MiB
total-memory: 503.4MiB
cpu: ARMv7
cpu-count: 1
cpu-frequency: 800MHz
cpu-load: 0%
free-hdd-space: 4340.0KiB
total-hdd-space: 16.0MiB
write-sect-since-reboot: 64552
write-sect-total: 66432
bad-blocks: 0%
architecture-name: arm
board-name: CRS326-24G-2S+
platform: MikroTik
The standard packages contain a lot of stuff I don’t need, but I see no way to remove them (and I’m not sure it will matter that much).
When the memory was 100% full, configuration changes didn’t work any more. I’m not so sure the switches are still fully functional when they are near 100%, there might be other processes (other then SSL) that run into memory problems too.
In my logs:
Oct 20 10:10:56 x.x.x.x certificate,error CRL size exceeds free disk space, aborting update
Oct 20 11:10:56 x.x.x.x certificate,error CRL size exceeds free disk space, aborting update
Oct 20 12:10:56 x.x.x.x certificate,error CRL size exceeds free disk space, aborting update
- Is there anything I can do to free up memory?
- Is it still save to upgrade such a router? I’m worried that running out of memory during upgrade might give horrible results in a production environment.
- Is there a way to expand the memory?