git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git-daemon hangs in futex()

From
Johan Sørensen <johan@johansorensen.com>
Date
Feb 29, 2008, 14:26 UTC
Message-ID
<9e0f31700802290626o22ffea7bj6a2410a860f75b1b@mail.gmail.com>
In-Reply-To
<9e0f31700802281441i33120d70s43ca9f4eced6b5c3@mail.gmail.com>

On Thu, Feb 28, 2008 at 11:41 PM, Johan Sørensen <johan@johansorensen.com> wrote:

Show 14 quoted lines
> 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

Previous: Johan Sørensen
Message 2 of 2 in “git-daemon hangs in futex()”
  1. Johan SørensenFeb 28, 2008
  2. Johan SørensenFeb 29, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.