# \[Bug Report\] GL-MT6000 (Flint 2) Firmware 4.11.1 / 4.11.2: Unbounded /tmp/beerocks/logs growth fills /tmp to 100%, breaking WAN DNS (DNS\_PROBE\_FINISHED\_BAD\_CONFIG)

**URL:** <https://forum.gl-inet.com/t/bug-report-gl-mt6000-flint-2-firmware-4-11-1-4-11-2-unbounded-tmp-beerocks-logs-growth-fills-tmp-to-100-breaking-wan-dns-dns-probe-finished-bad-config/73284>\
**Category:** Cellular, USB modems\
**Created:** [November 25, 2026, 12:00pm UTC](https://forum.gl-inet.com/t/bug-report-gl-mt6000-flint-2-firmware-4-11-1-4-11-2-unbounded-tmp-beerocks-logs-growth-fills-tmp-to-100-breaking-wan-dns-dns-probe-finished-bad-config/73284 "2026-11-25T12:00:52Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![glinetuserme](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/g/e99b99/32.png) [@glinetuserme](https://forum.gl-inet.com/u/glinetuserme)\
**Post date:** [November 25, 2026, 12:00pm UTC](https://forum.gl-inet.com/t/bug-report-gl-mt6000-flint-2-firmware-4-11-1-4-11-2-unbounded-tmp-beerocks-logs-growth-fills-tmp-to-100-breaking-wan-dns-dns-probe-finished-bad-config/73284/1 "2026-11-25T12:00:53Z")

</div>

### Environment

- **Device:** GL-MT6000 (Flint 2) reproduced identically on two units (main router + mesh node)
- **Firmware Version:** `4.11.1` (OpenWrt 21.02-SNAPSHOT `r15812+1102-46b6ee7ffc`, build timestamp `Nov 22 11:38`); also likely affecting `4.11.2` (released `Nov 25`), whose changelog only lists two targeted security fixes (`rtty` hardening and parameter validation) with no mention of `prplMesh` logging changes.

### Summary

In firmware `4.11.1`, `prplMesh` (`beerocks`) continuously writes ~1 MB rotated log files into `/tmp/beerocks/logs` with no file count limit. Within ~24 hours of uptime, `/tmp` (`494.7M` `tmpfs`) reaches 100% capacity (`0`–`44K` free). Once `/tmp` is full, WAN DHCP renewals fail to populate `/tmp/resolv.conf.d/resolv.conf.auto`, leaving `dnsmasq` without upstream DNS servers and breaking internet resolution across all LAN clients (`DNS_PROBE_FINISHED_BAD_CONFIG`).

### Root Cause

Inspecting `/opt/prplmesh/config/beerocks_controller.conf` (and `beerocks_agent.conf`), the service startup script generates the following `[log]` configuration:

```ini
[log]
log_global_levels=error,info,warning,fatal
log_global_syslog_levels=error,info,warning,fatal,trace,debug
log_global_size=1000000
log_files_enabled=true
log_files_path=/tmp/beerocks/logs
log_files_auto_roll=true
log_stdout_enabled=false
log_syslog_enabled=false

```

Because `log_files_auto_roll=true` has no max-file retention cap and `info` logging is enabled, `beerocks_*.20*.log` accumulates until `/tmp` is completely exhausted:

```auto
Filesystem Size Used Available Use% Mounted on
tmpfs 494.7M 494.6M 44.0K 100% /tmp

505228 /tmp/beerocks

```

When `/tmp` hits 100%, `udhcpc` cannot write upstream DNS entries to `/tmp/resolv.conf.d/resolv.conf.auto`, leaving the file empty while `dnsmasq` remains pointed at `resolv-file=/tmp/resolv.conf.d/resolv.conf.auto`.

### Temporary Workaround (Until Patched)

1. **Prune rotated `beerocks` logs every 10 minutes via system `cron`** (note: GL.iNet's default `crond` only watches `/tmp/gl_crontabs`, so `/etc/init.d/cron` must also be enabled):

2. **Ensure `resolv.conf.auto` stays populated** by setting static upstream resolvers on `wan` (or running `ifup wan` after clearing `/tmp`):

### Suggested Fix for Next Release

Set `log_files_enabled=false` (or restrict `log_global_levels=error,fatal` with a strict rotated file count cap) in the `prplMesh` config generator so `/tmp/beerocks/logs` cannot exhaust RAM on `tmpfs`.

---

<div class="post-metadata">

**Author:** ![adam2872](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/a/d9b06d/32.png) [@adam2872](https://forum.gl-inet.com/u/adam2872)\
**Post date:** [November 25, 2026, 1:13pm UTC](https://forum.gl-inet.com/t/bug-report-gl-mt6000-flint-2-firmware-4-11-1-4-11-2-unbounded-tmp-beerocks-logs-growth-fills-tmp-to-100-breaking-wan-dns-dns-probe-finished-bad-config/73284/2 "2026-11-25T13:13:28Z")

</div>

I have found the same issue as this. I have disabled mesh for now. Hope an updated FW is released soon.

---

<div class="post-metadata">

**Author:** ![bluephi](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/b/ea666f/32.png) [@bluephi](https://forum.gl-inet.com/u/bluephi)\
**Post date:** [November 25, 2026, 1:53pm UTC](https://forum.gl-inet.com/t/bug-report-gl-mt6000-flint-2-firmware-4-11-1-4-11-2-unbounded-tmp-beerocks-logs-growth-fills-tmp-to-100-breaking-wan-dns-dns-probe-finished-bad-config/73284/3 "2026-11-25T13:53:29Z")

</div>

@charles2 Can you have a look on this?  
I've not enabled mesh

---

<div class="post-metadata">

**Author:** ![charles2](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/c/9dc877/32.png) [@charles2](https://forum.gl-inet.com/u/charles2)\
**Post date:** [November 26, 2026, 2:50am UTC](https://forum.gl-inet.com/t/bug-report-gl-mt6000-flint-2-firmware-4-11-1-4-11-2-unbounded-tmp-beerocks-logs-growth-fills-tmp-to-100-breaking-wan-dns-dns-probe-finished-bad-config/73284/5 "2026-11-26T02:50:02Z")

</div>

Hi,

Thank you for the detailed report.

We’ve reported this issue to the relevant team for further investigation.

If possible, could you please run the following command on the affected devices before clearing the logs or rebooting, and share the output with us?

```auto
uptime
ls -agh /tmp/beerocks/logs/
du -sh /tmp/beerocks/logs/

```

**Temporary workaround**

- On the Controller, run the following commands：

```auto
/opt/prplmesh/bin/beerocks_cli -c "bml_set_log_level all a 0"
rm -r /tmp/beerocks/logs/*

```

- For all Mesh nodes, including the main node and child nodes, you can use the following commands.

```auto
sed -i '/^log_files_enabled=/s/=.*/=false/' /opt/prplmesh/config/beerocks_controller.conf
sed -i '/^log_files_enabled=/s/=.*/=false/' /opt/prplmesh/config/beerocks_agent.conf

```

After running these two commands, we recommend rebooting the device.

If you choose not to reboot, please run the following two commands instead.

```auto
rm -r /tmp/beerocks/logs/*
/etc/init.d/gl-mesh restart

```

If the issue persists, please feel free to contact us.

Thank you for your understanding and support.

---

<div class="post-metadata">

**Author:** ![kovadani](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/k/e19adc/32.png) [@kovadani](https://forum.gl-inet.com/u/kovadani)\
**Post date:** [November 27, 2026, 10:22am UTC](https://forum.gl-inet.com/t/bug-report-gl-mt6000-flint-2-firmware-4-11-1-4-11-2-unbounded-tmp-beerocks-logs-growth-fills-tmp-to-100-breaking-wan-dns-dns-probe-finished-bad-config/73284/6 "2026-11-27T10:22:34Z")

</div>

I’m seeing the same log buildup on a Flint 2 (GL-MT6000) running firmware 4.11.2 with Mesh enabled. About 36 hours after updating, internet access stopped and the router became very slow. A reboot restored connectivity. After 2 hours and 29 minutes, `/tmp/beerocks/logs` was already using about 37 MiB and was still growing.

---

<div class="post-metadata">

**Author:** ![kovadani](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/k/e19adc/32.png) [@kovadani](https://forum.gl-inet.com/u/kovadani)\
**Post date:** [November 27, 2026, 11:48am UTC](https://forum.gl-inet.com/t/bug-report-gl-mt6000-flint-2-firmware-4-11-1-4-11-2-unbounded-tmp-beerocks-logs-growth-fills-tmp-to-100-breaking-wan-dns-dns-probe-finished-bad-config/73284/7 "2026-11-27T11:48:10Z")

</div>

Thanks for the quick fix! I tested firmware 4.11.3 on my Flint 2 and can confirm the Mesh log buildup is resolved. When a new log file was created, the oldest one was removed, and `/tmp` usage stayed at 2%.

---

<div class="post-metadata">

**Author:** ![glinetuserme](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/g/e99b99/32.png) [@glinetuserme](https://forum.gl-inet.com/u/glinetuserme)\
**Post date:** [November 27, 2026, 4:12pm UTC](https://forum.gl-inet.com/t/bug-report-gl-mt6000-flint-2-firmware-4-11-1-4-11-2-unbounded-tmp-beerocks-logs-growth-fills-tmp-to-100-breaking-wan-dns-dns-probe-finished-bad-config/73284/8 "2026-11-27T16:12:38Z")

</div>

Thank you for the quick fix, do you still need me to run the command and share the output?

---

<div class="post-metadata">

**Author:** ![Dimension7](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/dimension7/32/34267_2.png) [@Dimension7](https://forum.gl-inet.com/u/Dimension7)\
**Post date:** [November 27, 2026, 7:35pm UTC](https://forum.gl-inet.com/t/bug-report-gl-mt6000-flint-2-firmware-4-11-1-4-11-2-unbounded-tmp-beerocks-logs-growth-fills-tmp-to-100-breaking-wan-dns-dns-probe-finished-bad-config/73284/10 "2026-11-27T19:35:15Z")

</div>

I'm very new with running commands like this through SSH.

Could i run these commands also on my Flint 3 with 4.10.3 and Mesh on?

Because, since updating my Flint 3 with a No settings update from 4.10.2 to 4.10.3 and a clean Slate 7 as a mesh node with 4.10.3, my memory is also very high with or without Adguard On. I also deleted some Adguard filter lists, but my memory sits on about 85-87%. When my Flint 3 was on 4.10.1 an 4.10.2 with Slate 7 as mesh node on 4.10.1 and more filter lists in Adguard, my memory was steady 78-79%.

But my Flint 3 uses 7% less Flash now at this moment with 4.10.3 comparing to when it was running on 4.10.1 and 4.10.2.

Edit:

I just started local SSH and memory usage dropped 4% and did nothing in SSH.

Directly Closing SSH again, is causing another drop to 80.3% memory usage.

I don't understand why SSH is causing a memory drop?
