{"thread":{"id":"43545","subject":"Hanging fetches","startedAt":"2006-10-25T16:25:56Z","lastAt":"2006-10-25T16:25:56Z","messageCount":1,"participants":["Petr Baudis"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"295409","messageId":"20061025162556.GL20017@pasky.or.cz","threadId":"43545","inReplyTo":null,"subject":"Hanging fetches","fromName":"Petr Baudis","fromEmail":"pasky@suse.cz","sentAt":"2006-10-25T16:25:56Z","receivedAt":"2006-10-25T16:25:56Z","isPatch":false,"sender":{"key":"pasky@ucw.cz","avatar":"https://avatars.githubusercontent.com/u/18439?v=4"},"body":"  Hi,\n\n  due to the problem with kernel.org, I have a somewhat ugly situation\non repo.or.cz now:\n\nroot     16370  0.0  0.0  2112  732 ?        S    16:47   0:00  \\_ /USR/SBIN/CRON\nrepo     16371  0.0  0.0  2776 1236 ?        Ss   16:47   0:00      \\_ /bin/bash /home/repo/repomgr/updatecheck.sh\nrepo     16377  0.0  0.0  2776  648 ?        S    16:47   0:00          \\_ /bin/bash /home/repo/repomgr/updatecheck.sh\nrepo     17685  0.0  0.0  2780 1252 ?        S    16:47   0:00              \\_ /bin/bash /home/repo/repomgr/update.sh linux-2.6\nrepo     17689  0.0  0.0  2872 1372 ?        S    16:47   0:00                  \\_ /bin/sh /home/pasky/bin/git-fetch -f -u -k --mirror-all\npub/scm/linux/kernel/git/torvalds/linux-2.6.git\nrepo     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\nrepo     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\nrepo     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\nrepo     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\nrepo     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\nrepo     17718  0.0  0.0 27488  552 ?        S    16:47   0:00                          |       \\_ sort -t ? -k 2\nrepo     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\nrepo     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\n\n  It's 18:24 now and peek-remote is hanging in a read(). My question is,\nwill this *ever* time out, and when? :) Perhaps the timeouts should be\nadjusted to a more reasonable value, or implemented if they are missing\naltogether, but I'm not sure what would be the best way to go about it -\nalarm()? What value would be reasonable?\n\n  Thanks,\n\n-- \n\t\t\t\tPetr \"Pasky\" Baudis\nStuff: http://pasky.or.cz/\n#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj\n$/=unpack('H*',$_);$_=`echo 16dio\\U$k\"SK$/SM$n\\EsN0p[lN*1\n"}]}