Skip to content

Run git gc periodically on the crates.io index #778

Closed
@pietroalbini

Description

@pietroalbini

We discovered that the clone on the index managed by docs.rs reached 2k+ packfiles, which caused spikes of thousands of open FDs and 20% CPU usage every time the repository was queried. We should add code that performs git gc periodically.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-adminArea: Administration of the production docs.rs serverC-bugCategory: This is a bugE-easyEffort: Should be easy to implement and would make a good first PRP-lowLow priority issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions