Community discussions

MikroTik App
 
nikitaaf
just joined
Topic Author
Posts: 1
Joined: Wed Jan 13, 2021 3:00 pm
Location: Saint-Petersburg, Russia

High memory usage

Wed Jan 13, 2021 3:25 pm

Hello,
I'm using RB750Gr3 with RouterOS v6.47.8.I see memory usage grows continuously during uptime. Features I use on the device:
  • IPSec over GRE
  • Static routing (5 entries)
  • DHCP server
  • DNS with 5 static A entries and DoH enabled
  • Firewall/NAT masquerade
After a month of uptime there is less than 15% of free memory. I tried some common tricks like clearing log and disabling unused packages but it didn't help. Any advices?
Image
 
encorer
just joined
Posts: 4
Joined: Sat Mar 23, 2019 10:15 pm

Re: High memory usage

Sun Jan 24, 2021 8:54 pm

Same here, hap ac lite2, if DoH enabled, memory starts to fill, and after there was no RAM left, MikroTik began to work unstable, the web interface and winbox became unavailable. If i turn off DoH - memory returns.

daily.gif
weekly.gif
You do not have the required permissions to view the files attached to this post.
 
alfafahmi
just joined
Posts: 3
Joined: Thu Jun 23, 2016 5:32 am

Re: High memory usage

Sat Jul 24, 2021 3:43 am

I got same problem, my router using CCR1009. Any update to solved this ?
Memory Usage CCR.png
You do not have the required permissions to view the files attached to this post.
 
Kindis
Member
Member
Posts: 434
Joined: Tue Nov 01, 2011 6:54 pm
Location: Sweden

Re: High memory usage

Sun Jul 25, 2021 11:26 am

If you use DoH uncheck Verify DoH Certificate. This should solve the issue until MT fixes the issue.
 
User avatar
cgood
newbie
Posts: 30
Joined: Sat May 31, 2014 4:01 pm
Location: Russia, Sochi
Contact:

Re: High memory usage

Fri Aug 06, 2021 12:23 pm

If you use DoH uncheck Verify DoH Certificate. This should solve the issue until MT fixes the issue.
Thanks
 
User avatar
Jotne
Forum Guru
Forum Guru
Posts: 3279
Joined: Sat Dec 24, 2016 11:17 am
Location: Magrathean

Re: High memory usage

Fri Aug 06, 2021 7:07 pm

You should use certificate.
Problem is the DOH provider you do use.
After change to https://dns.nextdns.io/dns-query memory problem did go away.
 
alfafahmi
just joined
Posts: 3
Joined: Thu Jun 23, 2016 5:32 am

Re: High memory usage

Sun Sep 19, 2021 7:41 pm

How if I not use DoH? what need to check ?
I try downgrade to Long Term firmware, but still get same result.
 
sindy
Forum Guru
Forum Guru
Posts: 10205
Joined: Mon Dec 04, 2017 9:19 pm

Re: High memory usage

Sun Sep 19, 2021 9:34 pm

How long does it take the memory to get full? How many devices at LAN side?

Connection tracking can consume a lot of memory, but it normally releases it as the connection ends, so if it takes more than a day for the memory to get exhausted, it should not be the reason. If it's less than a day, broken TCP connections can survive for next 24 hours so it could be your traffic pattern that causes the memory to get exhausted.
 
alfafahmi
just joined
Posts: 3
Joined: Thu Jun 23, 2016 5:32 am

Re: High memory usage

Sat Sep 25, 2021 1:12 pm

5 - 6 days to take memory until full and restart. And about 50 device connected in LAN.
My Router also as openVPN server
 
jocelot
just joined
Posts: 1
Joined: Mon Oct 25, 2021 10:26 am

Re: High memory usage

Tue Dec 21, 2021 11:07 am

Fixed in 7.1. 2 days testing - no memory leaking. Device - hEX.
 
pgabor
just joined
Posts: 4
Joined: Mon Mar 21, 2022 12:57 am

Re: High memory usage

Mon Mar 28, 2022 11:20 pm

Memory leak is still with v7.1.5 (stable)
Edited:
I disabled the LTE interface and memory growth is gone.

Who is online

Users browsing this forum: coreshock, Google [Bot], GoogleOther [Bot], johnson73 and 74 guests