[ejabberd] Client socket blocked when sending large stanza

Mickael Remond mickael.remond at process-one.net
Mon Feb 9 11:51:44 MSK 2009


Vincent BARAT wrote:

> We have modified the default c2s_shaper from 1KB/S to 4KB/s, and the
> stanza limit sis still 64KB (which is actually much more than the size
> of the avatar).
> Anyway, I have tried to increase the standza limit to 128KB, but the
> behavior is the same.
> Do you have a more precise recommandation about modifying the default
> configuration ?

Yes, you might need to increase even more the shaper if you send stanza
of more that 4K. A 8KB stanza will be required one pause of one second. A
12KB stanza will be require two of such pauses, etc.

Mickaël Rémond

More information about the ejabberd mailing list