* git-daemon hangs in futex()
@ 2008-02-28 22:41 Johan Sørensen
2008-02-29 14:26 ` Johan Sørensen
0 siblings, 1 reply; 2+ messages in thread
From: Johan Sørensen @ 2008-02-28 22:41 UTC (permalink / raw)
To: git
Hi,
I'm having an issue with my git-daemon (1.5.4.3 on ubuntu gutsy), it
works fine for a few minutes, then it hangs (eg, "git clone git://"
never comes past "initialized empty git repo" adnd just sits and
waits) and strace on the git-daemon says:
$ strace -Ff -p 27453
Process 27453 attached - interrupt to quit
futex(0x2b270fb50980, FUTEX_WAIT, 2, NULL) = -1 EINTR (Interrupted system call)
.. and nothing more. But, if I attach to the git-daemon process with
strace before that happens, git-daemon keeps on working fine, so I can
change the outcome by observing it which is always nice, but not too
helpful.
I don't think this is related to Wincents problem some time ago[1],
because I can reproduce this when running dashed/dashless and
with/without --detach regardless of my env. Here's my git-daemon args:
/usr/local/bin/git --exec-path=/usr/local/bin daemon
--base-path=/home/git/repositories --verbose --export-all
--pid-file=/home/git/run/git-daemon.pid --detach
I'm not even sure if this is directly related to git or if it's some
other library causing the futex wait, any hints would be greatly
appreciated.
[1]: http://kerneltrap.org/mailarchive/git/2008/2/5/732214
Thanks
JS
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: git-daemon hangs in futex()
2008-02-28 22:41 git-daemon hangs in futex() Johan Sørensen
@ 2008-02-29 14:26 ` Johan Sørensen
0 siblings, 0 replies; 2+ messages in thread
From: Johan Sørensen @ 2008-02-29 14:26 UTC (permalink / raw)
To: git
On Thu, Feb 28, 2008 at 11:41 PM, Johan Sørensen
<johan@johansorensen.com> wrote:
> Hi,
>
> I'm having an issue with my git-daemon (1.5.4.3 on ubuntu gutsy), it
> works fine for a few minutes, then it hangs (eg, "git clone git://"
> never comes past "initialized empty git repo" adnd just sits and
> waits) and strace on the git-daemon says:
> $ strace -Ff -p 27453
> Process 27453 attached - interrupt to quit
> futex(0x2b270fb50980, FUTEX_WAIT, 2, NULL) = -1 EINTR (Interrupted system call)
>
> .. and nothing more. But, if I attach to the git-daemon process with
> strace before that happens, git-daemon keeps on working fine, so I can
> change the outcome by observing it which is always nice, but not too
> helpful.
Upon further investigation, it seems that this could be related to me
updating glibc to 2.6.1. Google suggest that it can because libc
switched to NPTL. I'm not familiar with the internals of it, so I
can't decide if this is a git issue (by indirect usage of glibc
functions) or not?
Thanks
JS
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-02-29 14:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-28 22:41 git-daemon hangs in futex() Johan Sørensen
2008-02-29 14:26 ` Johan Sørensen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).