mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-28 16:34:13 +01:00
* doc/guide.tex: Added recommandations on max_stanza options usage.
SVN Revision: 822
This commit is contained in:
parent
6e24711099
commit
be494565a9
@ -1,5 +1,8 @@
|
|||||||
2007-07-24 Mickael Remond <mickael.remond@process-one.net>
|
2007-07-24 Mickael Remond <mickael.remond@process-one.net>
|
||||||
|
|
||||||
|
* doc/guide.tex: Added recommandations on max_stanza options
|
||||||
|
usage.
|
||||||
|
|
||||||
* src/ejabberd_s2s_out.erl: Autodisconnect s2s connections which
|
* src/ejabberd_s2s_out.erl: Autodisconnect s2s connections which
|
||||||
are overloaded (EJAB-287).
|
are overloaded (EJAB-287).
|
||||||
* src/p1_fsm.erl: Likewise.
|
* src/p1_fsm.erl: Likewise.
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
& ejabberd 2.0.0 beta 1
|
& ejabberd 1.1.2
|
||||||
&
|
&
|
||||||
& Installation and Operation Guide
|
& Installation and Operation Guide
|
||||||
|
|
||||||
@ -85,7 +85,7 @@ SPAN{width:20%; float:right; text-align:left; margin-left:auto;}
|
|||||||
<HR SIZE=2><BR>
|
<HR SIZE=2><BR>
|
||||||
<BR>
|
<BR>
|
||||||
|
|
||||||
<TABLE CELLSPACING=6 CELLPADDING=0><TR><TD VALIGN=top ALIGN=left> </TD><TD VALIGN=top ALIGN=right NOWRAP><FONT SIZE=6><B>ejabberd 2.0.0 beta 1 </B></FONT></TD></TR>
|
<TABLE CELLSPACING=6 CELLPADDING=0><TR><TD VALIGN=top ALIGN=left> </TD><TD VALIGN=top ALIGN=right NOWRAP><FONT SIZE=6><B>ejabberd 1.1.2 </B></FONT></TD></TR>
|
||||||
<TR><TD VALIGN=top ALIGN=left> </TD><TD VALIGN=top ALIGN=right NOWRAP> </TD></TR>
|
<TR><TD VALIGN=top ALIGN=left> </TD><TD VALIGN=top ALIGN=right NOWRAP> </TD></TR>
|
||||||
<TR><TD VALIGN=top ALIGN=left> </TD><TD VALIGN=top ALIGN=right NOWRAP><FONT SIZE=6>Installation and Operation Guide</FONT></TD></TR>
|
<TR><TD VALIGN=top ALIGN=left> </TD><TD VALIGN=top ALIGN=right NOWRAP><FONT SIZE=6>Installation and Operation Guide</FONT></TD></TR>
|
||||||
</TABLE><BR>
|
</TABLE><BR>
|
||||||
@ -541,11 +541,15 @@ instructions for <TT>ejabberd</TT>).
|
|||||||
</P></DD><DT CLASS="dt-description"><B><TT>inet6</TT></B></DT><DD CLASS="dd-description"> Set up the socket for IPv6.
|
</P></DD><DT CLASS="dt-description"><B><TT>inet6</TT></B></DT><DD CLASS="dd-description"> Set up the socket for IPv6.
|
||||||
</DD><DT CLASS="dt-description"><B><TT>{ip, IPAddress}</TT></B></DT><DD CLASS="dd-description"> This option specifies which network
|
</DD><DT CLASS="dt-description"><B><TT>{ip, IPAddress}</TT></B></DT><DD CLASS="dd-description"> This option specifies which network
|
||||||
interface to listen for. For example <CODE>{ip, {192, 168, 1, 1}}</CODE>.
|
interface to listen for. For example <CODE>{ip, {192, 168, 1, 1}}</CODE>.
|
||||||
</DD><DT CLASS="dt-description"><B><TT>{max_stanza_size, Size}</TT></B></DT><DD CLASS="dd-description"> This
|
</DD><DT CLASS="dt-description"><B><TT>{max_stanza_size, Size}</TT></B></DT><DD CLASS="dd-description">
|
||||||
option specifies an approximate maximum size in bytes of XML stanzas.
|
This option specifies an
|
||||||
Approximate, because it is calculated with the precision of one block of
|
approximate maximum size in bytes of XML stanzas. Approximate,
|
||||||
readed data. For example <CODE>{max_stanza_size, 65536}</CODE>. The default
|
because it is calculated with the precision of one block of readed
|
||||||
value is <TT>infinity</TT>.
|
data. For example <CODE>{max_stanza_size, 65536}</CODE>. The default
|
||||||
|
value is <TT>infinity</TT>. Recommanded values are 65536 for c2s
|
||||||
|
connections and 131072 for s2s connections. s2s max stanza size
|
||||||
|
must always much higher than c2s limit. Change this value with
|
||||||
|
extreme care as it can cause unwanted disconnect if set too low.
|
||||||
</DD><DT CLASS="dt-description"><B><TT>{shaper, <access rule>}</TT></B></DT><DD CLASS="dd-description"> This option defines a
|
</DD><DT CLASS="dt-description"><B><TT>{shaper, <access rule>}</TT></B></DT><DD CLASS="dd-description"> This option defines a
|
||||||
shaper for the port (see section <A HREF="#shapers">3.1.6</A>). The default value
|
shaper for the port (see section <A HREF="#shapers">3.1.6</A>). The default value
|
||||||
is <TT>none</TT>.
|
is <TT>none</TT>.
|
||||||
|
@ -539,11 +539,15 @@ The following options are available:
|
|||||||
\titem{inet6} \ind{options!inet6}\ind{IPv6}Set up the socket for IPv6.
|
\titem{inet6} \ind{options!inet6}\ind{IPv6}Set up the socket for IPv6.
|
||||||
\titem{\{ip, IPAddress\}} \ind{options!ip}This option specifies which network
|
\titem{\{ip, IPAddress\}} \ind{options!ip}This option specifies which network
|
||||||
interface to listen for. For example \verb|{ip, {192, 168, 1, 1}}|.
|
interface to listen for. For example \verb|{ip, {192, 168, 1, 1}}|.
|
||||||
\titem{\{max\_stanza\_size, Size\}} \ind{options!max\_stanza\_size}This
|
\titem{\{max\_stanza\_size, Size\}}
|
||||||
option specifies an approximate maximum size in bytes of XML stanzas.
|
\ind{options!max\_stanza\_size}This option specifies an
|
||||||
Approximate, because it is calculated with the precision of one block of
|
approximate maximum size in bytes of XML stanzas. Approximate,
|
||||||
readed data. For example \verb|{max_stanza_size, 65536}|. The default
|
because it is calculated with the precision of one block of readed
|
||||||
value is \term{infinity}.
|
data. For example \verb|{max_stanza_size, 65536}|. The default
|
||||||
|
value is \term{infinity}. Recommanded values are 65536 for c2s
|
||||||
|
connections and 131072 for s2s connections. s2s max stanza size
|
||||||
|
must always much higher than c2s limit. Change this value with
|
||||||
|
extreme care as it can cause unwanted disconnect if set too low.
|
||||||
\titem{\{shaper, <access rule>\}} \ind{options!shaper}This option defines a
|
\titem{\{shaper, <access rule>\}} \ind{options!shaper}This option defines a
|
||||||
shaper for the port (see section~\ref{shapers}). The default value
|
shaper for the port (see section~\ref{shapers}). The default value
|
||||||
is \term{none}.
|
is \term{none}.
|
||||||
|
Loading…
Reference in New Issue
Block a user