Hi Pablo,
On Wed, Mar 23, 2011 at 01:03:42AM +0100, Pablo Neira Ayuso wrote:
openbsc$ git pull remote: Counting objects: 197, done. remote: Compressing objects: 100% (79/79), done. remote: Total 164 (delta 132), reused 104 (delta 85) fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed
Could you check what's wrong with this?
I've wasted about half a day on this yesterday, without any solution.
It seems like it is a race condition in the git server. If you retry your pull something like 5-10 times, it will succeed once.
I've tried with latest git.git on the server. I've tried strace and ltrace on git-daemon, which only got me as far as the daemon trying an fstat() after a close() on fd 1, which will obviosuly fail with -EBADF.
I'm really at a loss here...
Regards, Harald
On 03/23/2011 08:48 AM, Harald Welte wrote:
I've tried with latest git.git on the server. I've tried strace and ltrace on git-daemon, which only got me as far as the daemon trying an fstat() after a close() on fd 1, which will obviosuly fail with -EBADF.
I'm really at a loss here...
do you (have a cron job to) repack the repositories? At openmoko we were seeing such failures due mmap failing (IIRC) on too many objects.
regards holger
On Wed, Mar 23, 2011 at 11:16:37AM +0100, Holger Hans Peter Freyther wrote:
On 03/23/2011 08:48 AM, Harald Welte wrote:
I've tried with latest git.git on the server. I've tried strace and ltrace on git-daemon, which only got me as far as the daemon trying an fstat() after a close() on fd 1, which will obviosuly fail with -EBADF.
I'm really at a loss here...
do you (have a cron job to) repack the repositories? At openmoko we were seeing such failures due mmap failing (IIRC) on too many objects.
i've already doen repack and fsck without success. There also is no mmap failure in the strace/ltrace.