[OPEN-ILS-DEV] ejabberd.cfg

Bill Erickson erickson at esilibrary.com
Tue Dec 20 09:21:27 EST 2011


On Mon, Dec 19, 2011 at 03:36:55PM -0500, Duimovich, George wrote:
> 
> Hello,
> Re: 2.1.1 system where our max_stanza setting in ejabberd.cfg is already set to
> recommended level :
> {max_stanza_size, 2000000}
> Noticed some errors like the following from osrfwarn.log file:
> 2011-12-19 12:31:37 evergreen open-ils.cstore: [WARN:25065:transport_session.c:
> 624:] Received <stream:error> message from Jabber server
> 2011-12-19 12:31:37 evergreen open-ils.cstore: [WARN:25065:transport_session.c:
> 870:] Text of error message received from Jabber: XML stanza is too big 
> Before I make any changes to max_stanza_size, is it likely the case that the
> above error will be taken care of by increasing max_stanza_size? If so, any
> recommended increments to test (eg. Set to 3000000??) etc.

That should do it.  There's no hard limit, so it's mostly a question
of how your servers handle the load and what you consider a reasonable
amount of data to allow through one message.

> Also, am I able to restart ejabberd without re-starting all of the other
> opensrf services (say, later tonight, etc.) and not harming anything?

You need to restart all OpenSRF service when you restart Ejabberd.
Preferably, stop OpenSRF, restart Ejabberd, then start OpenSRF.

-b

-- 
Bill Erickson
| Senior Software Developer
| phone: 877-OPEN-ILS (673-6457)
| email: erickson at esilibrary.com
| web: http://esilibrary.com 
| Equinox Software, Inc. / Your Library's Guide to Open Source


More information about the Open-ils-dev mailing list