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 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 before sb/atomic-p

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 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/he

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 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 >> dele

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

2014-12-23 Thread Junio C Hamano
Stefan Beller 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 mandatory locking) that requ

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 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 the

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 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 >> dele

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

2014-12-22 Thread Junio C Hamano
Loic Dachary 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 c0633abdc531135

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