Bug #89

bind9 grows too large by default

Added by Dave Täht on Apr 16, 2011. Updated on Jun 24, 2014.
Closed Normal Evan Hunt

Description

It is possible to limit the size of bind to below 24MB. Less than 32MB would probably allow for decent caching.

History

Updated by Dave Täht on Apr 16, 2011.
Updated by Dave Täht on Jul 27, 2011.
Updated by Dave Täht on Jul 31, 2011.
I am under the impression there is a way to limit the jnl size to something sane, and save more memory with acache? Bind is currently staying sane and under 22MB of ram, which leaves room for strongswan (48%) of ram, and the rest of the core utils, without endangering swap.
Updated by Evan Hunt on Jul 31, 2011.
The max-journal-size option in named.conf limits the journal file size. When the journal gets above the specified size, it will dump the current zone data to the zonefile, create a new copy of the journal file with the oldest records omitted, and replace the old copy with the new one.

You could also have a daily cron job that runs “rndc freeze” and “rndc thaw”–that will cause the current version of the zone data to be dumped to the zone file, and the journal file to be deleted entirely. (This is problematic if you want to use IXFR, as the journal file is used to reconstruct older versions of the zone data.)

Updated by Dave Täht on Sep 4, 2011.
We now limit the journal size to 100k per zone.

As for a daily cron job, the syntax is changing with 9.9 and this can be safely deferred until the next release.

Updated by Jim Gettys on Sep 20, 2011.
Updated by Dave Täht on Apr 20, 2012.
cron job needed? syntax stable?
Updated by Dave Täht on Apr 21, 2012.
Updated by Dave Täht on Jun 24, 2014.

This is a static export of the original bufferbloat.net issue database. As such, no further commenting is possible; the information is solely here for archival purposes.
RSS feed

Recent News & Articles

Mar 21, 2019 Wiki page
Dave Taht's Take on TCP
Mar 17, 2019 Wiki page
Jake Holland's Stance on ECN
Sep 6, 2018 Wiki page
Pete Heist's Thoughts on ECN
Sep 5, 2018 Wiki page
Dave Taht's Stance on ECN
Sep 4, 2018 Wiki page
Jonathan Morton's Take on ECN

Find us elsewhere

Bufferbloat Mailing Lists
#bufferbloat on Twitter
Google+ group
Archived Bufferbloat pages from the Wayback Machine

Sponsors

Comcast Research Innovation Fund
Nlnet Foundation
Shuttleworth Foundation
GoFundMe

Bufferbloat Related Projects

Congestion Control Blog
Lede Project (OpenWrt)
Flent Network Test Suite
Sqm-Scripts
The Cake shaper
AQMs in BSD
IETF AQM WG

Network Performance Related Resources


Jim Gettys' Blog - The chairman of the Fjord
Toke's Blog - Karlstad University's work on bloat
Voip Users Conference - Weekly Videoconference mostly about voip
Candelatech - A wifi testing company that "gets it".