{"thread":{"id":"35323","subject":"Error message: unable to open object pack directory: .git/objects/pack: Too many open files","startedAt":"2013-11-12T08:02:38Z","lastAt":"2013-11-13T07:00:39Z","messageCount":9,"participants":["Лежанкин Иван","Konstantin Khomoutov","Duy Nguyen","Bryan Turner"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"230483","messageId":"CAJc7LbpSgRLxj62YRb3+n9Ty=LphoGv+Ox=R-nMS+458rrjw-w@mail.gmail.com","threadId":"35323","inReplyTo":null,"subject":"Error message: unable to open object pack directory: .git/objects/pack: Too many open files","fromName":"Лежанкин Иван","fromEmail":"abyss.7@gmail.com","sentAt":"2013-11-12T08:02:38Z","receivedAt":"2013-11-12T08:02:38Z","isPatch":false,"sender":{"key":"abyss.7@gmail.com","avatar":"https://gravatar.com/avatar/7bf07a992c48466713f8d8bdb589ee968bfd768559731e349aac5889079b348e?d=mp&s=160"},"body":"I get this error message every time I want to do a `git push`.\ngit version: 1.8.4.2\n\nIs it a known issue? Do you need additional info to investigate it?\n\nIvan.\n"},{"id":"230487","messageId":"20131112133444.188c534611c4d06576ecac06@domain007.com","threadId":"35323","inReplyTo":"CAJc7LbpSgRLxj62YRb3+n9Ty=LphoGv+Ox=R-nMS+458rrjw-w@mail.gmail.com","subject":"Re: Error message: unable to open object pack directory: .git/objects/pack: Too many open files","fromName":"Konstantin Khomoutov","fromEmail":"flatworm@users.sourceforge.net","sentAt":"2013-11-12T09:34:44Z","receivedAt":"2013-11-12T09:34:44Z","isPatch":false,"sender":{"key":"flatworm@users.sourceforge.net","avatar":null},"body":"On Tue, 12 Nov 2013 12:02:38 +0400\nЛежанкин Иван  <abyss.7@gmail.com> wrote:\n\n> I get this error message every time I want to do a `git push`.\n> git version: 1.8.4.2\n> \n> Is it a known issue? Do you need additional info to investigate it?\n\nWhat does\nulimit -n\ntells to you when you run it before executing `git push`?\n"},{"id":"230486","messageId":"CAJc7Lbp=6q3GgVzeMpxtk=BN2G2VsmE8NMce32s2CXMLq-C4tA@mail.gmail.com","threadId":"35323","inReplyTo":"20131112133444.188c534611c4d06576ecac06@domain007.com","subject":"Re: Error message: unable to open object pack directory: .git/objects/pack: Too many open files","fromName":"Лежанкин Иван","fromEmail":"abyss.7@gmail.com","sentAt":"2013-11-12T09:37:35Z","receivedAt":"2013-11-12T09:37:35Z","isPatch":false,"sender":{"key":"abyss.7@gmail.com","avatar":"https://gravatar.com/avatar/7bf07a992c48466713f8d8bdb589ee968bfd768559731e349aac5889079b348e?d=mp&s=160"},"body":"1024\n\nOn 12 November 2013 13:34, Konstantin Khomoutov\n<flatworm@users.sourceforge.net> wrote:\n> On Tue, 12 Nov 2013 12:02:38 +0400\n> Лежанкин Иван  <abyss.7@gmail.com> wrote:\n>\n>> I get this error message every time I want to do a `git push`.\n>> git version: 1.8.4.2\n>>\n>> Is it a known issue? Do you need additional info to investigate it?\n>\n> What does\n> ulimit -n\n> tells to you when you run it before executing `git push`?\n"},{"id":"230489","messageId":"CACsJy8BiBmeYuZ3VVyvocB969sYpdFNCOJ8GYSA2his5Vebg=g@mail.gmail.com","threadId":"35323","inReplyTo":"CAJc7LbpSgRLxj62YRb3+n9Ty=LphoGv+Ox=R-nMS+458rrjw-w@mail.gmail.com","subject":"Re: Error message: unable to open object pack directory: .git/objects/pack: Too many open files","fromName":"Duy Nguyen","fromEmail":"pclouds@gmail.com","sentAt":"2013-11-12T14:19:02Z","receivedAt":"2013-11-12T14:19:02Z","isPatch":false,"sender":{"key":"pclouds@gmail.com","avatar":"https://avatars.githubusercontent.com/u/720?v=4"},"body":"On Tue, Nov 12, 2013 at 3:02 PM, Лежанкин Иван <abyss.7@gmail.com> wrote:\n> I get this error message every time I want to do a `git push`.\n> git version: 1.8.4.2\n>\n> Is it a known issue? Do you need additional info to investigate it?\n\nWhat OS do you use? If the repository can be published, please do.\nCompress the whole .git directory, don't push or anything. Does the\nerror message begin with \"remote: \"? If not you could try strace and\nat least identify what files are opened.\n-- \nDuy\n"},{"id":"230490","messageId":"CAJc7Lbqaas0Czdvcfn8+iceoyxaVSHOaV9jCJsy4mWH+AbV41Q@mail.gmail.com","threadId":"35323","inReplyTo":"CACsJy8BiBmeYuZ3VVyvocB969sYpdFNCOJ8GYSA2his5Vebg=g@mail.gmail.com","subject":"Re: Error message: unable to open object pack directory: .git/objects/pack: Too many open files","fromName":"Лежанкин Иван","fromEmail":"abyss.7@gmail.com","sentAt":"2013-11-12T14:38:26Z","receivedAt":"2013-11-12T14:38:26Z","isPatch":false,"sender":{"key":"abyss.7@gmail.com","avatar":"https://gravatar.com/avatar/7bf07a992c48466713f8d8bdb589ee968bfd768559731e349aac5889079b348e?d=mp&s=160"},"body":"I use linux.\n\nI can't publish repo - it's proprietary, it weights ~300M unpacked,\nand it uses references ~3Gb.\nError message doesn't contain \"remote:\" prefix.\nThe majority of opened files have name like:\nobjects/pack/pack-<hash>.[ pack | idx ]\nThey all are from referenced repo.\n\nI have disabled gc in the referenced repo - to prevent all local repos\nfrom breaking. May this be the cause of problem?\n\nOn 12 November 2013 18:19, Duy Nguyen <pclouds@gmail.com> wrote:\n> On Tue, Nov 12, 2013 at 3:02 PM, Лежанкин Иван <abyss.7@gmail.com> wrote:\n>> I get this error message every time I want to do a `git push`.\n>> git version: 1.8.4.2\n>>\n>> Is it a known issue? Do you need additional info to investigate it?\n>\n> What OS do you use? If the repository can be published, please do.\n> Compress the whole .git directory, don't push or anything. Does the\n> error message begin with \"remote: \"? If not you could try strace and\n> at least identify what files are opened.\n> --\n> Duy\n"},{"id":"230546","messageId":"CACsJy8AHjAgSFzZ2R2Nup=GcuQJdaedbGXhRpcCT6HuaaLUtaQ@mail.gmail.com","threadId":"35323","inReplyTo":"CAJc7Lbqaas0Czdvcfn8+iceoyxaVSHOaV9jCJsy4mWH+AbV41Q@mail.gmail.com","subject":"Re: Error message: unable to open object pack directory: .git/objects/pack: Too many open files","fromName":"Duy Nguyen","fromEmail":"pclouds@gmail.com","sentAt":"2013-11-13T02:48:33Z","receivedAt":"2013-11-13T02:48:33Z","isPatch":false,"sender":{"key":"pclouds@gmail.com","avatar":"https://avatars.githubusercontent.com/u/720?v=4"},"body":"On Tue, Nov 12, 2013 at 9:38 PM, Лежанкин Иван <abyss.7@gmail.com> wrote:\n> I use linux.\n>\n> I can't publish repo - it's proprietary, it weights ~300M unpacked,\n> and it uses references ~3Gb.\n> Error message doesn't contain \"remote:\" prefix.\n> The majority of opened files have name like:\n> objects/pack/pack-<hash>.[ pack | idx ]\n> They all are from referenced repo.\n\nThere's a fix related to too many open packs, 88d0db5 (sha1_file:\nintroduce close_one_pack() to close packs on fd pressure - 2013-08-01)\nbut it's only available in v1.5.0-rc0 or rc1. Could you try that\nversion?\n\n>\n> I have disabled gc in the referenced repo - to prevent all local repos\n> from breaking. May this be the cause of problem?\n>\n> On 12 November 2013 18:19, Duy Nguyen <pclouds@gmail.com> wrote:\n>> On Tue, Nov 12, 2013 at 3:02 PM, Лежанкин Иван <abyss.7@gmail.com> wrote:\n>>> I get this error message every time I want to do a `git push`.\n>>> git version: 1.8.4.2\n>>>\n>>> Is it a known issue? Do you need additional info to investigate it?\n>>\n>> What OS do you use? If the repository can be published, please do.\n>> Compress the whole .git directory, don't push or anything. Does the\n>> error message begin with \"remote: \"? If not you could try strace and\n>> at least identify what files are opened.\n>> --\n>> Duy\n\n\n\n-- \nDuy\n"},{"id":"230547","messageId":"CAGyf7-GO1x5xCN-W_K+mvYU2-HdF1Gxu15wwZW7uiGWfdZfybw@mail.gmail.com","threadId":"35323","inReplyTo":"CACsJy8AHjAgSFzZ2R2Nup=GcuQJdaedbGXhRpcCT6HuaaLUtaQ@mail.gmail.com","subject":"Re: Error message: unable to open object pack directory: .git/objects/pack: Too many open files","fromName":"Bryan Turner","fromEmail":"bturner@atlassian.com","sentAt":"2013-11-13T03:04:11Z","receivedAt":"2013-11-13T03:04:11Z","isPatch":false,"sender":{"key":"bturner@atlassian.com","avatar":"https://gravatar.com/avatar/16bcf3167981c1ef7c804e502642366d888a35b0d0b0a4ca01fdc442aa1acb1e?d=mp&s=160"},"body":"On 13 November 2013 13:48, Duy Nguyen <pclouds@gmail.com> wrote:\n> On Tue, Nov 12, 2013 at 9:38 PM, Лежанкин Иван <abyss.7@gmail.com> wrote:\n>> I use linux.\n>>\n>> I can't publish repo - it's proprietary, it weights ~300M unpacked,\n>> and it uses references ~3Gb.\n>> Error message doesn't contain \"remote:\" prefix.\n>> The majority of opened files have name like:\n>> objects/pack/pack-<hash>.[ pack | idx ]\n>> They all are from referenced repo.\n>\n> There's a fix related to too many open packs, 88d0db5 (sha1_file:\n> introduce close_one_pack() to close packs on fd pressure - 2013-08-01)\n> but it's only available in v1.5.0-rc0 or rc1. Could you try that\n> version?\n\nI believe you mean 1.8.5-rc0 or 1.8.5-rc1, is that correct?\n\n>\n>>\n>> I have disabled gc in the referenced repo - to prevent all local repos\n>> from breaking. May this be the cause of problem?\n>>\n>> On 12 November 2013 18:19, Duy Nguyen <pclouds@gmail.com> wrote:\n>>> On Tue, Nov 12, 2013 at 3:02 PM, Лежанкин Иван <abyss.7@gmail.com> wrote:\n>>>> I get this error message every time I want to do a `git push`.\n>>>> git version: 1.8.4.2\n>>>>\n>>>> Is it a known issue? Do you need additional info to investigate it?\n>>>\n>>> What OS do you use? If the repository can be published, please do.\n>>> Compress the whole .git directory, don't push or anything. Does the\n>>> error message begin with \"remote: \"? If not you could try strace and\n>>> at least identify what files are opened.\n>>> --\n>>> Duy\n>\n>\n>\n> --\n> Duy\n> --\n> To unsubscribe from this list: send the line \"unsubscribe git\" in\n> the body of a message to majordomo@vger.kernel.org\n> More majordomo info at  http://vger.kernel.org/majordomo-info.html\n"},{"id":"230548","messageId":"CACsJy8CMrA9SkeHypQnTqOtigjb_NM3A3gyLPeD_KR_P5EBtdQ@mail.gmail.com","threadId":"35323","inReplyTo":"CAGyf7-GO1x5xCN-W_K+mvYU2-HdF1Gxu15wwZW7uiGWfdZfybw@mail.gmail.com","subject":"Re: Error message: unable to open object pack directory: .git/objects/pack: Too many open files","fromName":"Duy Nguyen","fromEmail":"pclouds@gmail.com","sentAt":"2013-11-13T03:32:55Z","receivedAt":"2013-11-13T03:32:55Z","isPatch":false,"sender":{"key":"pclouds@gmail.com","avatar":"https://avatars.githubusercontent.com/u/720?v=4"},"body":"On Wed, Nov 13, 2013 at 10:04 AM, Bryan Turner <bturner@atlassian.com> wrote:\n>> but it's only available in v1.5.0-rc0 or rc1. Could you try that\n>> version?\n>\n> I believe you mean 1.8.5-rc0 or 1.8.5-rc1, is that correct?\n\nYes. Looks like my fingers are not controlled by my mind anymore.\n-- \nDuy\n"},{"id":"230554","messageId":"CAJc7Lbp4tM2a=1zNxnv=p6yjJmXZg7pLFbNs8pg-hBQd0pOFXQ@mail.gmail.com","threadId":"35323","inReplyTo":"CACsJy8CMrA9SkeHypQnTqOtigjb_NM3A3gyLPeD_KR_P5EBtdQ@mail.gmail.com","subject":"Re: Error message: unable to open object pack directory: .git/objects/pack: Too many open files","fromName":"Лежанкин Иван","fromEmail":"abyss.7@gmail.com","sentAt":"2013-11-13T07:00:39Z","receivedAt":"2013-11-13T07:00:39Z","isPatch":false,"sender":{"key":"abyss.7@gmail.com","avatar":"https://gravatar.com/avatar/7bf07a992c48466713f8d8bdb589ee968bfd768559731e349aac5889079b348e?d=mp&s=160"},"body":"I've tried your commit.\nNo more error messages.\n\nLooking forward to the next git version.\nThanks.\n\nOn 13 November 2013 07:32, Duy Nguyen <pclouds@gmail.com> wrote:\n> On Wed, Nov 13, 2013 at 10:04 AM, Bryan Turner <bturner@atlassian.com> wrote:\n>>> but it's only available in v1.5.0-rc0 or rc1. Could you try that\n>>> version?\n>>\n>> I believe you mean 1.8.5-rc0 or 1.8.5-rc1, is that correct?\n>\n> Yes. Looks like my fingers are not controlled by my mind anymore.\n> --\n> Duy\n"}]}