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

Re: Intriguing error with Git 1.6.3.1: Too many open files

From
SMSoham Mehta <soham@box.com>
Date
Jan 11, 2012, 06:52 UTC
Message-ID
<CALjyegVzchN==DEsARD65jEmz0BkkbYMQRhG=ujNiGCBHuB4SQ@mail.gmail.com>
In-Reply-To
<20120111030931.GA12862@burratino>
On Tue, Jan 10, 2012 at 7:09 PM, Jonathan Nieder <jrnieder@gmail.com> wrote:
Show 11 quoted lines
> Hi,
>
> Soham Mehta wrote:
>
>> *"error: unable to open object pack directory: ./objects/pack: Too many
>> open files"
>
> Do current git versions (v1.7.4.2 or later) behave the same way?
>
> Sorry for the trouble,
> Jonathan

I haven't played with versions yet. Are you alluding that #2 on this list may have addressed it? https://raw.github.com/gitster/git/master/Documentation/RelNotes/1.7.4.2.txt

 * We used to keep one file descriptor open for each and every packfile
   that we have a mmap window on it (read: "in use"), even when for very
   tiny packfiles.  We now close the file descriptor early when the entire
   packfile fits inside one mmap window.
The corrupt repo does have a 1000+ pack files, anywhere from 650M to 2.5K.
Previous: Jonathan NiederNext: Jonathan Nieder
Message 3 of 4 in “Intriguing error with Git 1.6.3.1: Too many open files”
  1. Soham MehtaJan 11, 2012
  2. Jonathan NiederJan 11, 2012
  3. Soham MehtaJan 11, 2012
  4. Jonathan NiederJan 11, 2012

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.