Discussion:
[prosody-dev] File transfer speed
g***@gmail.com
2018-05-31 11:21:41 UTC
Permalink
Hello,

Iam new to this stuff. I am using a R.pi as a prosody server (0.10). Client is Conversations for Android, latest version.

Everything is working fine so far. But the transfer speed is very slow. If I sent a 5 MegaByte video file it takes very long to send. I have 40 mbit upload it should be much faster.

How can I configure the transfer speed?

Best regards
--
You received this message because you are subscribed to the Google Groups "prosody-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prosody-dev+***@googlegroups.com.
To post to this group, send email to prosody-***@googlegroups.com.
Visit this group at https://groups.google.com/group/prosody-dev.
For more options, visit https://groups.google.com/d/optout.
Matthew Wild
2018-06-01 22:32:05 UTC
Permalink
Hi,
Post by g***@gmail.com
Hello,
Iam new to this stuff. I am using a R.pi as a prosody server (0.10). Client is Conversations for Android, latest version.
Everything is working fine so far. But the transfer speed is very slow. If I sent a 5 MegaByte video file it takes very long to send. I have 40 mbit upload it should be much faster.
How can I configure the transfer speed?
The transfer speed is not limited by default. It's tricky to diagnose
problems like this, because there are multiple ways that Conversations
can transfer files.

Typically the most reliable method is to add mod_http_upload to your
setup: https://modules.prosody.im/mod_http_upload.html

However Prosody's built-in HTTP server was not originally designed for
handling large uploads, so it is limited to 1MB files by default. You
can change this using the 'http_upload_file_size_limit' option as
shown in the documentation I linked just above. Increasing the size
will make Prosody consume more RAM.

If you plan to regularly share large files, possibly consider running
a standalone web server on the Pi and using mod_http_upload_external
in Prosody: https://modules.prosody.im/mod_http_upload_external.html -
this will be the most reliable and efficient solution.

Hope this helps!

Regards,
Matthew
--
You received this message because you are subscribed to the Google Groups "prosody-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prosody-dev+***@googlegroups.com.
To post to this group, send email to prosody-***@googlegroups.com.
Visit this group at https://groups.google.com/group/prosody-dev.
For more options, visit https://groups.google.com/d/optout.
Loading...