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

Repo may need to go on a diet again #26

Closed
stucka opened this issue Mar 7, 2024 · 3 comments
Closed

Repo may need to go on a diet again #26

stucka opened this issue Mar 7, 2024 · 3 comments

Comments

@stucka
Copy link
Contributor

stucka commented Mar 7, 2024

Actions are moving slower and some routine stuff fails sometimes, e.g.:
Fetching the repository
/usr/bin/git -c protocol.version=2 fetch --prune --no-recurse-submodules origin +refs/heads/:refs/remotes/origin/ +refs/tags/:refs/tags/
Error: error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8)
Error: error: 2831 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
Error: fatal: early EOF
Error: fatal: fetch-pack: invalid index-pack output
The process '/usr/bin/git' failed with exit code 128
Waiting 13 seconds before trying again

git-sizer reports the repo has gotten quite large again:

Name Value Level of concern
Overall repository size
* Blobs
* Total size 32.9 GiB ***
Biggest objects
* Trees
* Maximum entries [1] 2.15 k **
* Blobs
* Maximum size [2] 13.8 MiB *

The notes on shrinking the repo in #7 were never actually turned into useful documentation.

@stucka
Copy link
Contributor Author

stucka commented Jun 23, 2024

Now 42.5 GiB.

@stucka
Copy link
Contributor Author

stucka commented Jun 24, 2024

Repo size on disk knocked down 92%. Performance vastly increased.

Branches cleaned up 6/24/2024:

18038832 refs/remotes/origin/dc
18203431 refs/remotes/origin/vt
27108603 refs/remotes/origin/co
31563529 refs/remotes/origin/ca
33104387 refs/remotes/origin/ok
43845782 refs/remotes/origin/nm
51030901 refs/remotes/origin/ks
65325721 refs/remotes/origin/ky
70276832 refs/remotes/origin/az
96548777 refs/remotes/origin/me
333931979 refs/remotes/origin/wa
435718337 refs/remotes/origin/il
582069999 refs/remotes/origin/transformer

Branches NOT cleaned up 6/24/2024:
6963 refs/remotes/origin/ak
29528 refs/remotes/origin/ut
53318 refs/remotes/origin/sd
53580 refs/remotes/origin/hi
66334 refs/remotes/origin/al
134689 refs/remotes/origin/ct
291668 refs/remotes/origin/wi
348199 refs/remotes/origin/origin/wa
414156 refs/remotes/origin/mt
802293 refs/remotes/origin/id
1069308 refs/remotes/origin/ne
1523234 refs/remotes/origin/md
1540321 refs/remotes/origin/in
1811925 refs/remotes/origin/mi
2359496 refs/remotes/origin/tn
2804939 refs/remotes/origin/fl
3229237 refs/remotes/origin/ga
3673777 refs/remotes/origin/mo
4216396 refs/remotes/origin/tx
4833845 refs/remotes/origin/nj
5333310 refs/remotes/origin/or
6437243 refs/remotes/origin/la
6469633 refs/remotes/origin/sc
6500019 refs/remotes/origin/va
6663005 refs/remotes/origin/ny
7415177 refs/remotes/origin/ri
8531617 refs/remotes/origin/ia
8673717 refs/remotes/origin/de
17197681 refs/remotes/origin/oh

@stucka
Copy link
Contributor Author

stucka commented Jun 24, 2024

Better documentation at the end of #7

@stucka stucka closed this as completed Jun 24, 2024
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

1 participant