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

Git performance problems with large device count #3121

Open
jerji opened this issue Apr 12, 2024 · 2 comments
Open

Git performance problems with large device count #3121

jerji opened this issue Apr 12, 2024 · 2 comments
Assignees

Comments

@jerji
Copy link
Contributor

jerji commented Apr 12, 2024

Dear Maintainer,

My company uses Oxidized to store device configurations for various kinds of network devices. One of our instances currently has about 700 devices and the bare git repo has grown to 300~GB. Currently, it times out when requesting versions for devices probably because of the size of the repo.

Are there any optimizations you think might help in this situation or is there any profiling I could help with? Oxidized is an important tool for us and want to help where we can. :)

@robertcheramy
Copy link
Collaborator

Could you try running git gc on your repository?

@jerji
Copy link
Contributor Author

jerji commented Apr 15, 2024

I started it over night, we will see when it completes. Last tried to run it the server ran out of disk space while it was completing. I have since copied it to a new drive.

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

No branches or pull requests

2 participants