git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jonathan Nieder <jrnieder@gmail.com>
To: Leo Razoumov <slonik.az@gmail.com>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: "git fsck" hanging (v1.7.3.2)
Date: Sun, 24 Oct 2010 12:06:40 -0500	[thread overview]
Message-ID: <20101024170640.GA7238@burratino> (raw)
In-Reply-To: <AANLkTinFRnK=NnnUPX1VUE1aY_MHCR=OZ99RuQ1G3nSG@mail.gmail.com>

Hi Leo,

Leo Razoumov wrote:

> And then it sits there spinning CPU (99%) and nothing happening for
> over a minute or so and then it proceeds to conclusion. The whole
> thing takes about 2 minutes
> 
> ~/git-1.7.3.2> time git fsck
> git fsck  98.27s user 2.78s system 98% cpu 1:42.48 total
> 
> I previously compiled git-1.6.5.8 in exactly the same way on the same
> system and had no problems of any kind.
> "git fsck" was completing in seconds even for large repos.

You are right --- there was a significant change in fsck 1.6.6:

Notes on behaviour change [1]
-------------------------

 * In this release, "git fsck" defaults to "git fsck --full" and
   checks packfiles, and because of this it will take much longer to
   complete than before.  If you prefer a quicker check only on loose
   objects (the old default), you can say "git fsck --no-full".  This
   has been supported by 1.5.4 and newer versions of git, so it is
   safe to write it in your script even if you use slightly older git
   on some of your machines.

Hope that helps.

[1] Documentation/RelNotes/1.6.6.txt

      reply	other threads:[~2010-10-24 17:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-24 16:45 "git fsck" hanging (v1.7.3.2) Leo Razoumov
2010-10-24 17:06 ` Jonathan Nieder [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101024170640.GA7238@burratino \
    --to=jrnieder@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=slonik.az@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).