Re: git update-ref --stdin : too many open files

2014-12-29 Thread Stefan Beller
On Sun, Dec 28, 2014 at 5:28 PM, Michael Haggerty mhag...@alum.mit.edu wrote: I'm doing some work in this area, so I should be able to work on the bugfix in the not-too-distant future. My feeling is that the bug is unlikely to affect many current users, though it definitely should be fixed

Re: git update-ref --stdin : too many open files

2014-12-28 Thread Michael Haggerty
On 12/24/2014 03:11 AM, Stefan Beller wrote: On 22.12.2014 13:22, Junio C Hamano wrote: Loic Dachary l...@dachary.org writes: Hi, Steps to reproduce: $ git --version git version 1.9.1 $ wc -l /tmp/1 9090 /tmp/1 $ head /tmp/1 delete refs/pull/1/head create refs/heads/pull/1

Re: git update-ref --stdin : too many open files

2014-12-23 Thread Junio C Hamano
Stefan Beller stefanbel...@gmail.com writes: Sounds reasonable. Though by closing the file we're giving up again a bit of safety. If we close the file everyone could tamper with the lock file. (Sure they are not supposed to touch it, but they could) There are locking primitives (SysV

Re: git update-ref --stdin : too many open files

2014-12-23 Thread Stefan Beller
On 22.12.2014 13:22, Junio C Hamano wrote: Loic Dachary l...@dachary.org writes: Hi, Steps to reproduce: $ git --version git version 1.9.1 $ wc -l /tmp/1 9090 /tmp/1 $ head /tmp/1 delete refs/pull/1/head create refs/heads/pull/1 86b715f346e52920ca7c9dfe65424eb9946ebd61 delete

Re: git update-ref --stdin : too many open files

2014-12-22 Thread Junio C Hamano
Loic Dachary l...@dachary.org writes: Hi, Steps to reproduce: $ git --version git version 1.9.1 $ wc -l /tmp/1 9090 /tmp/1 $ head /tmp/1 delete refs/pull/1/head create refs/heads/pull/1 86b715f346e52920ca7c9dfe65424eb9946ebd61 delete refs/pull/1/merge create refs/merges/1

Re: git update-ref --stdin : too many open files

2014-12-22 Thread Stefan Beller
On 22.12.2014 13:22, Junio C Hamano wrote: Loic Dachary l...@dachary.org writes: Hi, Steps to reproduce: $ git --version git version 1.9.1 $ wc -l /tmp/1 9090 /tmp/1 $ head /tmp/1 delete refs/pull/1/head create refs/heads/pull/1 86b715f346e52920ca7c9dfe65424eb9946ebd61 delete

Re: git update-ref --stdin : too many open files

2014-12-22 Thread Jonathan Nieder
Hi Stefan, Stefan Beller wrote: On 22.12.2014 13:22, Junio C Hamano wrote: Loic Dachary l...@dachary.org writes: fatal: Unable to create /home/gitmirror/repositories/Ceph/ceph/refs/heads/pull/1917.lock': Too many open files [...] Stefan, want to take a look? I think we do need to keep

git update-ref --stdin : too many open files

2014-12-20 Thread Loic Dachary
Hi, Steps to reproduce: $ git --version git version 1.9.1 $ wc -l /tmp/1 9090 /tmp/1 $ head /tmp/1 delete refs/pull/1/head create refs/heads/pull/1 86b715f346e52920ca7c9dfe65424eb9946ebd61 delete refs/pull/1/merge create refs/merges/1 c0633abdc5311354c9729374e0ba25c97a89f69e ... $ ulimit -n 1024