From: Jens Lehmann <Jens.Lehmann@web.de>
To: Junio C Hamano <gitster@pobox.com>
Cc: "jones.noamle" <lenoam@gmail.com>, git@vger.kernel.org
Subject: Re: gc does not clean up after itself when not enough disk space
Date: Tue, 26 Feb 2013 21:31:08 +0100 [thread overview]
Message-ID: <512D1B8C.9070506@web.de> (raw)
In-Reply-To: <7v1uc3njnf.fsf@alter.siamese.dyndns.org>
Am 26.02.2013 17:07, schrieb Junio C Hamano:
> "jones.noamle" <lenoam@gmail.com> writes:
>
>> # 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
>
> In general when we encounter an unexpected error, we tend to try
> leaving things as they are so that we can help diagnosing the
> failure. But when you ran out of disk space I would agree that it
> may be sensible to remove a temporary file we didn't manage to write
> out in full.
Ack. I just recently had to do
git gc || rm -f .git/objects/*/tmp_*
as workaround in the nightly housekeeping script on our CI server.
next prev parent reply other threads:[~2013-02-26 20:31 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 ` gc does not clean up after itself when not enough disk space jones.noamle
2013-02-26 16:07 ` Junio C Hamano
2013-02-26 20:31 ` Jens Lehmann [this message]
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=512D1B8C.9070506@web.de \
--to=jens.lehmann@web.de \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=lenoam@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.