Skip to content

Problem generating downloads of large event files #4464

@IgorA100

Description

@IgorA100

For example, we need to generate a 60GB file, but we only have 40GB of disk space.
In this case, Apache will take up all the disk space, causing a problem. But we won't know about it because the Frontend will timeout (unless, of course, the timeout is set to 10 minutes or more).
The temporary file (or rather, TWO huge ones!) will remain in the system until you manually delete them!

The second problem: We have 40GB of disk space, and we want to generate a 30GB file. But this will also fail because the file will be archived and will eventually take up ~60GB, which we don't have...

Yes, with infinite disk space and the Frontend timeout set to infinity, there won't be any problems, but in reality, things are different...

I don't yet know how to quickly fix this problem.
I see something like this:

  • Analyze disk space before file generation and notify the user if space is low. - Offer a download option without archiving (archiving videos is pointless, and you can always sacrifice the text file included in the archive for space)
  • Run the generation and download process in the background to avoid Frontend timeouts

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions