Flurries of 'git reflog expire'
- Date: Tue, 4 Jul 2017 09:57:58 +0200
- From: Andreas Krey <a.krey@xxxxxx>
- Subject: Flurries of 'git reflog expire'
how is 'git reflog expire' triggered? We're occasionally seeing a lot
of the running in parallel on a single of our repos (atlassian bitbucket),
and this usually means that the machine is not very responsive for
twenty minutes, the repo being as big as it is.
The server is still on git 2.6.2 (and bitbucket 4.14.5).
What can be done about this? Cronjob 'git reflog expire' at midnight,
so the heuristic don't trigger during the day? (The relnotes don't
mention anything after 2.4.0, so I suppose a git upgrade won't help.)
What is the actual cause? Bad heuristics in git itself, or does
bitbucket run them too often (improbable)?
"Totally trivial. Famous last words."
From: Linus Torvalds <torvalds@*.org>
Date: Fri, 22 Jan 2010 07:29:21 -0800