git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "jones.noamle" <lenoam@gmail.com>
To: git@vger.kernel.org
Subject: gc does not clean up after itself when not enough disk space
Date: Tue, 26 Feb 2013 10:38:43 -0500	[thread overview]
Message-ID: <512CD703.4080302@gmail.com> (raw)
In-Reply-To: <512CD689.4050705@gmail.com>

When git gc fails on no more disk space, it leaves tmp_pack files lying 
around that consume whatever space was available (and fill up the disk 
to 100%). Shouldn't git be deleting these files?

Running git 1.7.9 on cygwin:
# git --version
git version 1.7.9
# uname -a
CYGWIN_NT-6.1-WOW64 ---- 1.7.17(0.262/5/3) 2012-10-19 14:39 i686 Cygwin


Example failure output:

# git gc
Counting objects: 44626, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (7756/7756), done.
fatal: sha1 file '.git/objects/pack/tmp_pack_uJ0E5b' write error: No 
space left on device
error: failed to run repack


Thanks!
Noam

       reply	other threads:[~2013-02-26 15:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <512CD689.4050705@gmail.com>
2013-02-26 15:38 ` jones.noamle [this message]
2013-02-26 16:07   ` gc does not clean up after itself when not enough disk space Junio C Hamano
2013-02-26 20:31     ` Jens Lehmann
2013-02-27  0:28       ` Sitaram Chamarty
2013-02-27  5:07         ` Jeff King

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=512CD703.4080302@gmail.com \
    --to=lenoam@gmail.com \
    --cc=git@vger.kernel.org \
    /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).