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/01 16:10:39 UTC
qpid-broker-j git commit: QPID-7907: [Documentation] Update the HA
docs to advise users to set both the je and the qpid limit explicitly
Repository: qpid-broker-j
Updated Branches:
refs/heads/master 8219e4920 -> bcea1208e
QPID-7907: [Documentation] Update the HA docs to advise users to set both the je and the qpid limit explicitly
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/bcea1208
Tree: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/tree/bcea1208
Diff: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/diff/bcea1208
Branch: refs/heads/master
Commit: bcea1208e902b4821c122c74102acc4d42ae136d
Parents: 8219e49
Author: Alex Rudyy <or...@apache.org>
Authored: Fri Sep 1 17:09:45 2017 +0100
Committer: Alex Rudyy <or...@apache.org>
Committed: Fri Sep 1 17:09:45 2017 +0100
----------------------------------------------------------------------
.../docbkx/Java-Broker-High-Availability.xml | 24 ++++++++++++++++++++
1 file changed, 24 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/qpid-broker-j/blob/bcea1208/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 b87bbc5..840bc27 100644
--- a/doc/java-broker/src/docbkx/Java-Broker-High-Availability.xml
+++ b/doc/java-broker/src/docbkx/Java-Broker-High-Availability.xml
@@ -383,6 +383,30 @@
<para>Transaction loss is reported by message <link linkend="Java-Broker-Appendix-Operation-Logging-Message-HA-1014">HA-1014</link>.</para>
</important>
</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>
+ <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">
<title>Node Operations</title>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org