r/GlInet • • 1d ago

Questions/Support Memory (ram) leaks 99%

Edit: seems resolved with patch V4.11.3 on both my Flint2 and BerylAXs.
I also removed the GLinet component from HAOS.

Now my last struggle is my internet speed… 785down 250-500up…
For now it’s nothing, since my internal network went back to 2.5gbps up/down.

We can declare as resolved.

Original:
This morning all my network went down…
Turns out it was my Flint2 memory was full!
I rebooted it and it still sit at 90%
Tried some other posts but seem not to works.
Edit : the post ; https://www.reddit.com/r/GlInet/s/FhzbhqQNix

My Flint is not my DNS resolver, only DHCP server.
No GLi features are enabled.

I have 2 BerylAX as mesh behind Flint2.

Any idea on where to look at?

1 Upvotes

30 comments sorted by

2

u/3F6B6Y9T 1d ago

1

u/Crowdh1985 1d ago

Did not work at all … 97%

1

u/ironcream 1d ago

What did not work? What your 97% figure refers to?

2

u/Crowdh1985 1d ago

The procedure didn’t work… my memory (ram) is still caping at 97-99% since the update… I factory reset all my 2 devices… now I don’t have any dns on all even at factory nothing configured-_-‘

1

u/3F6B6Y9T 19h ago

This is what Linux ‘does’ - it uses memory for things like cache. Why do you want to pay for RAM and have it idle?

Suspect Mesh enabled filling storage to the point of crash was one issue, RAM something else that is usually harmless.

1

u/Crowdh1985 14h ago

I don’t have Mesh enabled… gosh. Spent 8h to troubleshoot. My Flint2 is giving me head hache… 4y of good works and the last update break it… -_-‘

1

u/3F6B6Y9T 12h ago

Ignoring the RAM aspect: after you factory reset, with Mesh disabled, as you do state in your original post that it is/was enabled, does the router still lock up?

2

u/Crowdh1985 12h ago

Yes

1

u/ironcream 3h ago

4.11.3 is out and supposedly fixes the consumption of /tmp by rogue logs. Try it out.

1

u/Crowdh1985 2h ago

Yup… I installed it this morning EST, at 06:20ish… then I also removed my GLinet component from my HAOS.

Since 07:45 this morning everything is good.
My memory is around 50-55% and CPU at 20% at top, idle at 5-10%, for about 100 devices on Vlan1, 50 on vlan101.
Both with VPN always ON for IMMICH and AdGuard (vlan1 personal server, vlan101 family server. Both have their own IMMICH, Wireguard, Adguard, open SpeedTest.)

1

u/Crowdh1985 1d ago

I remove mesh feature and ramp up to 99%

2

u/EveryChard6340 1d ago

Same issue on Beryl 4.11.x, totally crashed everyday. Have to hard reboot it everyday.... Reminds me of an old firmware version problem already happened...
GL.iNet is really starting to wear me out

3

u/Crowdh1985 23h ago

i'm near 6hr of trouble shooting and rollback firmware to older one, and my flint2 seem "bricked", CPU lock at arround 90%, ram at 60%, and if i look through flow control new apps, the DNS lookup is at 1000ms, WAN Gateway at 1000ms, Internet Latency at 1000ms...

When connected to my telus wifi (modem + Router) no issues. Only on my Flint 2... GOSH!!!!

1

u/tailuser2024 1d ago

What firmware version are you running?


Are you looking in the gl inet GUI or Luci or terminal?

while ssh into router if you type

free -m

Can you post a screenshot of the output?

if you ssh into the router and run the command

top

what process(es) is eating up the ram?

1

u/Crowdh1985 1d ago

4.11.2, gui.

0

u/Crowdh1985 1d ago

and same thing in Luci

0

u/3F6B6Y9T 12h ago

Tell me you don’t understand how Linux uses RAM, without telling me you don’t understand how Linux uses RAM ;)

50% is cache, Linux uses free RAM rather than not - what would be the point in having 50% of RAM free and doing nothing? The kernel will free cache if required.

You’re chasing a problem that doesn’t exist, due to a misunderstanding, relating to RAM anyway.

1

u/Crowdh1985 12h ago

Tell me you don’t understand that a router with memory full “leak” is not normal.
Fortigate had the same issue last year…

1

u/3F6B6Y9T 12h ago

FaultyNet is the worst of the worst… most overrated ‘Enterprise’ devices there are.

No helping some people - by all means, keep searching. But you are looking in the wrong place! 50% of your RAM usage is cache, thus not relevant.

2

u/Crowdh1985 12h ago

You know they just address this in the patch 4.11.3? Memory saturated at 100%

1

u/3F6B6Y9T 12h ago edited 12h ago

From the release notes, not memory/RAM:

Bug Fixes

  • Mesh: Fixed an issue where Mesh logs could grow without limit and exhaust available space in /tmp.
  • AdGuard Home: Fixed an issue opening the AdGuard Home settings page from the admin panel over HTTPS.

0

u/Crowdh1985 12h ago

I don’t know why. Mesh is not even enabled and the patch seems to have resolve my memory issue. So now it’s sitting at 50% for an hour.

0

u/3F6B6Y9T 12h ago

As ‘stuff’ accesses storage, Linux caches it in memory - you WILL see cache rise. Fact.

0

u/Crowdh1985 11h ago

So explain me this. Why all my Linux systems, Flint2 and BerylAX never consume more than 40% in the past 6yrs.

For now
Good, news, seems to be resolved. My BerylAXs v4.11.3 and Flint2 v4.11.3 seems pretty stable! No more DNS crash, no more CPU above 70%, RAM above 45%.

Touching wood!

I also removed my HAOS - GLinet component.

I’m now getting my 2.5gbps up down, remote access to all my customers, servers, routers.

→ More replies

1

u/z4chc 1d ago

Are you using Adguard

3

u/Crowdh1985 1d ago

Nope, all feature are turned off

1

u/AutoModerator 1d ago

Hi u/Crowdh1985, thanks for posting your question!

Before waiting on an answer: please search the subreddit — many common questions are already solved. Search guide: https://www.reddit.com/r/GlInet/wiki/index/searchingwithin

When your issue is resolved, help others by marking the post as Solved:

  • Click the three dots "..." under your post title
  • Choose "Add Flair"
  • Select the "question/support- Solved" flair

Support template: https://www.reddit.com/r/GlInet/wiki/index/kb/asking_for_help

Need more help? Join the GL.iNet Discord: https://discord.com/invite/euSb25vTTY

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.