Sending/receiving a Large size of message

Hi,

We are currently developing a messaging service using ejabberd server and /n software's XMPPS class. So far we can send and receive a 32KB of text message without any problems, however we are unable to send and receive a message successfully if the size of a message becomes more than 32KB. As a matter of fact, we cannot send and receive a message more than 64KB at all.

We've asked /n software support if there is such a limitation on XMPPS class, but they answered us that the they don't have such a limit on sending/receiving messages (textMessage variable is a type String, so there is no size limitation.)

Now, is there a way to configure ejabberd server so that the server can handle a large size of message? or is there an even such a limitation on the server side??

Thank you,

Satoru

Search max_stanza_size and maxrate

s-moriwaki wrote:

Now, is there a way to configure ejabberd server so that the server can handle a large size of message? or is there an even such a limitation on the server side?

Yet, ejabberd limits the size of stanzas (since version 1.1.1 I think). Search for max_stanza_size in the ejabberd Guide. The default value in the source code is infinity, however the example configuration file sets the value to 64KB.

If your clients use ejabberd to send a lot of big stanzas, you probably also want to increase the limit in traffic. Search for maxrate in the ejabberd Guide. The default value is 1.000 Bytes per second.

Syndicate content