Re: pack operation is thrashing my server
- From
Avery Pennarun <apenwarr@gmail.com>
- Date
- Aug 11, 2008, 15:40 UTC
- Message-ID
- <32541b130808110840p1287426fpeef967a9ff4fb094@mail.gmail.com>
- In-Reply-To
- <20080811150150.GC26363@spearce.org>
On Mon, Aug 11, 2008 at 11:01 AM, Shawn O. Pearce <spearce@spearce.org> wrote:
Show 5 quoted lines
> On the up side, packing should only be consuming huge memory like > this when it needs to move loose objects into a pack file. I think > Martin Langhoff suggested packing this on your laptop then using > rsync over SSH to copy the pack file and .idx file to the server, so > the server didn't have to spend time figuring out the deltas itself.
Do you need to also introduce a ".keep" file to get the benefit from this? I had a repo with some very large objects, and it was killing my low-memory server *every* time I did "git gc", until I repacked on another system, created the .keep file, and rsynced it back. Does that make sense?
Thanks,
Avery