Re: Can a git push over ssh trigger a gc/repack? Diagnosing pack explosion

2013-11-21 Thread Martin Langhoff
On Thu, Nov 21, 2013 at 2:52 PM, Junio C Hamano wrote: >> - if it's receiving from many pushers, it races with itself; needs >> some lock or back-off mechanism > > Surely. > > I think these should help: > > 64a99eb4 (gc: reject if another gc is running, unless --force is given, > 2013-08-08)

Re: Can a git push over ssh trigger a gc/repack? Diagnosing pack explosion

2013-11-21 Thread Junio C Hamano
Martin Langhoff writes: > On Thu, Nov 21, 2013 at 10:21 AM, Martin Langhoff > wrote: >> Do client pushes over git+ssh ever trigger a repack on the server? > > man git-config > [snip] > >receive.autogc >By default, git-receive-pack will run "git-gc --auto" after >r

Re: Can a git push over ssh trigger a gc/repack? Diagnosing pack explosion

2013-11-21 Thread Martin Langhoff
On Thu, Nov 21, 2013 at 10:21 AM, Martin Langhoff wrote: > Do client pushes over git+ssh ever trigger a repack on the server? man git-config [snip] receive.autogc By default, git-receive-pack will run "git-gc --auto" after receiving data from git-push and updating re

Can a git push over ssh trigger a gc/repack? Diagnosing pack explosion

2013-11-21 Thread Martin Langhoff
Hi git list, I am trying to diagnose a strange problem in a VM running as a 'git over ssh server', with one repo which periodically grows very quickly. The complete dataset packs to a single pack+index of ~650MB. Growth is slow, these are ASCII text reports that use a template -- highly compressi