Thread (4 messages) flat view 4 messages, 2 authors, 2016-06-15

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

From: Soham Mehta <hidden>
Date: 2016-06-15 22:52:46

On Tue, Jan 10, 2012 at 7:09 PM, Jonathan Nieder [off-list ref] wrote:
Hi,

Soham Mehta wrote:
quoted
*"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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help