git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git svn import failure : write .git/Git_svn_hash_BmjclS: Bad file descriptor

From
Valery Yundin <yuvalery@gmail.com>
Date
Jan 29, 2015, 23:59 UTC
Message-ID
<CABNxngPErFiTzUNK6P90Ug5fVtJSYD9XrGrQzK8+mt2u4g=Xyg@mail.gmail.com>
In-Reply-To
<20150129233429.GA7162@dcvr.yhbt.net>
Hi,
Here you go:
dfa72fdb96befbd790f623bb2909a347176753c2 is the first bad commit
commit dfa72fdb96befbd790f623bb2909a347176753c2
Author: Eric Wong <normalperson@yhbt.net>
Date:   Fri Oct 24 22:53:52 2014 +0000
    git-svn: reload RA every log-window-size
    Despite attempting to use local memory pools everywhere we can,
    (including our call to SVN::Ra::do_update and all subsequent reporter
    calls), there does not appear to be a way to force the Git::SVN::Fetcher
    callbacks to use a pool other than the per-SVN::Ra pool.
    Git::SVN::Fetcher ends up using the main RA pool which grows
    monotonically in size for the lifetime of the RA object.
    Thus the only way to free that memory appears to be to destroy and
    recreate the RA connection for at every --log-window-size interval.
    This reduces memory usage over the course of fetching 10K revisions
    using a test repository created with the script at the end of this
    commit message.
    .........

Cheers, Valery With best regards, Mr. Valery Yundin.

On 30 January 2015 at 00:34, Eric Wong <normalperson@yhbt.net> wrote:
Show 12 quoted lines
> Valery Yundin <yuvalery@gmail.com> wrote:
>> Tested on:
>> git-svn version 2.3.0.rc2 (svn 1.8.11) - FAIL
>> git-svn version 2.2.2 (svn 1.8.10) - FAIL
>> git-svn version 1.8.4.5 (svn 1.8.11) - WORKS
>
> Thank you for that info.  Do you think you can bisect which
> versions/revisions of git-svn introduced that failure for us?  I don't
> have much time this part of the year for git-svn, but maybe it's related
> to the performance work we did around fall 2014.
>
> Thanks again.
Previous: Eric WongNext: Eric Wong
Message 3 of 14 in “git svn import failure : write .git/Git_svn_hash_BmjclS: Bad file descriptor”
  1. Valery YundinJan 29, 2015
  2. Eric WongJan 29, 2015
  3. Valery YundinJan 29, 2015
  4. Eric WongJan 30, 2015
  5. Valery YundinJan 30, 2015
  6. Eric WongJan 30, 2015
  7. Nico SchlömerJan 31, 2015
  8. Valery YundinJan 31, 2015
  9. Eric WongFeb 12, 2015
  10. Nico SchlömerFeb 16, 2015
  11. Eric WongFeb 17, 2015
  12. Kyle J. McKayFeb 25, 2015
  13. Eric WongFeb 25, 2015
  14. Kyle J. McKayFeb 25, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.