Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Temporary files are not deleted if TemporaryFile objects are not garbage collected #5545

@chunyang

Description

@chunyang

Temporary files are not deleted from disk unless the corresponding TemporaryFile objects are garbage collected. When garbage collection is not run in a timely manner, the files accumulate on disk and can lead to a denial of service.

The problem is exacerbated for requests that exceed maxDiskBuffer as handles to the temporary files are never passed to client code, so the client does not have an opportunity to delete the files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions