RocketChat / Rocket.Chat

The communications platform that puts data protection first.
https://rocket.chat/
Other
40.4k stars 10.51k forks source link

Slow file uploads with snap install to FileSystem #14830

Closed bleomycin closed 4 years ago

bleomycin commented 5 years ago

Description:

Uploading files to snap based rocket chat server behind nginx with file upload set to FileSystem tops out at ~23Mbit/s. Iperf testing to this same machine uploads at ~150Mbit/s single thread. Downloads happen at 200Mbit/s+ so no issue. Speeds were also slow with default GridFS which prompted the change to FileSystem.

Steps to reproduce:

Upload file to rocket chat

Expected behavior:

Upload file at maximum speed of connection

Actual behavior:

File uploads significantly slower than network bandwidth should allow

Server Setup Information:

reetp commented 5 years ago

First thing is to probably get a clean test install of latest and with no proxy/firewall and try direct to http://chat.local:3000 so you eliminate some factors.

Try with some different clients, and clean/restored dbs.

Try and narrow down the issue further.

github-actions[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.