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

Re: Error message: unable to open object pack directory: .git/objects/pack: Too many open files

From
Лежанкин Иван <abyss.7@gmail.com>
Date
Nov 12, 2013, 14:38 UTC
Message-ID
<CAJc7Lbqaas0Czdvcfn8+iceoyxaVSHOaV9jCJsy4mWH+AbV41Q@mail.gmail.com>
In-Reply-To
<CACsJy8BiBmeYuZ3VVyvocB969sYpdFNCOJ8GYSA2his5Vebg=g@mail.gmail.com>
I use linux.

I can't publish repo - it's proprietary, it weights ~300M unpacked, and it uses references ~3Gb. Error message doesn't contain "remote:" prefix. The majority of opened files have name like: objects/pack/pack-<hash>.[ pack | idx ] They all are from referenced repo.

I have disabled gc in the referenced repo - to prevent all local repos from breaking. May this be the cause of problem?

On 12 November 2013 18:19, Duy Nguyen <pclouds@gmail.com> wrote:
Show 12 quoted lines
> On Tue, Nov 12, 2013 at 3:02 PM, Лежанкин Иван <abyss.7@gmail.com> wrote:
>> I get this error message every time I want to do a `git push`.
>> git version: 1.8.4.2
>>
>> Is it a known issue? Do you need additional info to investigate it?
>
> What OS do you use? If the repository can be published, please do.
> Compress the whole .git directory, don't push or anything. Does the
> error message begin with "remote: "? If not you could try strace and
> at least identify what files are opened.
> --
> Duy
Previous: Duy NguyenNext: Duy Nguyen
Message 5 of 9 in “Error message: unable to open object pack directory: .git/objects/pack: Too many open files”
  1. Лежанкин ИванNov 12, 2013
  2. Konstantin KhomoutovNov 12, 2013
  3. Лежанкин ИванNov 12, 2013
  4. Duy NguyenNov 12, 2013
  5. Лежанкин ИванNov 12, 2013
  6. Duy NguyenNov 13, 2013
  7. Bryan TurnerNov 13, 2013
  8. Duy NguyenNov 13, 2013
  9. Лежанкин ИванNov 13, 2013

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.