Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Large files (<2GB) cause user data download to fail/loop leading to extreme slowness and out of heap. #21063

Open
likewhatevs opened this issue Mar 10, 2021 · 3 comments

Comments

@likewhatevs
Copy link

Description:

Steps to reproduce:

Have 1TB+ of free disk space.
Raise file upload limit to 2gb.
Use s3 as backing blob store.
Upload 10GB worth of files (this much might not be necessary) to channel user has access to.
Attempt user data download.

Expected behavior:

User data download works.

Actual behavior:

User data download fails.

Server Setup Information:

  • Version of Rocket.Chat Server: 3.12.1
  • Operating System: ubuntu
  • Deployment Method: docker
  • Number of Running Instances: 1
  • DB Replicaset Oplog: default
  • NodeJS Version: default
  • MongoDB Version: 4.4.3

Client Setup Information

  • Desktop App or Browser Version: any, backend issue
  • Operating System: any, backend issue

Additional context

Deleting the large files and running the following:

#15663 (comment)

and removing the container and redeploying rocket.chat fixes this issue.

Adding some keywords to simplify finding this for when this issue is automatically closed and someone else runs into this issue:
user data download
crashing
extreme slowness
large files
unusably slow
cronProcessDownloads.js
OOM
out of heap

Relevant logs:

Progressive slowness until eventual out of heap error, messages about failed cron.

@tetesh
Copy link

tetesh commented Nov 20, 2023

UP

@magenbrot
Copy link

still not working with version 6.6.1 running on docker

@benedikt-wegmann
Copy link

Exports are stuck here, too, additionally there is still no way to "prune" old exports. Version 6.6.7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants