You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by or...@apache.org on 2017/09/04 12:30:49 UTC
qpid-broker-j git commit: QPID-7907: [Documentation] Simplify
documentation for BDB JE HA maximim message size limit
Repository: qpid-broker-j
Updated Branches:
refs/heads/master 11a74cabc -> 4018399ac
QPID-7907: [Documentation] Simplify documentation for BDB JE HA maximim message size limit
Project: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/commit/4018399a
Tree: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/tree/4018399a
Diff: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/diff/4018399a
Branch: refs/heads/master
Commit: 4018399ac50147ea33d0e46d33a9fd2ac430285c
Parents: 11a74ca
Author: Alex Rudyy <or...@apache.org>
Authored: Mon Sep 4 13:30:29 2017 +0100
Committer: Alex Rudyy <or...@apache.org>
Committed: Mon Sep 4 13:30:29 2017 +0100
----------------------------------------------------------------------
.../docbkx/Java-Broker-High-Availability.xml | 26 +++++---------------
1 file changed, 6 insertions(+), 20 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/qpid-broker-j/blob/4018399a/doc/java-broker/src/docbkx/Java-Broker-High-Availability.xml
----------------------------------------------------------------------
diff --git a/doc/java-broker/src/docbkx/Java-Broker-High-Availability.xml b/doc/java-broker/src/docbkx/Java-Broker-High-Availability.xml
index 840bc27..e0b9a86 100644
--- a/doc/java-broker/src/docbkx/Java-Broker-High-Availability.xml
+++ b/doc/java-broker/src/docbkx/Java-Broker-High-Availability.xml
@@ -385,27 +385,13 @@
</section>
<section xml:id="Java-Broker-High-Availability-Behaviour-MaximumMessageSize">
<title>Maximum message size</title>
- <para>BEB JE restricts the maximum replicated message size to prevent DOS attacks.
- It defines the setting <literal>je.rep.maxMessageSize</literal> to configure the maximum message size
- which will be accepted by a node. By default, it is dynamically calculated when the node is created
- and is set to the half of the environment cache size.
- Qpid itself defines a context variable <literal>qpid.max_message_size</literal> to control the maximum size
- of the messages which can be accepted by the broker. Default is 100M. In order to avoid running into situation
- when maximum message size exceeds the replication maximum messages size,
- BDB JE setting <literal>je.rep.maxMessageSize</literal> and/or Qpid context variable
- <literal>qpid.max_message_size</literal> need to be adjusted: <literal>qpid.max_message_size</literal>
- should not exceed <literal>je.rep.maxMessageSize</literal>. Both limits can be set as context variables on
- <literal>Broker</literal> level. Additionally, <literal>qpid.max_message_size</literal> can be configured
- on AMQP port and <literal>je.rep.maxMessageSize</literal> can be configured on <literal>BDB HA Virtual Host Node</literal>.
+ <para>
+ Internally, BDB JE HA restricts the maximum size of replication stream records passed from the master
+ to the replica(s). This helps prevent DOS attacks.
+ If expected application maximum message size is greater than 5MB, the BDB JE setting
+ <literal>je.rep.maxMessageSize</literal> and Qpid context variable <literal>qpid.max_message_size</literal>
+ needs to be adjusted to reflect this in order to avoid running into the BDB HA JE limit.
</para>
- <note>
- <para>
- Please note, that context variable <literal>qpid.broker.bdbTotalCacheSize</literal> defines the maximum amount
- of cache which can be used by all active BDB JE containers. Default is 10M. The total cache size is split
- equally between all BDB JE containers on the broker. The size of every container is adjusted
- on creation or removal of new BDB/BDB HA virtual host or virtual host node.
- </para>
- </note>
</section>
</section>
<section xml:id="Java-Broker-High-Availability-NodeOperations">
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org