<dt><span class="term"><span class="command"><strong>max-journal-size</strong></span></span></dt>
<dd>
<p>
- Sets a maximum size for each journal file
- (see <a class="xref" href="Bv9ARM.ch04.html#journal" title="The journal file">the section called “The journal file”</a>). When the journal file
- approaches
- the specified size, some of the oldest transactions in the
- journal
- will be automatically removed. The largest permitted
- value is 2 gigabytes. The default is
- <code class="literal">unlimited</code>, which also
- means 2 gigabytes.
- This may also be set on a per-zone basis.
+ Sets a maximum size for each journal file (see
+ <a class="xref" href="Bv9ARM.ch04.html#journal" title="The journal file">the section called “The journal file”</a>), expressed in bytes
+ or, if followed by an optional unit suffix ('k',
+ 'm', or 'g'), in kilobytes, megabytes, or gigabytes.
+ When the journal file approaches the specified size,
+ some of the oldest transactions in the journal
+ will be automatically removed. The largest
+ permitted value is 2 gigabytes. Very small
+ values are rounded up to 4096 bytes. You
+ can specify <code class="literal">unlimited</code>, which
+ also means 2 gigabytes. If you set the limit to
+ <code class="literal">default</code> or leave it unset, the
+ journal is allowed to grow up to twice as large as
+ the zone. (There is little benefit in storing
+ larger journals.)
+ </p>
+ <p>
+ This option may also be set on a per-zone basis.
</p>
</dd>
<dt><span class="term"><span class="command"><strong>max-records</strong></span></span></dt>
<div class="titlepage"><div><div><h3 class="title">
<a name="relnotes_features"></a>New Features</h3></div></div></div>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem">
+ <p>
+ Setting <span class="command"><strong>max-journal-size</strong></span> to
+ <code class="literal">default</code> limits journal sizes to twice the
+ size of the zone contents. This can be overridden by setting
+ <span class="command"><strong>max-journal-size</strong></span> to <code class="literal">unlimited</code>
+ or to an explicit value up to 2G. Thanks to Tony Finch for
+ the contribution. [RT #38324]
+ </p>
+ </li>
<li class="listitem">
<p>
The <span class="command"><strong>new-zones-directory</strong></span> option allows
<div class="titlepage"><div><div><h3 class="title">
<a name="relnotes_features"></a>New Features</h3></div></div></div>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem">
+ <p>
+ Setting <span class="command"><strong>max-journal-size</strong></span> to
+ <code class="literal">default</code> limits journal sizes to twice the
+ size of the zone contents. This can be overridden by setting
+ <span class="command"><strong>max-journal-size</strong></span> to <code class="literal">unlimited</code>
+ or to an explicit value up to 2G. Thanks to Tony Finch for
+ the contribution. [RT #38324]
+ </p>
+ </li>
<li class="listitem">
<p>
The <span class="command"><strong>new-zones-directory</strong></span> option allows
max-cache-ttl <integer>;
max-clients-per-query <integer>;
max-ixfr-log-size ( default | unlimited | <sizeval> ); // obsolete
- max-journal-size ( unlimited | <sizeval> );
+ max-journal-size ( default | unlimited | <sizeval> );
max-ncache-ttl <integer>;
max-records <integer>;
max-recursion-depth <integer>;
max-cache-ttl <integer>;
max-clients-per-query <integer>;
max-ixfr-log-size ( default | unlimited | <sizeval> ); // obsolete
- max-journal-size ( unlimited | <sizeval> );
+ max-journal-size ( default | unlimited | <sizeval> );
max-ncache-ttl <integer>;
max-records <integer>;
max-recursion-depth <integer>;
port <integer> ] ) [ key <string> ]; ... };
max-ixfr-log-size ( default | unlimited |
<sizeval> ); // obsolete
- max-journal-size ( unlimited | <sizeval> );
+ max-journal-size ( default | unlimited | <sizeval> );
max-records <integer>;
max-refresh-time <integer>;
max-retry-time <integer>;
<ipv4_address> [ port <integer> ] | <ipv6_address> [ port
<integer> ] ) [ key <string> ]; ... };
max-ixfr-log-size ( default | unlimited | <sizeval> ); // obsolete
- max-journal-size ( unlimited | <sizeval> );
+ max-journal-size ( default | unlimited | <sizeval> );
max-records <integer>;
max-refresh-time <integer>;
max-retry-time <integer>;