bind: named hangs systems because it exhausts memory
Open
@nmeyerhans is already working on this.
Since Sep 24, 2025.
bug
- Dominant language
- Makefile
- Stars
- 4.6k
- Forks
- 4k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 134
Description
Package Name
bind
Maintainer
@nmeyerhans
OpenWrt Version
SNAPSHOT
OpenWrt Target/Subtarget
x86/64
Steps to Reproduce
- Install both
isc-dhcp-serveandbind-server - Configure
dynamicdnsso that updates are sent tonamed - Let it run for a few days
Actual Behaviour
It will eventually exhaust system memory and crash.
Possible Fix
To the init file add:
proud_set_param limits "data=nnnnn"
so that if it is leaking memory, it eventually crashes and gets restarted rather than compromising the entire system. (Or possibly "as=nnnnn".)
Question is, what's a reasonable amount of memory for it to run in? On my system with ~200 hosts, it's taking:
root@OpenWrt:~# ps -p $(pidof named) -lll
F S UID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME CMD
4 S 57 18981 1 3 80 0 - 12458 do_epo ? 00:37:20 named
Confirmation Checklist
- The package is maintained in this repository.
- I understand that issues related to the base OpenWrt repository or LuCI repository will be closed.
- I am reporting an issue for OpenWrt, not an unsupported fork.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.