From: Erik Faye-Lund <kusmabite@gmail.com>
To: Junio C Hamano <gitster@pobox.com>
Cc: git@vger.kernel.org
Subject: Re: What's cooking in git.git (Feb 2011, #07; Mon, 28)
Date: Wed, 2 Mar 2011 19:28:12 +0100 [thread overview]
Message-ID: <AANLkTim_euHU-vSULW0zk6SwrHridtvv5aqPVhBr_aXi@mail.gmail.com> (raw)
In-Reply-To: <AANLkTim7Jo5KLwf760dQN5PucrsD1wvuksds-4Qi0csd@mail.gmail.com>
On Wed, Mar 2, 2011 at 7:22 PM, Erik Faye-Lund <kusmabite@gmail.com> wrote:
> On Tue, Mar 1, 2011 at 2:05 AM, Junio C Hamano <gitster@pobox.com> wrote:
>> * sp/maint-fd-limit (2011-02-28) 2 commits
>> - mingw: add minimum getrlimit() compatibility stub
>> - Limit file descriptors used by packs
>>
>> Erik, please check the made-up commit log message and sign it off.
>> Will merge to 'next' after that.
>
> Seems to work:
>
> $ ls .git/objects/pack/*.pack | wc -l
> 2049
> $ git gc --auto
> Auto packing the repository for optimum performance. You may also run
> "git gc" manually. See "git help gc" for more information.
> Counting objects: 2056, done.
> Delta compression using up to 4 threads.
> Compressing objects: 100% (2049/2049), done.
> Writing objects: 100% (2056/2056), done.
> Total 2056 (delta 2048), reused 13 (delta 5)
> Removing duplicate objects: 100% (256/256), done.
>
> So feel free to add:
> Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
>
Oh, and to be clear: Doing the same before these two patches gave this error:
$ git gc --auto
Auto packing the repository for optimum performance. You may also
run "git gc" manually. See "git help gc" for more information.
Counting objects: 2056, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (2049/2049), done.
fatal: Unable to create temporary file: Too many open files
error: failed to run repack
So the issue is indeed fixed, and it seems we don't have to bias the
resource limit.
next prev parent reply other threads:[~2011-03-02 18:28 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-01 1:05 What's cooking in git.git (Feb 2011, #07; Mon, 28) Junio C Hamano
2011-03-01 7:59 ` Jens Lehmann
2011-03-01 8:39 ` Erik Faye-Lund
2011-03-01 17:50 ` Junio C Hamano
2011-03-02 6:49 ` Johannes Sixt
2011-03-02 18:22 ` Erik Faye-Lund
2011-03-02 18:28 ` Erik Faye-Lund [this message]
2011-03-05 17:04 ` Michael J Gruber
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=AANLkTim_euHU-vSULW0zk6SwrHridtvv5aqPVhBr_aXi@mail.gmail.com \
--to=kusmabite@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.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).