From d0f1300a842f5f22ec22c3387d23fef84a85020c Mon Sep 17 00:00:00 2001 From: Badlop Date: Sat, 14 Feb 2009 09:03:26 +0000 Subject: * src/web/ejabberd_http_poll.erl: Allow configuration of session timeout, using new global option http_poll_timeout (EJAB-135) * doc/guide.tex: Document new option * doc/guide.html: Likewise SVN Revision: 1876 --- doc/guide.html | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'doc/guide.html') diff --git a/doc/guide.html b/doc/guide.html index 55ce1dc69..452131d97 100644 --- a/doc/guide.html +++ b/doc/guide.html @@ -712,8 +712,11 @@ do not allow outgoing sockets on port 5222.

If HTTP Polling is enabled, it wil http://server:port/http-poll/. Be aware that support for HTTP Polling is also needed in the Jabber client. Remark also that HTTP Polling can be interesting to host a web-based Jabber client such as -JWChat. -

{max_stanza_size, Size}
+JWChat.

The maximum period of time to keep a client session active without +an incoming POST request can be configured with the global option +http_poll_timeout. The default value is five minutes. +The option can be defined in ejabberd.cfg, expressing the time +in seconds: {http_poll_timeout, 300}.

{max_stanza_size, Size}
This option specifies an approximate maximum size in bytes of XML stanzas. Approximate, because it is calculated with the precision of one block of readed @@ -3370,7 +3373,8 @@ If a process in the ejabberd server consumes more memory than the confi a message is sent to the Jabber accounts defined with the option watchdog_admins in the ejabberd configuration file.

The memory consumed is measured in words: -a word on 32-bit architecture is 4 bytes, and a word on 64-bit architecture 8 bytes. +a word on 32-bit architecture is 4 bytes, +and a word on 64-bit architecture is 8 bytes. The threshold by default is 1000000 words. This value can be configured with the option watchdog_large_heap, or in a conversation with the watchdog alert bot.

Example configuration: -- cgit v1.2.3