threads / discuss / 43545

Hanging fetches

Subject: Hanging fetches

## tl;dr

One message between Oct 25, 2006 and Oct 25, 2006.

replies: 0people: 1as markdown or json

Petr Baudis· Oct 25, 2006, 16:25 UTC · lore
  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

← back to recent threads