[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: whoa: server-side repo size just shrank by 20x
From: |
Mike Frysinger |
Subject: |
Re: whoa: server-side repo size just shrank by 20x |
Date: |
Fri, 9 Oct 2009 06:23:39 -0400 |
User-agent: |
KMail/1.12.1 (Linux/2.6.31; KDE/4.3.1; x86_64; ; ) |
On Friday 09 October 2009 04:40:46 Jim Meyering wrote:
> I noticed that gnulib.git was consuming nearly 700MB, so did this:
>
> $ du -sh .; git gc; du -sh .
> 692M .
> Counting objects: 78817, done.
> Delta compression using up to 4 threads.
> Compressing objects: 100% (19078/19078), done.
> Writing objects: 100% (78817/78817), done.
> Total 78817 (delta 63009), reused 74442 (delta 59695)
> Removing duplicate objects: 100% (256/256), done.
> 35M .
>
> That should help.
>
> I'm a little surprised my doing something like this manually
> makes a difference. I thought it was supposed to happen automatically,
> but haven't looked at that part of git in a long time.
> Maybe a config setting?
>
> The server is currently running git-1.6.3.3
afaik, automatic garbage collection is only run on the client repo. server
admin is responsible for housekeeping the remote copy (since there are some
subtle side effects -- new packs are created and old objs are deleted).
-mike
signature.asc
Description: This is a digitally signed message part.