Project

General

Profile

Actions

Bug #10624

open

Unbound configuration memory leak with python module + register DHCP leases active

Added by Adrien Carlyle over 1 year ago. Updated 8 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
DNS Resolver
Target version:
-
Start date:
06/02/2020
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.5
Affected Architecture:
SG-1100, SG-3100

Description

Issue reported and diagnosed on forums here: Was able to see evidence of this on SG-1100 and SG-3100.
https://forum.netgate.com/topic/154113/sg-1100-2-4-5-unbound-python-module-dhcp-lease-dns-registration-memory-leak

TLDR: When an unbound python module is configured, and the "Register DHCP leases in the DNS resolver" option is enabled. DHCP clients joining the network cause unbound memory usage to increase each time.

If I disable either the python module, or the option to register leases, things appear to function normally.


Related issues

Related to Bug #5413: Incorrect Handling of Unbound Resolver [service restarts, cache loss, DNS service interruption]ConfirmedRenato Botelho11/10/2015

Actions
Actions #1

Updated by Jim Pingle over 1 year ago

  • Subject changed from Unbound configuration memory leak to Unbound configuration memory leak with python module + register DHCP leases active
Actions #2

Updated by Jim Pingle 8 months ago

This would likely be fixed by also solving #5413 since it wouldn't restart in this case. Though the actual memory leak should be re-tested on unbound 1.13.1 and if it's still present, it should be reported upstream to the Unbound devs.

Actions #3

Updated by Jim Pingle 8 months ago

  • Related to Bug #5413: Incorrect Handling of Unbound Resolver [service restarts, cache loss, DNS service interruption] added
Actions

Also available in: Atom PDF