What is using up my memory?

I wonder if there is a way to check what’s using up my memory?
Something like “ps aux” on Unix :slight_smile:
Attached graphs will show why would I like know. When it went down the router actually crashed and rebooted. Log’s were not too useful, unfortunately.
.

dynamic address lists generation by a firewall rule?
ipv6 neighbor list filling up?
dns?
web proxy?
connection tracking?

ipv6 is disabled
I did check for new firewall roles, I do have a script which dynamically generated them but there were not too much more than before, maybe extra 10 rules
DNS has 15 static record.

What is the output of the following commands if you run both now and then both e.g. 8 hours later?
:put [:len [/ip firewall address-list find]]
:put [:len [/ip firewall connection find]]

Do you use DoH (DNS over HTTPS)?

:put [:len [/ip firewall address-list find]]
51
:put [:len [/ip firewall connection find]]
318

I’m going to get new numbers in a few hours/tomorrow

I do use DoH.


memory or flash ?

If flash

  • turn off graphing
  • delete all of your backups ( then create a new backup )

Update from today

> :put [:len [/ip firewall address-list find]]
53
> :put [:len [/ip firewall connection find]]
425



memory or flash ?

→ my memory us running low, if that’s what you meant

No backups right now on disk
If I disable graphing how do I check the progress?

See http://forum.mikrotik.com/t/doh-memory-bug/148742/1 .

The number of address-list items and tracked connections is so low that it cannot be related to high memory usage.

Thank you, I use OpenDNS with DoH for more than a year now and didn’t notice issues.
I have an openvpn client on my router, so far seems this is using up the memory, I just disabled it and going to keep an eye on the graphs.

What is using up my memory?

Try the medical forum, but probably the usual suspects, alcohol, drugs or alzheimers. :slight_smile:

Its Friday, i get silly on Fridays!

Confirmed, once I disabled the openvpn client my memory usage dropped:

The follow up question is, how can I stop openvpn client from using up so much memory? :slight_smile:


What routerOS version do you run? Have you tried upgrade/downgrade?
If you use DoH, try to disable it, and see what happens. For me with one DoH provider i did get saw tooth pattern, see link to Sindy.
Even if memory goes up/down, it worked. Change to other DoH provider fixed my problem.

routerOS:

system package update check-for-updates
            channel: stable
  installed-version: 6.49.4
     latest-version: 6.49.4
             status: System is already up to date

I already determined it is caused by the open-vpn client/interface - see my comment above. Next step is to find how to stop this from using up the memory.