Speed up Jabber file transfer

ejabberd

(EnzoC) #1

I will try Pidgin with Ejabberd service on my network,

when try to transfer file the speed is limited to 1KB per second

i find this https://docs.ejabberd.im/admin/configuration/#shapers

and set in /etc/ejabberd/ejabberd.cfg

% Set shaper with name "normal" to limit traffic speed to 1000B/s
{shaper, normal, {maxrate, 10000000}}.

% Set shaper with name "fast" to limit traffic speed to 50000B/s
{shaper, fast, {maxrate, 100000000}}.

in corporate lan network, you might think to increase this default value?


Ejabberd 18.06 bug or issue
Ejabberd 18.06 bug or issue
(Alessio Fattorini) #2

Sorry for the late response, I don’t understand your goal here. Are you trying to limit or to speed up?


(Marc) #3

I guess Enzo wants to speed it up. Either by increasing the limit or by assigning some users a different access rule.


(EnzoC) #4

Exactly, I wanted to increase the speed


(Giacomo Sanchietti) #5

Nice find, I always wondered why ejabberd was so slow on file transfer!

What default value do you suggest? I’d go at least with 10 Mb/s. What do you think?
If also want to open a pull request, I will gladly open the related issue :wink:


(Michael Kicks) #6

Jabber could also be used for file transfer between internet.
A GUI editable value-box could be useful, also a firewall/BWM management object.