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

Hanging fetches

From
Petr Baudis <pasky@suse.cz>
Date
Oct 25, 2006, 16:25 UTC
Message-ID
<20061025162556.GL20017@pasky.or.cz>
  Hi,
  due to the problem with kernel.org, I have a somewhat ugly situation
on repo.or.cz now:

root 16370 0.0 0.0 2112 732 ? S 16:47 0:00 \_ /USR/SBIN/CRON repo 16371 0.0 0.0 2776 1236 ? Ss 16:47 0:00 \_ /bin/bash /home/repo/repomgr/updatecheck.sh repo 16377 0.0 0.0 2776 648 ? S 16:47 0:00 \_ /bin/bash /home/repo/repomgr/updatecheck.sh repo 17685 0.0 0.0 2780 1252 ? S 16:47 0:00 \_ /bin/bash /home/repo/repomgr/update.sh linux-2.6 repo 17689 0.0 0.0 2872 1372 ? S 16:47 0:00 \_ /bin/sh /home/pasky/bin/git-fetch -f -u -k --mirror-all pub/scm/linux/kernel/git/torvalds/linux-2.6.git repo 17702 0.0 0.0 2872 720 ? S 16:47 0:00 \_ /bin/sh /home/pasky/bin/git-fetch -f -u -k --mirror-org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git repo 17703 0.0 0.0 2872 644 ? S 16:47 0:00 \_ /bin/sh /home/pasky/bin/git-fetch -f -u -k --mirnel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git repo 17704 0.0 0.0 2836 1328 ? S 16:47 0:00 | \_ /bin/sh /home/pasky/bin/git-ls-remote git://m/linux/kernel/git/torvalds/linux-2.6.git repo 17716 0.0 0.0 2836 616 ? S 16:47 0:00 | \_ /bin/sh /home/pasky/bin/git-ls-remote gib/scm/linux/kernel/git/torvalds/linux-2.6.git repo 17717 0.0 0.0 2956 940 ? S 16:47 0:00 | | \_ git-peek-remote git //git.kernel.org/git/torvalds/linux-2.6.git repo 17718 0.0 0.0 27488 552 ? S 16:47 0:00 | \_ sort -t ? -k 2 repo 17719 0.0 0.0 2836 592 ? S 16:47 0:00 | \_ /bin/sh /home/pasky/bin/git-ls-remote gib/scm/linux/kernel/git/torvalds/linux-2.6.git repo 17705 0.0 0.0 2872 628 ? S 16:47 0:00 \_ /bin/sh /home/pasky/bin/git-fetch -f -u -k --mirnel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git

  It's 18:24 now and peek-remote is hanging in a read(). My question is,
will this *ever* time out, and when? :) Perhaps the timeouts should be
adjusted to a more reasonable value, or implemented if they are missing
altogether, but I'm not sure what would be the best way to go about it -
alarm()? What value would be reasonable?
  Thanks,
-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
Message 1 of 1 in “Hanging fetches”
  1. Petr BaudisOct 25, 2006

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.